News for hackers. Stuff that matters.
Re:Ouya Breaks Kickstarter Records by eropple on Wednesday July 11, 2012 @05:11PM (#4231516)
libgdx 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. =)

Re:Ouya Breaks Kickstarter Records by jiggy2011 on Wednesday July 11, 2012 @05:27PM (#4231592)
Yes, 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?

Re:Ouya Breaks Kickstarter Records by badlogic on Wednesday July 11, 2012 @06:17PM (#4231766)
moat 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 :)
Re:Ouya Breaks Kickstarter Records by badlogic on Wednesday July 11, 2012 @06:13PM (#4231760)
we 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 :)

Re:Ouya Breaks Kickstarter Records by eropple on Wednesday July 11, 2012 @07:54PM (#4232109)
That'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.
Re:Ouya Breaks Kickstarter Records by badlogic on Wednesday July 11, 2012 @08:17PM (#4232181)
Massive amount of edits on your end, not sure what i'm replying to. Glad the middlefinger was removed, i'm afraid i won't be availble for a SVN vs. Git war.

We have our reasons to use SVN for the time being, externals being one of them (git modules don't work for our setup), tooling support being another one. We are eager to give people commit rights, provided they follow a small set of rules.

This does not necessarily help you with your dev process of having lots of local changes that you throw away. But that's something git-svn should be able to solve.

Ping me via e-mail at contact at badlogicgames dot com.

Re:Ouya Breaks Kickstarter Records by flatline3 on Thursday July 12, 2012 @12:53AM (#4233068)
If you're that upset about a perfectly functional SCM system, you're acting like a person who is 'visciously unpleasant' to deal with.

SVN is functional, simple, and it works.

If you're doing OSS contribution right, you'll spend far more time talking and coding than you'll spend poking at SCM, and you won't be maintaining a large fork or poor hacks that upstream doesn't want to merge.

Discuss early, merge often.