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

#1 2012-12-13 21:02:49

LeviWilliams
New Scratcher
Registered: 2012-12-13
Posts: 1

I need help with broadcasting backgrounds

Hi,
I'm new to the system and I need help.  I'm trying to make it so that when my main sprite touches another sprite, the background changes.  I'm doing pretty good but when I touch it, it flips through all the backgrounds really fast.  Please give me advice.

Offline

 

#2 2012-12-13 21:20:48

SheppardProductions
Scratcher
Registered: 2011-08-14
Posts: 100+

Re: I need help with broadcasting backgrounds

when gf clicked
set variable (broadcastedalready) to (false)
forever
if< touching (sprite 2)> and <not <(broadcastedalready) = (true)>>
broadcast (backgroundchange)
set variable (broadcastedalready) to true
end

Last edited by SheppardProductions (2012-12-13 21:25:18)

Offline

 

Board footer