createFluidLayer(children) → {Phaser.FlexLayer}
A fluid layer is centered on the game and maintains its aspect ratio as it scales up and down.
Parameters
Name | Type | Argument | Description |
---|---|---|---|
children | array | <optional> | An array of children that are used to populate the FlexLayer. |
Returns
The Layer object.
- Source code: core/FlexGrid.js (Line 141)
Please login to continue.