Week 3 - Amy


My approach to the week was to create a sense of urgency when playing so I added the health bar I had planned in my initial brainstorm.
As of right now you lose health when two asteroids collide. It takes 3 hit to down the players, but with two asteroids colliding the damage is actually set at 0.5 so that it equals 1 HP taken away when they collide, I’m not sure how to make so when they collide it’s one account of colliding not two. I also made an explosion animation in aim to highlight when they collide but it’s unused right now.
For replayability, I added a score and a highscore. score += 1 in the script but same problem with health, it gives double so in the game you actually get two points. Highscore is shown at the end when you die.
Game Over panel is called on death and the game freezes, and I have a restart button. In future I would like this panel to display more information about your game e.g. the time you lasted.
Current problems:
- UI layering off.
- Asteroids colliding on spawn or when they leave the screen.
- Asteroids colliding give the player points.
Leave a comment
Log in with itch.io to leave a comment.