fade(color, duration, force) → {boolean}
[static] SHAKE_HORIZONTAL : number Source code:
[static] FOLLOW_LOCKON : number Source code:
setPosition(x, y) A helper function to set both the X and Y properties of the camera at oncewithout having to use game.camera
unfollow() Sets the Camera follow target to null, stopping it from following an object if it's doing so.
flash(color, duration, force) → {boolean}
view : Phaser.Rectangle Camera view.The
[static] FOLLOW_TOPDOWN_TIGHT : number Source code:
reset() Resets the camera back to 0,0 and un-follows any object it may have been tracking.Also immediately resets any camera effects
roundPx : boolean If a Camera has roundPx set to true it will call view.floor as part of its update loop
Page 3 of 5