Hello people,
I have a question.
How can I ensure that I can zoom in and out with a lerp effect?
Thanks in advance,
Fabian
Basically you do this:
On every tick: Set Layout scale to lerp(LayoutScale, newScale , dt*6)
LayoutScale is a system expression for current scale.
newScale is a variable.
change "6" to other number if you want to zoom faster or slower.
Develop games in your browser. Powerful, performant & highly capable.
Thank you very much dop2000
Thank you also for answering my questions more often