Skip to content

🎮 Starter project for libGDX. Perfect for Game Jams.

License

Notifications You must be signed in to change notification settings

halfcutdev/libgdx-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libGDX template

Starter project for libGDX featuring easy asset loading and a scaled pixel-art effect. Supports both desktop and html distributions, making it perfect for Game Jams.

To get started:

$ git clone https://github.com/halfcutdev/libgdx-template
$ cd libgdx-template
$ ./gradlew desktop:run

Building the HTML distribution

People are much more likely to play your game if they can do so in the browser. To build a HTML version of your game, go to your project root and run:

$ ./gradlew html:dist

Now go to the html/build/ directory and locate the folder called dist. Zip this up and upload it to a site like itch.io, and your game will be playable in the browser. Just remember to change the title of the web page from 'libGDX template' to the name of your game. You can do this by changing the contents of the <title> tag in html/webapp/index.html.

Note - Building a HTML dist is slow. During development, you should use ./gradlew html:superDev which allows you to debug your code directly in the browser. More information about this is available on the libGDX Wiki.


Created by halfcutdev

About

🎮 Starter project for libGDX. Perfect for Game Jams.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published