Game Objective
Game Elements
The player will be a circular ship simmilar to an Ovni that will be controlled by us with the mouse. The player starts with 3 lives and must stay alive as long as possible to earn the highest possible score. The player interacts with the other elements of the game when touching them: touching an enemy will cause the loss of one life, and touching a power up will activate it.
The enemies will be balls of different sizes and colours. The balls spawn from the edges of the map in a random direction and then, they stay forever in the screen, bouncing everytime they arrive to the screen limit. We have 4 types of enemies:
- Enemy Small, which is the one that moves faster.
- Enemy Medium, wich is the standard one.
- Enemy Big, which moves slower.
- Enemy Special, which is the one that follows you all the time instead of the normal bouncing movement.
- Shoot: shoots in a random direction projectiles for an small amount of time.
- Bouncing Shoot: similar to the previous power up, but on this case the fire rate is lower and the projectiles bounce on the screen before they get destroyed after some time.
- Power up bomb: when picked, it destroys all the enemies on the screen.
- Power up bomb shield: when an enemy touches you, the shield explotes and destroy all enemies.
- Power up Shield: for some time you are invincible and can destroy balls with just touching them.
- Power up extra life: gives to the player one more life.
Game Logic
We do not have a game win condition because there is no limit when playing the game, the game ends when yoy run out of lives and the objective it's to end with the highest score possible. The lose condition it's detected when player it's destroyed, and player destroys when it do not have any remaining lives.
The power up spawning logic is simple. We will set a constant time and they will be spawning periodically on the map. Once a power up spawned in the map, it will remain there until the player picks it, so it's possible to acumulate power ups and take them when necessary.
Game Interface
Inside the game, we have the pause button, which will trigger the pause menú composed of this buttons: continue to resume the game, restart to restart the game or main menu, to go to the main menú.
Also, in the play room, we have a little hud above that displays the number of lives at top left, and the score number at top right.
When the game is lost, we have the game over menu, which shows the current score, the highest score and two buttons, one for restarting the game and another one to go to the main menu.