This chapter explains how you can take a “divide and conquer” approach to programming. Rather than build your programs as one big piece, you’ll be able to write separate procedures that you then put together. Using procedures will make your programs both easier to write and easier to test and debug. In this chapter, you’ll learn how to:
Use message broadcasting to coordinate the behavior of many sprites
Use message broadcasting to implement procedures
Use the “build your own block” feature of Scratch 2
Use structured programming techniques
Most of the applications we’ve developed so far contain only one sprite, but most applications require multiple sprites that work together. An animated story, for example, might have several ...