|
Project Information
Members
Featured
Downloads
Wiki pages
Links
|
Forum Blog Twitter User Wiki Java DocsWhat is libgdx?The libgdx project is a cross-platform game development library written in Java with some JNI code for performance hungry sections. It abstracts away the differences between writing desktop and Android games based on OpenGL. Applications can be prototyped and developed entirely on the desktop, then only 6 lines of code are needed to run your app on Android. Develop more efficiently using powerful desktop tools such as HotSwap, without needing to wait for your application to be deployed to a device each time it is run. DownloadYou can get the latest releases directly here on Google Code. For more cutting edge featuers and bug fixes you can (and should) use the nightlies at http://libgdx.badlogicgames.com/nightlies/ Getting StartedFor a quick start we suggest to watch this silly introduction to libgdx to get you up and running. Follow the annotations in the video for more introductionary material!
Demos & TestsWe have a metric ton of demo games and test examples available in our SVN repository (and Git mirror). Browse through the sources and test them out directly in Eclipse. Here's how you do that. Getting and Importing the Sources
Congratulations, you are now working with the source of libgdx! Running the Test ExamplesThe test examples are contained in the gdx-tests project. This project only contains the source code. To actually start the tests on the desktop you have to run the JoglTestStarter class, contained in the gdx-tests-jogl project, or the LwjglTestStarter class, contained in the gdx-tests-lwjgl project. To run the tests on Android simply fire up the gdx-tests-android project in the emulator or on a connected device!
Running the Demo GamesThere are 6 demo games for you to inspect, dissect and improve:
For each of these projects there's one main project containing the actual game code and desktop starter class (e.g. metagun, gdx-invaders, etc.) and another project containing the Android starter class (e.g. metagun-android, gdx-invaders-android, etc.). To run the demo games proceed as in the case of the test examples. Java DocsWe have super awesome, complete Java Docs for all things libgdx. These come with every release and nightly build (see the docs folder) and can be looked at online as well! Note that the online version is directly fetched from the trunk each day. If you use an older build of libgdx, refer to the documentation contained in the zip file. |