Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 883 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 883 Bytes

Development tips

Hot reload development flow

  1. Open sbt and run ~buildGame
  2. 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
  1. Open a browser, go to http://localhost:9000, open console/inspector, disable network cache
  2. Change some code, save files, check browser

Random notes

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

Assets attributions