Device#vibration
  • References/Game Development/Phaser/System/Device

vibration : boolean Does the device support the Vibration API? Source code:

2025-01-10 15:47:30
Device#fullscreen
  • References/Game Development/Phaser/System/Device

fullscreen : boolean Does the browser support the Full Screen API? Source

2025-01-10 15:47:30
Device#silk
  • References/Game Development/Phaser/System/Device

silk : boolean Set to true if running in the Silk browser (as used on the Amazon Kindle)

2025-01-10 15:47:30
Device#cocoonJS
  • References/Game Development/Phaser/System/Device

cocoonJS : boolean Is the game running under CocoonJS? Source code:

2025-01-10 15:47:30
Canvas.setBackgroundColor()
  • References/Game Development/Phaser/System/Canvas

<static> setBackgroundColor(canvas, color) → {HTMLCanvasElement}

2025-01-10 15:47:30
Device#iPhone4
  • References/Game Development/Phaser/System/Device

iPhone4 : boolean Is running on iPhone4? Source code:

2025-01-10 15:47:30
Device#iPad
  • References/Game Development/Phaser/System/Device

iPad : boolean Is running on iPad? Source code:

2025-01-10 15:47:30
DOM.getAspectRatio()
  • References/Game Development/Phaser/System/DOM

<static> getAspectRatio(object) → {number}

2025-01-10 15:47:30
Device#windows
  • References/Game Development/Phaser/System/Device

windows : boolean Is running on windows? Source code:

2025-01-10 15:47:30
RequestAnimationFrame#forceSetTimeOut
  • References/Game Development/Phaser/System/RequestAnimationFrame

forceSetTimeOut : boolean Tell Phaser to use setTimeOut even if raf is available. Source

2025-01-10 15:47:30