TileMap:shift

From GiderosMobile
Revision as of 10:05, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Shifts the tile map to change tile's graphic. The arguments are in tiles, not in pixels. By shifting t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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(dxdy,)

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