30 likes | 118 Views
Learn about variables and message events in the Martian simulation. Follow the step-by-step instructions to control the simulation using variables and trigger events with messages. Explore how variables store information and how messages communicate between sprites.
E N D
Meet Me on Mars Lesson 7 Variables and Messages
Events and Variables To continue the simulation: 1. Click the _________ button 2. When ________ clicked, set ______ to ____ 4. _____ and _____ check if ____ is set to ____ 5. If it is, then ______ 3. Now, variable _____ contains _____ To pause the simulation: For _______ 1. Click the _________ button 2. When ________ clicked, set ______ to ____ For _______
Events and Messages 1. Click the _________ sprite 2. When ______ clicked, ______ message ________ If _________ clicked, then ________ sprite 3. ________ listens to _________ broadcast message 4. When ________ hears _________ message, it ________ 1. Click the _________ sprite 4. When ________ hears _________ message, it ________ 2. When ______ clicked, ______ message ________ If _________ clicked, then ________ sprite 3. ________ listens to _________ broadcast message