|
Project Information
Featured
Downloads
Links
|
Forum Blog Twitter Wiki Java DocsProblems with ADT 17?Look here http://www.badlogicgames.com/wordpress/?p=2362 What 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 writting desktop, Android and HTML5 games based on standards like OpenGL ES/WebGL. Applications can be prototyped and developed entirely on the desktop, then only 6 lines of code are needed to run your app on Android or HTML5. Games build with libgdxCheck out our growing list of games build with libgdx here. 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/ You can also use the setup UI contributed by Aurelien Ribon which makes everything super easy. See the Project Setup wiki article on how to use it. Download Gdx Setup UIGetting 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. |