• Stars
    star
    473
  • Rank 92,832 (Top 2 %)
  • Language
    Kotlin
  • License
    Apache License 2.0
  • Created over 5 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A modern setup tool for libGDX Gradle projects

Build status

🚀 gdx-liftoff 🚀

A setup tool for libGDX Gradle projects.

Screenshot of gdx-liftoff

📥 DOWNLOAD 📥

To generate a project, download the latest application jar and run it (usually double-clicking will do), or run the following command manually (replacing the VERSION appropriately):

java -jar gdx-liftoff-VERSION.jar

Features

In addition to most features of the official gdx-setup, the gdx-liffoff tool offers:

  • Project templates. You can choose one of many project skeletons highlighting various libGDX features.
  • Input validation. Your project data is validated as you type it in.
  • Other JVM languages support. You can choose additional languages for your project, like Kotlin or Scala, Their standard libraries, Gradle plugins, and appropriate source folders will be included.
  • Customization. You have more control over the versions of software used by your application.
  • More third-party extensions. Their versions are fetched from Maven Central or JitPack, so your project is always up-to-date.
  • Automatic configuration for tricky extensions. If you're having trouble setting up Artemis-ODB, Lombok, or several other libraries, Liftoff does some extra work, so you don't have to.
  • Preferences support. Basic data of your application is saved, so you don't have to fill it each time you generate a project.
  • Optional Gradle runner. You can optionally execute Gradle tasks after project generation. Gradle doesn't have to run for a project to be created.
  • Supports all libGDX backends. Do you need the LWJGL2, LWJGL3, and/or Headless backends? Liftoff provides simple checkboxes to add any and all official platforms, plus some special other modules.
  • Convenience features. If you have JetBrains Toolbox, you can open a just-generated project in IDEA with one click (it needs "Generate Shell Scripts" set in Toolbox). If you use Eclipse, you can still import Gradle projects normally.
  • Up-to-date. This project prides itself on updating quickly when major external components update, such as Gradle or libGDX itself.

What's more, there are no major structural differences between any generated projects, regardless of the platforms you initially used. The official gdx-setup previously put assets in the android module, or the core module if Android is not selected. If you don't start with the Android platform, adding it to an existing project would require modification of the Gradle scripts. To avoid this issue, gdx-liftoff puts assets in the root folder. Adding a new platform to an existing application never forces you to modify any of the other modules. It should be noted that this feature was brought recently into gdx-setup in part because it worked in gdx-liftoff first.

Guide

For more details on how to use the application and how it works, see the usage guide. If you would like to contribute to the project, you might find the architecture document helpful.

When submitting a pull request, please format the application with the ktlintFormat Gradle task.

Credits

The project was forked from the czyzby/gdx-setup repository. @czyzby and @kotcrab have created the original application, as well as a set of libraries that it depends on (gdx-lml and VisUI respectively). Since then, the project is maintained by @tommyettinger.

@raeleus created the Particle Park skin for scene2d.ui, which was adapted to be the default skin added to new projects (if the "Generate UI Assets" option is selected). "Accademia di Belle Arti di Urbino and students of MA course of Visual design" has created the Titillium Web font that the skin uses (under SIL OFL license).

Other project contributors include @Mr00Anderson, @lyze237, @metaphore, and @payne911. People who haven't directly contributed code have still helped a lot by spending their time to test on platforms like macOS and iOS; @JojoIce is one of several people who made a difference regarding iOS. And of course, many thanks go to all the early adopters for putting up with any partially-working releases early on!


Good luck, and we hope you make something great!

More Repositories

1

libgdx

Desktop/Android/HTML5/iOS Java game development framework
Java
22,571
star
2

packr

Packages your JAR, assets and a JVM for distribution on Windows, Linux and Mac OS X
C
2,524
star
3

gdx-ai

Artificial Intelligence framework for games based on libGDX or not. Features: Steering Behaviors, Formation Motion, Pathfinding, Behavior Trees and Finite State Machines
Java
1,152
star
4

ashley

A Java entity system inspired by Ash & Artemis.
Java
839
star
5

fbx-conv

Command line utility using the FBX SDK to convert FBX/Collada/Obj files to a custom text/binary format for static, keyframed and skinned meshes.
C
442
star
6

libgdx-demo-superjumper

Libgdx demo - super jumper
Java
260
star
7

box2dlights

Fork of box2dlights by Kalle Hamalainen
Java
251
star
8

gdx-pay

A libGDX cross-platform API for InApp purchasing.
Java
221
star
9

gdx-video

A libGDX cross platform video rendering extension
Java
139
star
10

libgdx-demo-cuboc

Libgdx demo - cuboc
Java
121
star
11

libgdx-demo-pax-britannica

Libgdx demo - pax britannica
Java
113
star
12

libgdx-demo-invaders

Libgdx demo - invaders
Java
70
star
13

libgdx-gradle-template

Gradle template for libgdx projects that hopefully works on the CLI, Eclipse, Netbeans and Intellij IDEA
Shell
69
star
14

gdx-controllers

A libGDX cross platform game controllers extension
Java
65
star
15

libgdx.github.io

Github hosted site for libGDX
HTML
62
star
16

gdx-jnigen

jnigen is a small library that can be used with or without libGDX which allows C/C++ code to be written inline with Java source code.
Java
59
star
17

libgdx-demo-vector-pinball

Libgdx demo - vector pinball
Java
58
star
18

gdx-realsense

RealSense support for libGDX
C++
53
star
19

libgdx-maven-archetype

Libgdx Maven archetype, largely based on the PlayN archetype
Java
50
star
20

gdx-particle-editor

The official particle editor for libGDX.
Java
39
star
21

libgdx-demo-metagun

Libgdx demo - metagun
Java
35
star
22

libgdx-skins

Community submitted Scene2D UI Skins
Java
29
star
23

libgdx-demo-very-angry-robots

Libgdx demo - very angry robots
Java
16
star
24

gdx-box2d

The libGDX Box2D Wrapper Extension
C++
13
star
25

libgdx-workshop

Java
12
star
26

libgdx-site

libgdx site
HTML
9
star
27

libgdx-old-setup-ui

Old, Eclipse-only setup UI. Not maintained, but available from libgdx.badlogicgames.com/downloads/gdx-setup-ui.jar
8
star
28

jlayer-gdx

Jlayer modified version for use by libgdx
Java
6
star
29

gdx-pay-example

Example app for gdx-pay
Java
5
star
30

gdx-angle-natives

GitHub workflows to build ANGLE desktop natives and publish them to Maven Central as a fat jar.
4
star
31

gdx-liftoff-demo

A sample project automatically-generated by gdx-liftoff
Java
1
star