How to get started with libGDX?

libGDX offers a setup tool, which automatically creates a project and downloads everything necessary.

To get started, please take a look at our Setup Instructions page, which walks you through the process of creating your very first libGDX project using our setup tool. After that, we highly recommend our A Simple Game and Extending the Simple Game pages. If you’re completely new to game dev and have never developed a game before, this (even more straight-forward) tutorial by tann is also worth a look as an alternative.

From then on, our wiki is your best companion: it provides extensive documentation on nearly every feature offered by libGDX. For any further questions, our official Discord server is good starting point.

If you want to explore some other (third-party) tutorials or inspect some demos/other open source libGDX games for reference, this wiki article is the right place to start looking.

Documentation

The libGDX codebase is documented in two ways:

Please note that we recently took down the Javadocs hosted on libgdx.badlogicgames.com. The docs can now be found on javadoc.io.

Tools & Libraries

There are different tools and libraries that make the development process for libGDX easier. See our Tools List for some of the most commonly used tools.

A curated list of our favourite libraries can be found at Awesome-libGDX. On our Discord server we also have an extensive collection of libGDX-centered libraries that are currently work in progress.

Contributing to libGDX

Contributing to libGDX can come in a few different forms: you can report issues, help out on our Discord, pledge to the Patreon page, or submit code and documentation back to the project on GitHub. Check out the CONTRIBUTING.md file on GitHub to find out more!