TileMap:shift

From GiderosMobile
Revision as of 11:21, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2011.6

Description

Shifts the tile map to change tile's graphic. The arguments are in tiles, not in pixels. By shifting the tile map one by one as needed, you can create dynamic tile maps.

 TileMap:shift(dx,dy)

'dx: (number) The x amount of shift in tiles '
'dy: (number) The y amount of shift in tiles '