This is my version of Laser Defender with some extra’s:
- After 2 waves of the default enemy a new enemy is introduced, it fires faster and takes more damage.
- A health bar, which is actually just an image I’m moving in the x axis to the left, so it moves out of view. There’s probably a much better way to do a health bar so I’m looking forward to how other students approached this.
- timer based powerups, every 10 seconds a green powerup is randomly spawned. If the player catches it creates a shield on the players position that can take 5 shots of damage
- after the wave with the new enemy starts, every 20 or so seconds a red “power down” is randomly spawned. If the player catches this, the enemies firepower doubles, for now permanently.
Game webGL version is playable here: http://gamebucket.io/game/4c1fc5a4-bd02-42f9-a08c-08db23179a4d
Code is available on GitHub: https://github.com/zadda/Laser-Defender