view : Phaser.Rectangle Camera view.The
deadzone : Phaser.Rectangle Moving inside this
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
follow(target, style, lerpX, lerpY) Tell the
reset() Resets the camera back to 0,0 and un-follows any object it may have been tracking.Also immediately resets any camera effects
[static] FOLLOW_TOPDOWN_TIGHT : number Source code:
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
onShakeComplete : Phaser.Signal This signal is dispatched
focusOnXY(x, y) Move the camera focus on a location instantly. Parameters
game : Phaser.Game A reference to the currently running Game
Page 4 of 5