how to make the camera slowly approaching / moving away during the game?
Develop games in your browser. Powerful, performant & highly capable.
Extract from the how do I FAQ :
crolling / Camera
Camera smooth zoom in/out - LINK Smooth zooming - LINK
Camera smooth zoom in/out - LINK
Smooth zooming - LINK
Be sure to check the FAQ, there are far more elements listed there.