Phaser: Space Shooter Game
Introduction
The goal of this lesson is to walk you through the creation of a game inspired by Space Shooters like Space Invaders and Galaga. You will also get a small taste of thinking about Object Oriented Programming.
All sprites in the Space Invaders game were created by Luis Zuno (aka Ansimuz). Check him out if you like the pixel art!
All sprites in the lesson repl with “dude” are from the Phaser website.
In the end, your game will look something like this:
Table of Contents
Table of Contents
- Activity 1 - Place Background and Player Ship
- Activity 2 - Animating the Player's Ship
- Activity 3 - Add Keyboard Input to Move the Player
- Activity 5 - Making the Enemies Move
- Activity 6 - Restarting the Player after Being Destroyed
- Activity 7 - Allowing the Player to Shoot
- Activity 8 - Allowing the Enemies to Shoot
- Activity 9 - Adding Score, Levels, and Lives
- Activity 10 - Adding a Title Screen