Difference between revisions of "Asteroids"
From WLCS
Line 8: | Line 8: | ||
== Requirements == | == Requirements == | ||
+ | === Ship Movement === | ||
+ | * The ship should always point towards the mouse | ||
+ | * Pressing the W-key will accelerate the ship | ||
+ | * Pressing the S-key will decelerate the ship | ||
+ | === Firing Projectiles === | ||
+ | * Pressing the mouse down will fire a projectile | ||
+ | ** The projectile should disappear when it hits the edge of the screen | ||
+ | ** If the mouse is held down, then multiple projectiles (clones) should be fired | ||
+ | ** |
Revision as of 09:31, 30 May 2013
Objectives
- You will create a game that mimics gameplay of Asteroids
- The player will be able to move around using the keyboard
- The player's ship will be affected by momentum and physics
- The player will be able to fire at asteroids and break them apart
- The player will be able to aim using the mouse
- Points will be given to the player for destroying asteroids
Requirements
Ship Movement
- The ship should always point towards the mouse
- Pressing the W-key will accelerate the ship
- Pressing the S-key will decelerate the ship
Firing Projectiles
- Pressing the mouse down will fire a projectile
- The projectile should disappear when it hits the edge of the screen
- If the mouse is held down, then multiple projectiles (clones) should be fired