3 ms·
I agree, there seems to be a bit of handwaving over whether this is something that is designed for existing android games or whether you are supposed to be deve
by jiggy2011 14y ago
I agree, there seems to be a bit of handwaving over whether this is something that is designed for existing android games or whether you are supposed to be developing new ones for this.
I'm not a games programmer , but I would certainly be interested in building a small simple game for this and having at least a demo ready for the console launch.
It's interesting that you mention LibGDX as something that could work well here. Let's say I want to build a game that is designed around joypad control would my best bet be to build a game with LibGDX using the lwjgl backend (for PC) and plug in an xbox pad to test the gameplay? What about testing performance?
Slightly OT: LibGDX seems to have relatively scant documentation in terms of examples of significant working code so it is difficult for me to think about how to best structure the code for the engine. Are there any books that cover this specific to LibGDX? I can't find any.
- badlogic 14y agoHope this helps http://libgdx.badlogicgames.com/documentation.html http://libgdx.badlogicgames.com/documentation.html there are quite a few demo games we have in the repo, tests as well as third party oss games you can look at.
- jiggy2011 14y agoI've seen that page before , but didn't notice the code repos listed there. Thanks.
- eropple 14y agolibgdx is extensively javadoc'd, but best-practices materials are pretty weak. It's something I'd like to contribute to at some point, but I'd like to get my own stuff going first. The bigger issue right now, as far as libgdx on Ouya would be, is that libgdx doesn't support controllers yet. But badlogic (who also replied to you--he's the main dev behind libgdx) seems to have some ideas on that one. I wanted to start in on writing a gamepad extension to their input system last night, but pulling down a clone with git-svn took most of an hour and I ran out of time. =)
- jiggy2011 14y agoYes, best practises were more what I was looking for especially since I'm a noob at gamedev. Having lots of code samples does help to address that however. One thing I noticed when comparing libGDX to XNA was that the basic game framework that you can extend from in XNA has 2 "tick" methods in it's main class, update() and render() (or something to that effect). Also the Java library "slick2D" follows this convention. This makes it simple to seperate out rendering code from logic updating code. LibGDX on the other hand only provides a render() method which confused me a little. Should my render() method be handling logic updates? Should it call another method that does, but check time deltas on each loop to decide whether it should run, or should game logic happen in it's own thread?
- badlogic 14y agomoat people put their logic updates in render, others have a separate thread. we don't want to force any architecure on anyone as libgdx is a framework, not an engine. this is getting way to off-topic. i suggest you register at our forums where you can get input from lots of knowledgeable people on such matters :)
- badlogic 14y agowe have an external svn reference in core to table layout, something git doesn't support. your best bet is to check out libgdx from svn to et the externals. it definitely does build, otherwise jenkins would scream at me all the time :)
- eropple 14y agoThat's good to know, and I'm really trying not to look a gift horse in the mouth because libgdx is awesome, but you should probably know that saying "use SVN" is really close to saying "don't contribute to my project." libgdx is literally the only project I use that uses SVN and I almost didn't use it because SVN makes hacking on code viciously unpleasant.
- badlogic 14y ago