Since there is no way to add "tween" behavior for a layer, camera, layout, I have a question: how can I make the camera move smoothly in some scenario?
i just don't want to use manual configuration
Put the scroll to behavior on an invisible sprite. That is your "camera". You can then tween or otherwise move your camera sprite however you want.
This was a very unexpected answer. but if I have another camera that follows the player and not the object. and after all, two cameras will work and everything will be buggy. could you explain?
Develop games in your browser. Powerful, performant & highly capable.
Remove scroll to from your player .
Pin the camera object to your player. You can unpin if you want to.
Remove scroll to from your player . Pin the camera object to your player. You can unpin if you want to.
Ok thanks