Scratch Silver III
Scratch Silver II
SCRATCH SILVER I
SCRATCH GOLD III
1 of 3

2.06 Missing the bus

What if the Scratch Cat did not run fast enough to catch the bus?

The Scratch Cat missing the bus.

Make Scratch Cat miss the bus

Select the Scratch Cat sprite and add a wait block:

The Scratch Cat sprite.

Test: Click on the green flag. The Scratch Cat will walk too slowly and miss the bus!

Make Scratch Cat catch the Bus

You will want delays of less than one second. 0.5 is half a second, 0.25 is a quarter of a second, and 0.1 is a tenth of a second.

Change the delay in the wait block:

The Scratch Cat sprite.

Test: Click on the green flag, and the Scratch Cat will walk faster. Choose the delay that you like the most.

Choose if Scratch Cat catches or misses the bus

If you want the Scratch Cat to miss the bus, remove the hide block from your code so that the Scratch Cat stays on the Stage:

Dragging the 'hide' block from the script in the Code area to the Blocks menu to remove the block from the script.
The Scratch Cat sprite.

If you want the Scratch Cat to catch the bus, make the bus wait longer before it leaves:

The City Bus sprite.

You will need to put the hide block back in the Scratch Cat sprite’s code if you have removed it and want the Scratch Cat to successfully catch the bus.

Make changes until you get the animation to work the way that you want it to.

When working on a project, you often go back and change or improve your code as you get new ideas.

×
×

Cart