Where are all the tutorials for libGDX?

| | August 6, 2015

I’ve searched online for help and tutorials on LibGDX but I couldn’t really find any, except and the wiki for asking questions on stackexchange. Besides the source (demos) and wiki, is there any other tutorials online that’s hidden or indirect?

From what I read, there isn’t much documentation for LibGDX, so there’s only two options I see

  • Give up move to a different framework.
  • Ask people a lot of questions.

2 Responses to “Where are all the tutorials for libGDX?”

  1. Welcome to open source! As most developers will tell you: “What documentation?”. Documenting code is probably the least fun developers have when creating a project. So what do you think is often severely lacking when the developer isn’t even getting paid for their creation? Documentation of course! (Even fully paid programmers will often leave out the documentation).

    I mentioned to you before that open source isn’t “supposed” to be easy. This is one of the reasons. However, the nice thing about open source is that it’s open, so you can find out what the code is doing on your own. However this is often a lot of work.

    That being said, I took a look at the demos provided in the libgdx source, and the wiki. Libgdx is pretty well documented, considering it’s open source. I don’t think your issue is with documentation. I think you may be trying to bite off more than you can chew. From your previous questions, I understand that you’re pretty new to programming in general and brand new to the Android platform. Programming on the Android platform isn’t the easiest place to start, and programming games on the Android is even further from the mark.

    I really think you should try some 2D game programming for the PC, there are plenty of tutorials for getting started in 2D Java game programming on the PC. Once you’re more comfortable with programming in general, I think you’ll find that the resources available to you for libgdx are more than sufficient.

  2. I agree with @Byte56 that you may be better off with something a bit simpler than Android game development, however for completeness (if other people would like to know where to look):

    http://steigert.blogspot.com.au/2012/02/1-libgdx-tutorial-introduction.html

    Steps through several different aspects of development with libgdx, from setting up your project, to drawing, to GUI’s, file handling, etc.

    http://www.badlogicgames.com/wordpress/

    This is the blog from the developers, and each time a new feature is introduced, there is always a very well written, comprehensive discussion of how it works and why it is there in the first place.

    http://code.google.com/p/libgdx/source/browse/#svn%2Ftrunk%2Fdemos

    As has been mentioned, there are several demo’s you can study to see how different things are achieved (e.g. how do you integrate Box2D physics engine into your game? or how do you animate sprites?)

    http://code.google.com/p/libgdx/source/browse/#svn%2Ftrunk%2Ftests%2Fgdx-tests%2Fsrc%2Fcom%2Fbadlogic%2Fgdx%2Ftests

    In addition to the game demo’s which are shown above, I find it easier to look at the tests if there is a specific feature of libgdx I want to investigate. There is good coverage of most of the different features (e.g. sprite handling, physics, file handling, etc).

    And finally, the usuals: http://www.google.com, http://gamedev.stackexchange.com if you have very specific things you want to find out.

    I’m sure there are several other good tutorials out there, but these are the ones I stumbled across and found helpful for my recent foray into libgdx.

Leave a Reply