O'Reilly logo

Libgdx Cross-platform Game Development Cookbook by Alberto Cejas Sánchez, David Saltares Márquez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working from sources

Libgdx is truly awesome and it will probably suit your needs perfectly. However, some people might need extra behavior or a slightly different API.

The first thing you should try is to add the desired functionality on top of an official stable Libgdx release. Were that to prove impossible, you would have to modify Libgdx itself to make it behave the way you want.

Throughout this recipe, you will learn how to grab Libgdx's repository, make changes to it, and use it for your game.

Getting ready

You will need a Git client to clone the Libgdx repository. We discussed that topic in the Using source control on a Libgdx project with Git recipe of Chapter 1, Diving into Libgdx.

Libgdx uses Apache Ant, which is an open source Java-based ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required