Change Scene After One Touch/Click
Hello,
I am making a game where an actor follows a path that the user draws. I want the user to be able to draw only make one path, and once they're done making the path and the actor follows it, change the scene. How can I do this?
Thanks!
I am making a game where an actor follows a path that the user draws. I want the user to be able to draw only make one path, and once they're done making the path and the actor follows it, change the scene. How can I do this?
Thanks!
Comments
Assuming that when touch is pressed ->begin path.
If I do that, then it goes on to the next scene as soon as the scene starts (because the touch is already is release mode).
and now if touch is released and attribute is true -> change scene.
But after the touch is released, I want the actor to follow the path and then I want the scene to be changed.
I tried putting in a timer but that won't work either.
Thanks again.
(meaning you can no longer draw) then,
if att is true and the actor's self position x and y are equal to the last piece of the path
-> change scene.
If you can figure out how to add this to your rules, it should do the trick.