TileMap:setRepeat: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Available since:''' Gideros 2018.2<br/> | '''Available since:''' Gideros 2018.2<br/> | ||
=== Description === | === Description === | ||
<br /> | <translate><br /> | ||
Indicate if the tilemap should repeat itself.<br /> | Indicate if the tilemap should repeat itself.<br /> | ||
<br /> | <br /></translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
TileMap:setRepeat(x,y) | TileMap:setRepeat(x,y) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
'''x''': (boolean) Tilemap is repeating along x axis <br/> | '''x''': (boolean) <translate>Tilemap is repeating along x axis</translate> <br/> | ||
'''y''': (boolean) Tilemap is repeating along y axis <br/> | '''y''': (boolean) <translate>Tilemap is repeating along y axis</translate> <br/> | ||
Revision as of 12:32, 23 August 2018
Available since: Gideros 2018.2
Description
Indicate if the tilemap should repeat itself.
TileMap:setRepeat(x,y)
Parameters
x: (boolean) Tilemap is repeating along x axis
y: (boolean) Tilemap is repeating along y axis