Step 8 – More fish
We need more fish!
- Right click on the fish sprite and choose duplicate
This creates another fish with all the code already on it
I added 7 new fish so that I ended up with 8
- You can add a purple switch costume to block at the start of the code on each fish to make sure you get a mix of different fish – you need to do this on each fish that you want to change. Make sure it goes above the Show block
There are 4 different Fish costumes, so I ended up with 2 of each fish.
Duplicating the fish gives each one a unique name. It also copies all the code, so we don't need to add the code to each fish. Which saves a lot of time.
Improving the game:
Now it's over to you to make this game better.
There's lots you could add:
- A sound when the Shark catches a Fish
- When the score reaches 8 (or whatever number of fishes you have), have the shark say "I win" or something – and then stop the game. This code will need to be on the Shark sprite
- You could add a diver sprite and take points off if the shark eats the diver – or make the game restart, or make the shark slower...
- There are starfish and crab sprites as well. Maybe these are worth more (or less) points?
- You could use the timer to provide a score – how long will it take to eat all the fish? The timer is in the light blue sensing section – but it's a bit tricky to use...
What else would make this game better?