FlexGrid#setSize()
  • References/Game Development/Phaser/Game Scaling/FlexGrid

setSize(width, height) Sets the core game size. This resets the w/h parameters and bounds. Parameters

2025-01-10 15:47:30
FlexGrid#createFixedLayer()
  • References/Game Development/Phaser/Game Scaling/FlexGrid

createFixedLayer(children) → {

2025-01-10 15:47:30
FlexGrid#createCustomLayer()
  • References/Game Development/Phaser/Game Scaling/FlexGrid

createCustomLayer(width, height, children) → {

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

reset() Resets the layer children references Source code:

2025-01-10 15:47:30
FlexGrid#createFullLayer()
  • References/Game Development/Phaser/Game Scaling/FlexGrid

createFullLayer(children) → {

2025-01-10 15:47:30
FlexGrid#onResize()
  • References/Game Development/Phaser/Game Scaling/FlexGrid

onResize(width, height) Called when the game container changes dimensions. Parameters

2025-01-10 15:47:30
FlexGrid#createFluidLayer()
  • References/Game Development/Phaser/Game Scaling/FlexGrid

createFluidLayer(children) → {

2025-01-10 15:47:30
FlexGrid#refresh()
  • References/Game Development/Phaser/Game Scaling/FlexGrid

refresh() Updates all internal vars such as the bounds and scale values. Source

2025-01-10 15:47:30
FlexGrid#debug()
  • References/Game Development/Phaser/Game Scaling/FlexGrid

debug() Call in the render function to output the bounds rects. Source code:

2025-01-10 15:47:30
FlexGrid#positionCustom
  • References/Game Development/Phaser/Game Scaling/FlexGrid

[readonly] positionCustom Properties: Name Type

2025-01-10 15:47:30