I'm getting stuck on my project and I want to do it so that if my character touches the edge of the screen and the background changes. I've tried to use broadcasting and all my attempts have failed, what should I do?
Offline
You could make a very thin line all the way around the edge of the screen in a color thats nowhere else in the game, and then add this to the scripts of the sprite:
when gf clicked forever if < touching color [whatever the color you used is] > broadcast [next screen v]and then add this to the stage:
when I receive [next screen v] next backgroundhope that helps
Offline
Using Indiego's script, the sprite will still be touching the screen after it broadcasts, so if you want it to wait until you're not touching the screen, either add a "wait until <not <touching screen" to the script or a "go to x: () y: ()" block right after the broadcast.
Offline