🚀 Scratch Space Invaders Activity Pack What will you need?
The Scratch website. It is free to use and works on all devices.
What will you learn?
Program a space invaders style game:
– Keyboard inputs for control
– Selection (Conditions), sensing for interaction, loops and game-play
– Random variables (operators) for unpredictability
2. Planets and enemies
Watch the video to learn how to draw a planet sprite which will be the target for your game. Also learn how to create an enemy sprite.
3. Control your spaceship (Keyboard inputs)
Watch the video to learn how to add keyboard inputs to your spaceship sprite to move it.
Touch screen inputs
If you are using a touch screen device such as an iPad, watch the second video to learn how to program touch screen inputs.
4. Move the Enemy Sprite (Selection, sensing, operators, random variables and loops)
Program the enemy sprite to move down the screen on a loop and then go back to a random position to make the game more unpredictable.
Extra challenge
Could you use a ‘pick random’ operator inside the ‘change y by’ to make the speed of enemy change each time, making the game even more unpredictable?
5. Spaceship vs Enemy (Selection, sensing, motion and loops)
Watch the video to learn how to add selection that if the spaceship player hits the enemy sprite it goes back to the starting position.
6. More enemies
Watch the video to learn how to duplicate (copy) the enemy sprites.
7. Win the game!
Watch the video to learn to add a condition that when your spaceship player sprite hits the enemy target it wins the game.
Dodgeball mix-up!
Instead of using a space background, red circles and a space rocket, you could change the stage and sprites to balls and a character to create a Dodgeball-style game.