libGDX is used as an extension to your current IDE to make game programming across different formats available. Your are able to code your game in Java, but it will export the game to iOS, HTML, Desktop, and Android. An amazing feature of the desktop mode is for very fast testing of the program without having to worry about loading it onto a phone (though you still should to make sure everything works on different platforms). However without further ado, lets get to the important stuff. This series of blog post will be about using libGDX, and I hopefully will be able to cover a vast array of different tutorials to help.
You may start this journey by downloading first Android Studio if you do not already have it here:
https://developer.android.com/sdk/index.html
You may then download the libGDX set-up file from here:
http://libgdx.badlogicgames.com/download.html
After download libGDX you are prompted with creating your first game file. You may name you file anything that you wish, you do not have to name it “Adlermac”. You then can edit the package class how you wish, but generly you may do something like “com.mywebsiteifihaveone.gamename” and then finally the Game Class is the name of the first executed Java Class. Your destiniation is the save location, and Android SDK is where the SDK was downloaded onto your computer (your location and mine might be different!). The subprojects are by default all selected and you might as well keep them that way, it doesnt hurt to have them. Finally, the extensions are optional you will not need any for any of the soon to be tutorials for a long time. (My project I plan on coding afterwards will just happen to need these.) So in essence, here is a screenshot of setting up your first project:
It will then create the gradle file that you are able to open up into an exisiting IDE. For android development I use Android Studio as their gradle support at this time is the best. Once imported, your project should appear as such:
And thus, you have now created you first project, now it will be time to do something with it..