Changing scenes with on/off touch
Have an invisible actor A placed over a "switch" and want to turn the switch on / off with a "touch" (actually change between scene 1 and 2 - back and forth).
Actor A
Rule -all-touch.inside
change att - game.switchOn = true
Rule - game.switchOn = true
change scene - scene 2
The above of course works.
How can I have another of the same actor change the scene back to scene 1.
Actor A
Rule -all-touch.inside
change att - game.switchOn = true
Rule - game.switchOn = true
change scene - scene 2
The above of course works.
How can I have another of the same actor change the scene back to scene 1.
Comments
I think just putting
If touch is pressed
Goto scene 2
If touch is pressed goto scene 1would work, do you need that attribut for something else?