changing scenes
hi,
how would i make an actor go to a different scene than be able to go back to the previous scene and be in the position where the actor left the scene?
cheers
how would i make an actor go to a different scene than be able to go back to the previous scene and be in the position where the actor left the scene?
cheers
Comments
When you leave the scene change these for the X and Y of your actor (change attribute game.Scene1X to self.position.X (do the same for Y) and its a good idea to have an actor that controls all this in every scene (i usually make a controller actor and position it off screen) that changes self.position.X to game.Scene1X then when you re-enter the scenes the actor will be in the same place as it was before it left.
Darren.
GS Xmas Bundles and 5 New Templates
thanks
Note i unlocked the forward and back actors in the scene to access the current.scene.layers.hero X & Y but there's a few other ways to do it depending what your set up is.
Darren.
cheers