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

#1 2012-05-08 21:58:43

SalemFox
New Scratcher
Registered: 2011-12-05
Posts: 10

broadcast events going off at the wrong time

Okay so im trying to make a game where u kill one enemy after another, simple enough i assume.

i have it set it so when enemy 1 dies it broadcasts a message for SPECIFICALLY enemy 2.
But, instead it spawns both enemy 3 and 2. And on top of that sometimes itll spawn the menu thats supposed to come AFTER enemy 3.

im trying my best to like kinda explain my problem >.<
but http://www.mediafire.com/?oxtytf4irgmlvbm if u want u can download the game and see whats wrong with it

Offline

 

#2 2012-05-09 10:13:57

FINGIN
Scratcher
Registered: 2010-10-19
Posts: 100+

Re: broadcast events going off at the wrong time

alright. make another broadcast, name it spawn enemy 3 or somthing. then go to your enemy 3 sprite. instead of WHEN I RECEIVE ____(you're first broadcast) replace it with WHEN I RECEIVE ___(new broadcast). this should work.you will have to make a broadcast whenever you want a new enemy to spawn, mutiple sprites with same trigger broadcast will appear at the same time.good luck


Problem officer?       http://trollosphere.legtux.org/wp-content/uploads/2012/01/Troll-Face-4efef98405000.png

Offline

 

#3 2012-05-10 02:39:01

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: broadcast events going off at the wrong time

I agree with FINGIN. That's probably the problem. You've just got to make sure to make a new broadcast for different things, or you'll end up with problems.


Why are the secret organizations getting all the attention?  mad

Offline

 

Board footer