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

#1 2012-05-06 17:32:05

Yagman5000
New Scratcher
Registered: 2012-05-02
Posts: 10

Broadcast not working?

Hi all,

So I pretty much have a broadcast telling a sprite when to "respawn". It's not being received, no clue why. Here's a link to the game:

http://www.mediafire.com/?199lm282pzdbt4m

Here's also a screenshot:

http://gyazo.com/2ac36d252bd86a94826e1f475a3568cd

As you can see, the broadcast "Alive" is being broadcasted. It also isn't being received.. Idk why? Any help would be appreciated. ASAP if possible, this project is due tomorrow.

Offline

 

#2 2012-05-06 18:47:25

jdwjrnchewy
Scratcher
Registered: 2010-05-10
Posts: 34

Re: Broadcast not working?

Try using variables


What time is it?!

Offline

 

#3 2012-05-06 18:48:51

ftf841
Scratcher
Registered: 2012-02-19
Posts: 1000+

Re: Broadcast not working?

it should work


http://mag.racked.eu/cimage/i9002/Achievement++get%21/Hi+there./mca.png
http://mag.racked.eu/mcimage/i354/Achievement++get%21/CAKE%21%21%21%21%21/mca.png

Offline

 

#4 2012-05-06 19:25:49

Yagman5000
New Scratcher
Registered: 2012-05-02
Posts: 10

Re: Broadcast not working?

jdwjrnchewy wrote:

Try using variables

Could you give an example what I could use? That would be great  smile

Offline

 

#5 2012-05-06 20:26:34

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: Broadcast not working?

I downloaded your game and there isn't even a broadcast called respawn.  sad
Make sure that there's a script that broadcasts respawn and a script that receives it or else it will be deleted.


La La
I wrote an album.

Offline

 

#6 2012-05-06 20:48:49

Yagman5000
New Scratcher
Registered: 2012-05-02
Posts: 10

Re: Broadcast not working?

AgentRoop wrote:

I downloaded your game and there isn't even a broadcast called respawn.  sad
Make sure that there's a script that broadcasts respawn and a script that receives it or else it will be deleted.

it's called "alive"

Offline

 

#7 2012-05-06 21:05:39

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Broadcast not working?

Replace your "broadcast [killEnemy v]" in the stage with "broadcast [killEnemy v] and wait".  You might also need a "set [enemyHealth v] to [10] in the "killEnemy" script.


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

Board footer