Hi, I was wondering if someone could tell me how to change the background in a game. In my game I am trying to make it where if the sprite touches a blue line then the background changes, and I can't figure out the script for it.
Offline
you'll have to use broadcasts
you need to put this script in the stage:
when I [next background v] receive next backgroundand every time you need to switch backgrounds use
broadcast [next background v] and wait
Last edited by roijac (2012-10-11 10:48:26)
Offline