A libGDX project generated with gdx-liftoff.
This template contains the fundamentals package which comes packed with a ton of time-saving code for:
- Asset management
- Screen management
- Game object organization
- Game logic organization
- Rendering pipeline
- Input handling
- Various useful utils
- And much more
core
: Main module with the application logic shared by all platforms.lwjgl3
: Primary desktop platform using LWJGL3.android
: Android mobile platform. Needs Android SDK.html
: Web platform using GWT and WebGL. Supports only Java projects.
This project uses Gradle to manage dependencies.
The Gradle wrapper was included, so you can run Gradle tasks using gradlew.bat
or ./gradlew
commands.
Useful Gradle tasks and flags:
build
: builds sources and archives of every project.clean
: removesbuild
folders, which store compiled classes and built archives.html:dist
: compiles GWT sources. The compiled application can be found athtml/build/dist
: you can use any HTTP server to deploy it.html:superDev
: compiles GWT sources and runs the application in SuperDev mode. It will be available at localhost:8080/html. Use only during development.lwjgl3:jar
: builds application's runnable jar, which can be found atlwjgl3/build/libs
.lwjgl3:run
: starts the application.
Note that most tasks that are not specific to a single project can be run with name:
prefix, where the name
should be replaced with the ID of a specific project.
For example, core:clean
removes build
folder only from the core
project.