I'm creating a game, and want to change the background when the user "wins". I can't write it into the Sprite's script, because there isn't a change background block. I put it into the background script, but it doesn't seem to be registering appropriately. Any suggestions?
I also need to hide the sprite when it's on the first background and third background. I've figured out how to hide it at the end of the game, but not on the first background (which is directions, etc).
Thanks in advance!!
Offline
When the user wins, use this block:
broadcast [win v]Then put this in the stage:
When I receive [win v] switch to background [something v]Also, for hiding the sprite:
when gf clicked forever if < <([background # v] of [Stage v]) = [1]> or <([background # v] of [Stage v]) = [3]> > hide else show end
Last edited by Greenatic (2012-04-15 14:56:09)
Offline
lv_aivlem wrote:
Thank you! It worked beautifully!
No problem! Glad I could help!
Offline