This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-02-13 14:12:45

MBM7288
New Scratcher
Registered: 2011-02-13
Posts: 4

Science Buddies HELP ASAP PLEASE

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

 

#2 2011-02-13 14:21:32

MBM7288
New Scratcher
Registered: 2011-02-13
Posts: 4

Re: Science Buddies HELP ASAP PLEASE

Sorry the things mashed into each other, It says Combinations with what the directions said to use. I said to use these things...

Offline

 

#3 2011-02-13 15:24:17

MBM7288
New Scratcher
Registered: 2011-02-13
Posts: 4

Re: Science Buddies HELP ASAP PLEASE

Bump

Offline

 

#4 2011-02-13 15:58:34

MBM7288
New Scratcher
Registered: 2011-02-13
Posts: 4

Re: Science Buddies HELP ASAP PLEASE

Someone?!?! D: BUMB!!!!!

Offline

 

#5 2011-02-13 16:30:35

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Science Buddies HELP ASAP PLEASE

So your solution must use all those blocks?

Let's see, you could put this into the cat sprite:
http://www.freeimagehosting.net/uploads/5c75f039ad.gif

Then these two scripts could go in the game over screen:
http://www.freeimagehosting.net/uploads/9d5c7ea5ea.gif

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)


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#6 2011-02-13 21:34:05

wrongtriangle180
New Scratcher
Registered: 2010-10-21
Posts: 11

Re: Science Buddies HELP ASAP PLEASE

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

 

Board footer