Camara like tiny wings
Ok so im not sure what to do this is also in cookbook but i figure if i put it everywhere i will get an answer faster.
How do I make my camara zoom in and out based on how high my character is in the air just like tiny wings as well as still following my character?
A response from someone whos knows soon would be greatly appreciated.
And thank you Tshirtbooth for answering my last one
-Mrglockling
How do I make my camara zoom in and out based on how high my character is in the air just like tiny wings as well as still following my character?
A response from someone whos knows soon would be greatly appreciated.
And thank you Tshirtbooth for answering my last one

-Mrglockling
Comments
Create a game attribute (integer) game.BirdY
Constrain this to the main character's y position
create an immovable invisible actor called cameraController. Drag this into the scene, double click on it and unlock it.
Then constrain current.scene.camera.height to 320+game.BirdY
constrain current.scene.camera.width to (camera height * 1.5)
You could also try 320+(game.BirdY*2) to have more dramatic zoom out. Change the 2 to tweak it.