Step 2 – Getting the shark moving:
Start by setting up the basic movement for the Shark sprite.
- Make sure you're clicked on the Shark sprite
- Start with a Green Flag block (yellow section)
- Add a Forever block (orange) – we want the Shark to keep moving throughout the game
- Set the Shark to move 4 steps using a blue move 10 steps block and changing the number to 4
- Add a blue if on edge, bounce block
- Add a blue set rotation style, left-right block
Press the Green Flag at the top to start the game and check this all works. Can you work out what each block does?
Changing the shark costume:
The shark needs to use its jaws...
- Under the Move 4 steps block add an orange wait 1 seconds block
- Change the 1 seconds to 0.1 seconds
- Then add a purple next costume block
Not all sprites have multiple costumes.