Your browser does not support the canvas tag.

processing_assignment

Source code: processing_assignment

Built with Processing and Processing.js

Instructions:

Prevent the enemies from reaching the bottom of the screen!
Each time an enemy reaches the bottom of the screen, your health reduces by 10.
Each time you shoot down an enemy, your health increases by 1.

Use the number keys to select levels:
Level '1' = 5 enemies
Level '2' = 10 enemies
Level '3' = 15 enemies

Use the keys 'A' and 'D' to move the Spaceship left and right.
Use the mouse to aim at enemies.
LEFT mouseclick = BULLETS
RIGHT mouseclick = LASER