Day 4: Parallax Background
Development time: 2 hours
I thought some more about the parallax background concept and decided to have three layers: layer 1 would be more larger and more diffuse stars in the distance moving at a slow speed; layer 2 would be medium sized stars slightly more in focus moving at a medium speed, and layer 3 would be random stars moving at random speeds. The combination of the three layers should be enough for an interesting effect.
I created the first two layers in Adobe Fireworks, and then added code for all three layers to scenes/menu.lua. I coded up all three layers and tested it out. Playing around with the numbers led to settling on 40 random stars for the third layer. Once I was happy with the look, I moved all of the code into a separate file libraries/starfield.lua so that it could easily be re-used from within other scenes that needed the background.
Next: Day 5
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 6: Audio, Energy BarSep 25, 2017
- Day 5: Explosions, Asteroid Size, ControlsSep 25, 2017
Leave a comment
Log in with itch.io to leave a comment.