/libgdx

Desktop/Android/HTML5/iOS Java game development framework

Primary LanguageJavaApache License 2.0Apache-2.0

Libgdx

Libgdx is a cross-platform Java game development framework based on OpenGL (ES) that works on Windows, Linux, Mac OS X, Android, your WebGL enabled browser and iOS.

Learn how to contribute

The Libgdx Official Site hosts downloads, documentation and contains useful links

The community-maintained wiki hosted at Google Code will explain much of Libgdx

Use the Badlogic Forum to ask questions about Libgdx

Follow the Badlogic Blog for the latest Libgdx news

Use the Issue Tracker to post concrete bug reports (with a pull request if possible)

Chat with us on IRC at irc.freenode.net, #libgdx

Follow @badlogicgames on Twitter

Compiling the Code

Be sure to understand the prerequisites required for Libgdx.

See Running Demos & Tests for instructions on getting the basics working with the source tree.

See the Source Building wiki page for instructions on building native code and building distribution images.

You do not have to compile Libgdx, you can download official releases and nightly build snapshots from libgdx.badlogicgames.com.

Libgdx Usage Examples

There are a number of example games included in the source. Some of them include:

  • metagun
  • superjumper
  • gdx-vertorpinball
  • rtm
  • very angry robots
  • pax-britannica

To see how to use libgdx you can either go to the wiki (which has plenty of good information) or read through these example projects. The test cases in tests/gdx-tests/ are another good source of sample code. Once again, if you get stuck just drop in to the friendly forums.