J
jhallphx
Guest
Hello,
I'm surprised there are not more tutorials on panning the camera to create in-engine cutscenes and such. Hopefully the gurus here will have some answers. I am making a platformer game where the camera follows my player object with a viewport sized at 640x480. I have made the room six times larger than this (3840x2880). I am wanting to begin my platformer room showing the full room (zoomed out), and then zoom to the goal area, and then pan around the room along the obstacle path, eventually arriving at the player start position.
I have had the idea to use the timelines to accomplish this, and maybe switching/zooming between viewports, eventually ending in the viewport that will follow my player object. Not sure if I need an "invisible object" that needs to be followed to get the panning effect, or if I can program x/y's into the code, or if there is a simpler way to do this than timelines.
Just to clarify what I'm after...
- Begin showing the full room (roomsize 3840x2880)
- Zoom to Goal position with zoomed viewport being 640x480
- Pan camera along obstacle path
- Finish at Player start position (maintaining 640x480 viewport)
- Spawn player and then follow player through level
Look for advice on how best to do this! Thanks everyone!
I'm surprised there are not more tutorials on panning the camera to create in-engine cutscenes and such. Hopefully the gurus here will have some answers. I am making a platformer game where the camera follows my player object with a viewport sized at 640x480. I have made the room six times larger than this (3840x2880). I am wanting to begin my platformer room showing the full room (zoomed out), and then zoom to the goal area, and then pan around the room along the obstacle path, eventually arriving at the player start position.
I have had the idea to use the timelines to accomplish this, and maybe switching/zooming between viewports, eventually ending in the viewport that will follow my player object. Not sure if I need an "invisible object" that needs to be followed to get the panning effect, or if I can program x/y's into the code, or if there is a simpler way to do this than timelines.
Just to clarify what I'm after...
- Begin showing the full room (roomsize 3840x2880)
- Zoom to Goal position with zoomed viewport being 640x480
- Pan camera along obstacle path
- Finish at Player start position (maintaining 640x480 viewport)
- Spawn player and then follow player through level
Look for advice on how best to do this! Thanks everyone!