Archived & Replaced! ("Blank Indigo Game Template for sbt")
Please use the Indigo g8 template.
The Mill version of this template is still being kept up to date until an equivalent g8 template is produced.
A template and aid to memory to bootstrap your game.
Everything is referred to as "my game", you'll need to replace those values with the name of your game.
There are three source classes, one for each project type. The sandbox one is active while the others are commented out, you should remove whichever you don't need.
Running the game
The easiest way to run the game is with the following command:
Unlike the instructions below, you should use SBT's own shell (just type
sbtat the command line) because it's much faster.
Which will generate output similar to:
> sbt buildGame [info] welcome to sbt 1.3.13 (AdoptOpenJdk Java 1.8.0_202) (...) dirPath: /Users/(...)/blank-indigo-sbt/target/indigoBuild Copying assets... /Users/(...)/blank-indigo-sbt/target/indigoBuild/index.html [success] Total time: 0 s, completed Jun 13, 2020 10:23:57 PM
- Navigate to http://127.0.0.1:8080/ in your browser of choice.