FlexGrid#createFluidLayer()

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)
doc_phaser
2017-02-14 10:46:02
Comments
Leave a Comment

Please login to continue.