76
Ask a Question / Rotating a scene
« on: December 22, 2011, 11:38:31 pm »
I need to rotate an entire scene around the player, in a similar fashion to Super Castlevania
http://www.youtube.com/watch?v=_QPGuzGOgSA
I am first using an ACTOR as the level, so I can spin the actor. Though, I would prefer to spin tiles + actors, or at least a level made of several actors which can then move independently apart from rotating(ex.an opening door, inside the level that rotates). Is this possible at all?
If I have to use a single actor for the level, how do I spin using the player/center of the screen as pivot point, and not the actor's pivot point? If I could use several actors, the level would still need to spin around the center of the screen as pivot point, using the world coordinates and not the actors' coordinates.
http://www.youtube.com/watch?v=_QPGuzGOgSA
I am first using an ACTOR as the level, so I can spin the actor. Though, I would prefer to spin tiles + actors, or at least a level made of several actors which can then move independently apart from rotating(ex.an opening door, inside the level that rotates). Is this possible at all?
If I have to use a single actor for the level, how do I spin using the player/center of the screen as pivot point, and not the actor's pivot point? If I could use several actors, the level would still need to spin around the center of the screen as pivot point, using the world coordinates and not the actors' coordinates.