GDX Bootstrap is an online template and source code generator for libGDX projects. Similar to the Starter Project, Gdx Bootstrap generates a new libGDX project with custom class names and these components:
- Screens: LoadingScreen, HomeScreen, GameScreen
- AssetManager
- SoundHelper
- GameConfig
- A main entry class with core components such as Camera, Viewport, Stage and SpriteBatch
- A gradle task texturePacker, which packs all image textures in a graphics/images folder using a pack.json configuration file
Out of the box, you can configure these properties with GDX Bootstrap:
- Project Name
- Package
- Main Class
- Window dimension
- World dimension
- Clear color
- Background color
See an in-depth tutorial on using GDX Bootstrap
Run the web app directly at: https://gdxbootstrap.raizensoft.com/
- Clone the repo
- Install Node.js
- Launch the Terminal, run
npm install -y
npm run dev
- Test the app at localhost:5173