[static] FOLLOW_TOPDOWN : number Source code:
width : number The Cameras width. By default this is the same as the Game size and should not be adjusted for now. Gets or sets
new Camera(game, id, x, y, width, height) A Camera is your view into the game world. It has a position and size and renders only those
deadzone : Phaser.Rectangle Moving inside this
shakeIntensity : number The Cameras shake intensity. Gets or sets the cameras shake intensity.
follow(target, style, lerpX, lerpY) Tell the
focusOn(displayObject) Move the camera focus on a display object instantly. Parameters
game : Phaser.Game A reference to the currently running Game
onFadeComplete : Phaser.Signal This signal is dispatched
[static] SHAKE_BOTH : number Source code:
Page 4 of 5