Hot reload development flow
- Open sbt and run
~buildGame
- Spin up an http server with live reload. I use livereload. Launch this from the game source code folder:
livereload -p 9000 -t target/indigoBuild/scripts target/indigoBuild
- Open a browser, go to http://localhost:9000, open console/inspector, disable network cache
- Change some code, save files, check browser
I use peek. Recording as .mp4
requires converting it later to .gif
using ffmpeg
:
ffmpeg -i naval_combat.mp4 -vf "fps=24,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop -1 naval_combat.gif
- Simple buttons: https://adwitr.itch.io/button-asset-pack
- Ponderosa font: https://www.1001fonts.com/ponderosa-font.html