I know there's a tutorial for switching cameras within a scene (3D) and keeping the player's direction aligned with the previous perspective until a new direction is chosen (avoid backing right back out of door you came in, etc.) - But I'm a bit lost when trying to use direct controls (via controller) in a 2D game that utilizes different scenes to achieve the same.
Today, two things happen.
1) Each scene appears to reset the joystick, meaning players need to first let it come back to center, then push forward again in desired direction - Is there a way to apply this input magnitude immediately onto the instance of the player in the new scene on start?
2) Player orientation is undefined (or undefinable?) from the controller's input. So if the point of view of the new scene is from a new angle, I'd need to define what the new 'left' is, etc. (for the purpose of continuing prior scene's direction only) - Any thoughts on how to do that?
Thanks!
Comments