Hi to all guys, I’m creating a new behavior with platformer camera. The goal is to add a dynamic zoom management and movement to the scene camera.
You can see an example here:
The idea is to add a more fancy zoom effect on camera, to give a new appeal to your platformer games.
For example, if you move the camera will change the zoom, if you enter some areas the camera will change the zoom and maybe, in the next steps, the camera will follow a target interpolating its position, to give a more cool effect to the game.
Currently, I’ve implemented the following:
- Camera ZoomIn/ZoomOut events
- Camera KeepZoom event
- Camera UnkeepZoom event
- Camera position following with lerp
In the next steps I’ll implement the following:
- Camera shake
- Camera LookAt
The camera will zoom in or out according to behavior properties.
The camera will zoom to a defined zoom statically.
The camera will zoom to the default behavior zoom.
If you like the idea, and have any suggestions about that, please let me know in the comments!
Behavior improvements and new PositionTo action
NEW PositionTo function
Make the camera follow the player with interpolation