I Need help on a script to make the cat disappear when the dog touches it and to stop everything and show a game over icon then restart on green button clicked. I used many combinations with what it said to use. It sates to use <when green flag clicked> <else><if> <broadcast[ or <broadcast[ ]and wait c> <stop all> <when I receive[ <show> <hide> please if anyone can help me I only need help with this part of the game. D:
Offline
So your solution must use all those blocks?
Let's see, you could put this into the cat sprite:
Then these two scripts could go in the game over screen:
That should work. But if you're only allowed to use the blocks they gave you, I don't think it's possible.
Last edited by hmnwilson (2011-02-13 16:47:35)
Offline
Make a sprite called GAMEOVER that fills up the whole screen. This is the game over message. Move it to the front.
Put this script on the cat:
[blocks]<when green flag clicked>
<forever>
<if><touching[ dog
<hide>
<broadcast[ game over
<end>
Now put these two scripts on the gameover sprite:
<when green flag clicked>
<hide>
<when I receive[ game over
<show>
It's that easy.
Offline