Return to the same place
raciukas22
Member, PRO Posts: 47
I have created a parallax screen where actor is going through and once user clicks on certain tasks it brings to the different scene. How to make an actor to appear in the same place before it went to another scene instead of bringing actor to the start of the screen everytime. Thanks a lot.
Comments
You can store an actors position with attributes.
Game attributes. X and Y
Then in the next scene. Change attribute of character to those previous positions.
Change attributes.
Self.position X
Self position.y To the game attributes.
You can either do this or a simpler way would be to use pause scene instead of change scene , Pause and let it take you to the scene you want , when you want to return just un pause and it will take you back to where you were.
That's smart.
That was so quick and easy thanks a lot again!!
Thanks a lot