new FlexGrid(manager, width, height)
WARNING: This is an EXPERIMENTAL class. The API will change significantly in the coming versions and is incomplete.
Please try to avoid using in production games with a long time to build.
This is also why the documentation is incomplete.
FlexGrid is a a responsive grid manager that works in conjunction with the ScaleManager RESIZE scaling mode and FlexLayers
to provide for game object positioning in a responsive manner.
Parameters
Name | Type | Description |
---|---|---|
manager | Phaser.ScaleManager | The ScaleManager. |
width | number | The width of the game. |
height | number | The height of the game. |
- Source code: core/FlexGrid.js (Line 21)
Please login to continue.