Space Invaders
I made space invaders. You may know this classic from back in the day. Space Invaders is a fixed shooter in which the player moves a laser cannon horizontally across the bottom of the screen and fires at aliens overhead.
Supplies
- Micro:bit
- Micro-USB
Make Your Player
First we have to make a player. See picture
Move
Second, we need to create a command so that the player can move. See picture.
Alien
Third, we need to create an alien and also make it move by going down. We will also have to make sure that the alien disappears once it reaches the bottom. See picture. You can choose the breaks yourself. If you want to make it difficult, you should set the times to a low number and vice versa for easier.
Bullet
Now we are going to make sure that our player can shoot and if the alien is hit he disappears. See picture
Game Over
Now we're also going to have to make sure that the player can die if the alien touches him. See picture. We are also going to make a game over screen.