π― Goal: Create the player, ruby, enemy and score system.
- Choose a background.
- Create a ruby sprite and set its size to 30.
- Create an enemy sprite and set its size to 80.
- Make the enemy wander around.
- Create the player sprite and set its size to 50.
- Make the player move with the arrow keys.
- Show a message: βCollect 10 rubies to win!β.
- Show the score variable and set it to 0.
Variables
| Variable | Purpose |
|---|---|
| score | Tracks how many rubies the player has collected. |
β
You should see a player, a ruby, an enemy and a score counter.


