
Monster Challenge
- Find or create a picture of a spooky outdoor scene, and make it the background of the stage. Perhaps something like this.
- Find or make a picture of a cloud, and add it to the scene as a new sprite. Make the cloud follow the mouse from left to right, but not up and down.
- Add a monster sprite to the scene. Resize the sprite so it is fairly small. Make the monster walk from left to right across the bottom of the scene, repeating so it walks back and forth forever.
- Add code and a costume to the cloud sprite so that when the spacebar is pressed a bolt of lightning comes out of the cloud, reaching all the way to the ground. Remember, the lightning should only appear for a second or so before disappearing again.
- Change the code for the monster sprite so that if the lightning touches it, it stops moving and its costume changes. Make the monster say something when this happens.
-
Bonus:
- Add keyboard controls for the monster, so that another player could make the monster move back and forth.
- Make the monster disappear after it's struck by the lightning, then reappear in a new, random spot and start walking back and forth again.
- Add a score variable which adds one each time the lightning hits the monster.