[Solved] Smooth zoom change

Hi. I creating the game with a view from above.
How can I create the smooth zoom? The built-in solution just switch it, without smooth.

There are a few ways,

  1. Just use a timer and add the timer’s value to the initial camera zoom value :


  1. Use a hidden object with a tween behaviour. Use a variable tween, and set the zoom while the tween is playing. Although it’s a little bit more work that the previous option, you can change the easing function and get the camera zoom to slow down as it gets close to the target zoom value :


  1. Install the extension Camera Zoom and use it in conjunction with at timer :

image

4 Likes

Thanks. This is exactly what I need.