Discuss Scratch

KingLegolas
Scratcher
21 posts

Broadcast activating instantly, or color detection bugging?

KingLegolas wrote:

I have a script that detects when the player model touches a color, (0,0,50) and broadcasts, which tells the stage to switch to another costume. The next costume is the same, but minus the barriers, so the player model can move around the game. However, when I start the game, it triggers instantly even though the player model has not moved.
when green flag clicked
if <touching color [0,0,50]> then
broadcast [barriers]
end
link to project: https://scratch.mit.edu/projects/1019258481/editor/
My browser / operating system: ChromeOS 14541.0.0, Chrome 114.0.0.0, No Flash version detected

when this sprite clicked
play sound [Hit it by American Authors] until done
Read
Scratch
KingLegolas
Scratcher
21 posts

Broadcast activating instantly, or color detection bugging?

BUMP

when this sprite clicked
play sound [Hit it by American Authors] until done
Read
Scratch

Powered by DjangoBB