A libGDX project generated with gdx-liftoff.
Run multiple Libgdx demos without the overhead and hassle creating an entirely new project for each concept involves.
Multi-Tool embeds Libgdx into a Swing Canvas/GUI that will allow you to easily create and run new demos, view code, and interface Libgdx code with Swing interface.
TODO: Ditch the Swing frontend and attempt integration with JavaFX for a snappier interfcae and more modern look.
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:
--continue: when using this flag, errors will not stop the tasks from running.--daemon: thanks to this flag, Gradle daemon will be used to run chosen tasks.--offline: when using this flag, cached dependency archives will be used.--refresh-dependencies: this flag forces validation of all dependencies. Useful for snapshot versions.build: builds sources and archives of every project.cleanEclipse: removes Eclipse project data.cleanIdea: removes IntelliJ project data.clean: removesbuildfolders, which store compiled classes and built archives.eclipse: generates Eclipse project data.idea: generates IntelliJ project data.lwjgl2:jar: builds application's runnable jar, which can be found atlwjgl2/build/libs.lwjgl2:run: starts the application.test: runs unit tests (if any).
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.