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:


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.

If you want to contribute to the code base of libGDX, please review our contributing guidelines. After that, you need to get libGDX set up on your local machine. Instructions for that can be found here.