Javascript – Move camera offset phaser
I would like the camera to move to a specific offSetX. Using the method "horizontalCamera.setScroll(800,0)" it moves instantly. How can I make it move with an animation? P.S. I'm using phaser editor 2d class GoNext extends UserComponent { constructor(gameObject) {…