Game Development Reference
In-Depth Information
Creating a new application
The next step is to create a new application. Usually, you would have to create
several projects in Eclipse: one project for the shared game code, another one for the
desktop launcher, and more for the Android, iOS, and HTML5/GWT launchers.
Furthermore, the projects would also have to be configured and linked together in
a certain way. This is quite a time-consuming task and more or less an error-prone
process for inexperienced users.
Luckily, LibGDX provides tools to generate preconfigured projects for a new
application that can be directly imported into Eclipse. There are two tools to create a
LibGDX project, the latest one is using Gradle, and the old project setup tool written
by Aurelien Ribon. First, we will learn about the old setup tool and then about the
Gradle setup tool.
Using the old setup tool
The old project setup tool is an executable JAR file called
gdx-setup-ui.jar
.
Step 1
You can download the old setup tool from
https://github.com/libgdx/libgdx-
old-setup-ui
, as shown here: