Difference between revisions of "TileMap:setRepeat"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2018.2<br/>
+
'''Available since:''' Gideros 2018.2<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/TileMap|TileMap]]<br/>
+
'''Class:''' [[TileMap]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Indicate if the tilemap should repeat itself.<br />
+
Indicates if the '''Tilemap''' should repeat itself.
<br /></translate>
+
<syntaxhighlight lang="lua">
<source lang="lua">
+
TileMap:setRepeat(x,y)
TileMap:setRepeat(x,y)
+
</syntaxhighlight>
</source>
+
 
=== <translate>Parameters</translate> ===
+
=== Parameters ===
'''x''': (boolean) <translate>Tilemap is repeating along x axis</translate> <br/>
+
'''x''': (boolean) Tilemap is repeating along x axis<br/>
'''y''': (boolean) <translate>Tilemap is repeating along y axis</translate> <br/>
+
'''y''': (boolean) Tilemap is repeating along y axis<br/>
 +
 
 +
{{TileMap}}

Latest revision as of 14:33, 13 July 2023

Available since: Gideros 2018.2
Class: TileMap

Description

Indicates 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