Page 237 - Scratch Programming Playground
P. 237
F
D H
E
A C
B
G
here’s what we’ll do in each part:
A. Create gravity, falling, and landing
B. handle steep slopes and walls
C. Make the cat jump high and low
D. add ceiling detection
E. Use a hitbox for the cat sprite
F. add a better walking animation
G. Create the level
H. add crab enemies and apples
this platform game is the most ambitious one in the book,
but anyone can code it if they follow the steps in this chapter.
Let’s code each part one step at a time.
If you want to save time, you can start from the skeleton
project file, named platformer-skeleton.sb2, in the resources
ZIp file. Go to https://www.nostarch.com/scratchplayground/
MakING aN advaNCed pLatforMer 211

