Camera#resetFX()
  • References/Game Development/Phaser/Core/Camera

resetFX() Resets any active FX, such as a fade or flash and immediately clears it.Useful to calling after a fade in order to remove

2025-01-10 15:47:30
Camera.SHAKE_HORIZONTAL
  • References/Game Development/Phaser/Core/Camera

[static] SHAKE_HORIZONTAL : number Source code:

2025-01-10 15:47:30
Camera#setPosition()
  • References/Game Development/Phaser/Core/Camera

setPosition(x, y) A helper function to set both the X and Y properties of the camera at oncewithout having to use game.camera

2025-01-10 15:47:30
Camera#id
  • References/Game Development/Phaser/Core/Camera

id : number Reserved for future multiple camera set-ups. Source code:

2025-01-10 15:47:30
Camera#visible
  • References/Game Development/Phaser/Core/Camera

visible : boolean Whether this camera is visible or not. Default Value

2025-01-10 15:47:30
Camera.FOLLOW_LOCKON
  • References/Game Development/Phaser/Core/Camera

[static] FOLLOW_LOCKON : number Source code:

2025-01-10 15:47:30
Camera#shakeIntensity
  • References/Game Development/Phaser/Core/Camera

shakeIntensity : number The Cameras shake intensity. Gets or sets the cameras shake intensity.

2025-01-10 15:47:30
Camera#reset()
  • References/Game Development/Phaser/Core/Camera

reset() Resets the camera back to 0,0 and un-follows any object it may have been tracking.Also immediately resets any camera effects

2025-01-10 15:47:30
Camera#view
  • References/Game Development/Phaser/Core/Camera

view : Phaser.Rectangle Camera view.The

2025-01-10 15:47:30
Camera#width
  • References/Game Development/Phaser/Core/Camera

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

2025-01-10 15:47:30