Day 6: Audio, Energy Bar
Development time: 1.5 hours
I opened all of the background audio tracks in Audacity and reduced the volume, they were all pretty loud for background music. I exported the new mp3 files at constant bitrate of 128 kbps, which is sufficient for a game background track. On average the new audio files went down to 50% of their original size.
I added a move() command to libraries/starfield.lua and call it from scenes/game.lua whenever the player ship is moving, creating the effect of the stars moving opposite to the movement of the ship. I think it makes the game look more interesting.
I created a new energy bar at the bottom of the screen and made it go down with each tick of the game. Firing the ship laser also uses the ship's energy and makes the energy bar go down. When the energy bar reaches zero, the ship explodes. So far there is no way to earn more energy - it can only go down.
Next: Day 7
Get Asteroid Blasteroid
Asteroid Blasteroid
Simple shmup with a space theme
Status | Released |
Author | Prairiewest |
Genre | Shooter |
Tags | android, corona, Game Jam, ios, Shoot 'Em Up, Space |
Languages | English |
More posts
- Post Project ThoughtsSep 28, 2017
- Day 13: Control ChoiceSep 26, 2017
- Day 12: Device ControlsSep 25, 2017
- Day 11: Enemy Behaviours, Shields, CreditsSep 25, 2017
- Day 10: High Score NamesSep 25, 2017
- Day 9: Adding EnemiesSep 25, 2017
- Day 8: Animations and UISep 25, 2017
- Day 7: Energy CrystalsSep 25, 2017
- Day 5: Explosions, Asteroid Size, ControlsSep 25, 2017
Leave a comment
Log in with itch.io to leave a comment.