I using this code:
Every tick-->camera set psition to lerp(Self.X, caracter.X, 1) lerp(Self.y, caracter.y, 1)
Develop games in your browser. Powerful, performant & highly capable.
Any reason you aren't using the Pin behavior on the camera and pinning it to the Player at start of layout?
And by making the camera closer, do you mean zooming in?
1. There is no reason.
2. Yes,I meant to zoom (sorry for this).
All right cool cool. I was just wondering if your code worked differently, wasn't trying to throw shade or anything
As for zooming, in my game I'm using System > Layout Scale, and lerping to the desired level.
For example, here's the events I use to slow down time, zoom in and tilt the view a bit when the last enemy of an encounter is defeated:
Thank you very much!