Page 236 - Scratch Programming Playground
P. 236

In the Scratch game in this chapter, the cat will play the
                         part of Mario or Luigi. the player can make the cat jump
                         around a single level to collect apples while avoiding the crabs
                         who will steal them. the game is timed: the player has just
                         45 seconds to collect as many apples as possible while trying
                         to avoid the crabs!
                             Before you start coding, look at the final program at
                         https://www.nostarch.com/scratchplayground/.
































                             Get ready to program a more complicated game than those
                         in previous chapters!


                         Sketch out the design


                         Let’s sketch out on paper what the game should look like. the
                         player controls a cat that jumps around while apples appear
                         randomly. the crabs walk and jump around the platforms ran-
                         domly, too.









      210   Chapter 9
   231   232   233   234   235   236   237   238   239   240   241