Day 3: Settings, Background Music
Development time: 45 minutes (plus ~1 hour saved by copying db.lua)
I copied libraries/db.lua from Wabbit Wars and re-used the code that would save some settings in a local sqlite database. I changed the tap event handlers in the menu into touch event handlers so the object's alpha could be lowered in touch start and restored on touch end, because I like the effect. I'm still thinking about how to change the game controls.
I went on SoundCloud and found a few background tracks, all available for commercial use:
- CC-BY-3.0 https://soundcloud.com/djx-space/x-space-dream-house-music
- CC-BY-3.0 http://aries-4rce-beatz.com/chill_trap.htm
- CC-BY-3.0 https://soundcloud.com/submergedvisitor/silli-t
I also thought that the starfield should be moving, and layered for parallax effect. I read through this tutorial: Endless Scrolling Background
Next: Day 4
Get Asteroid Blasteroid
Leave a comment
Log in with itch.io to leave a comment.