Page 243 - Scratch Programming Playground
P. 243
Name the block handle ground, and then click the gray
Options triangle. Check the checkbox next to Run without
screen refresh.
the define handle ground block should now appear in
the Scripts area. Change the code for the Cat sprite to make it
use the handle ground block. the handle ground block goes
where the repeat until not touching Ground blocks were,
and that loop is moved under define handle ground.
Move the rest of the Cat
The handle ground sprite code under the define
block goes here. handle ground block.
this code works exactly as it did before, but now the handle
ground block has run without screen refresh checked, so the
loop code runs in turbo Mode. Lifting the cat now happens
instantly, so it looks like the cat never sinks into the ground.
MakING aN advaNCed pLatforMer 217

