phaser-camera-offset: Offset the camera view from its follow target
November 11, 2016
GitHub / NPM / Demo // camera.follow(target, style, lerpX, lerpY, offsetX, offsetY) camera.follow(player, FOLLOW_STYLE, 0.5, 0.5, 64, 64); // or camera.targetOffset.set(64); camera.targetOffset.set(0);
1
2 replies