A Zip file with desktop demos and a simple bootstrap project can be downloaded from Github to get started with the gdx2d
library quickly.
You can also download and run the gdx2d-demoDesktop-1.2.2.jar
file to see the latest demos programs on your PC (no development environment is required):
Download the gdx2d-1.2.2-students.zip
file, then import the two project in you Eclipse workspace (using the File->Import...->Existing Projects into Workspace
menu in Eclipse then Select archive file:
):
The gdx2d-demoDesktop
contains several program examples you can run on your PC. All the source code of the demo programs are provided. Select and run the main Java file gdx2d-demoDesktop/src/ch/hevs/gdx2d/demos/DemoSelector.java
to display the demo selector window, or select the demo you are interested in and launch it from Eclipse.
The gdx2d-helloDesktop
project is a simple project you can use as a base to start coding with the gdx2d
library. Select and launch the HelloWorld.java
file to see your first program:
Advanced user can also use Maven or Gradle based projects to get started with the gdx2d
library on desktop.
gdx2d-desktop
as a dependency in your pom.xml
:gdx2d-desktop
to the dependencies section in your build.gradle
:More information are available on this page.
Development / snapshots versions of the gdx2d
library can be downloaded from the Sonatype snapshots repository.
It is also possible to build the library from sources using Maven. Please have a look at this page for the details.