Hello, my science project is due soon and I really don't understand this. If someone could help, that'd be great.
When the game ends, both the cat and the dog should stop moving. This means you need to tell the program, by editing an existing script, that all the scripts that are currently running need to end. You could place these instructions in either the cat or in the dog's scripts area, but for this science fair project, you'll put it in the cat's script area.
It wants me to use the following blocks as well:
<when green flag clicked>
<if> and <else>
<broadcast[
<stop all>
<when I receive[
and <show><hide>
can someone please help a newbie out? Thanks
Offline
When it’s over have a sprite, or the background broadcast something along the lines of “finish” or “end”.
To get the cat and the dog to stop moving, you would use.
______________________
[When I receive [finish]]
[hide]
[wait (0.1) secs]
[stop all]
EDIT: The "[wait (0.1) secs]” block is so that it doesn’t stop everything before the “game over” sign can show up.
Last edited by henley (2011-10-17 19:28:46)
Offline
Bob_Saget wrote:
Adding on, it basically wants me to end all movement between the two sprites when they touch.
It also wants to show a "Game Over" text as well.
Have a big sprite (filling up the entire screen) that has red big text saying “game over”
[When I receive [finish]]
[show]
[go to front]
Offline