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

support32bit : boolean Does the device context support 32bit pixel manipulation using array buffer views?

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#mp3
  • References/Game Development/Phaser/System/Device

mp3 : boolean Can this device play mp3 files? Source code:

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

<static> inLayoutViewport(element, cushion) → {boolean}

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

canvas : boolean Is canvas available? Source code:

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
DOM#DOM
  • References/Game Development/Phaser/System/DOM

new DOM() DOM utility class. Provides a useful Window and Element functions as well as cross-browser compatibility buffer.

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

localStorage : boolean Is localStorage available? 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