Brian Koponen

Programming and Tech Tips

Invaders 3D

How To Play
Move: Arrow Keys / Tap Sides
Shoot: Spacebar / Tap Middle
High Scores
1. 0
2. 0
3. 0
4. 0
5. 0
6. 0
7. 0
8. 0
9. 0
10. 0


You control the ship at the bottom of the screen. You can move left and right by using the left and right arrow keys on a keyboard, or by touching and holding the left and right sides of a touch screen. You can fire your weapon straight up by either pressing the space bar or by tapping in the middle section of a touch screen.

You get points for every enemy you hit. Enemies higher up the screen are worth more points. If you get hit by an enemy weapon, you lose a ship. The number of remaining ships is displayed in the bottom left of the screen. The game ends when you run out of ships.

Your high score is saved, so come back and try to beat it!

If you would like to see how a game like this is made, check out my tutorial series on making this Space Invaders clone.

Space Invaders Tutorial Series
Part 0 Beginner JavaScript Game Tutorial For Professional Use
Part 1 Math Classes and Game Entity Structure
Part 2 User Input
Part 3 Enemy Behavior
Part 4 Collision Detection and Projectiles
Part 5 Sprites and User Interface
Part 6 Optimization
Part 7 3D Renderer
Part 8 Events and Audio