Atlas node holds information about image on Atlas. Plus it have few methods for easy frame data generation, which can be loaded in sprites and in tilemaps.
Constructor
Variables
Methods
inlinecanPlace(width:Int, height:Int):Bool
Whether we place node with specified width and height in this node.
getTileFrames(tileSize:FlxPoint, ?tileSpacing:FlxPoint, ?tileBorder:FlxPoint):FlxTileFrames
Generates TileFrames object for this node
Parameters:
tileSize | The size of tile in spritesheet. |
---|---|
tileSpacing | Offsets between tiles in spritesheet. |
tileBorder | Border to add around tiles (helps to avoid "tearing" problem). |
Returns:
Created TileFrames object for this node.