|
@@ -491,8 +491,7 @@
|
|
|
<param index="5" name="alternative_to" type="int" />
|
|
|
<description>
|
|
|
Create an alternative-level proxy for the given identifiers. A proxy will map set of tile identifiers to another set of identifiers.
|
|
|
- This can be used to replace a tile in all TileMaps using this TileSet, as TileMap nodes will find and use the proxy's target tile when one is available.
|
|
|
- Proxied tiles can be automatically replaced in TileMap nodes using the editor.
|
|
|
+ Proxied tiles can be automatically replaced in TileMapLayer nodes using the editor.
|
|
|
</description>
|
|
|
</method>
|
|
|
<method name="set_coords_level_tile_proxy">
|
|
@@ -503,8 +502,7 @@
|
|
|
<param index="3" name="coords_to" type="Vector2i" />
|
|
|
<description>
|
|
|
Creates a coordinates-level proxy for the given identifiers. A proxy will map set of tile identifiers to another set of identifiers. The alternative tile ID is kept the same when using coordinates-level proxies.
|
|
|
- This can be used to replace a tile in all TileMaps using this TileSet, as TileMap nodes will find and use the proxy's target tile when one is available.
|
|
|
- Proxied tiles can be automatically replaced in TileMap nodes using the editor.
|
|
|
+ Proxied tiles can be automatically replaced in TileMapLayer nodes using the editor.
|
|
|
</description>
|
|
|
</method>
|
|
|
<method name="set_custom_data_layer_name">
|
|
@@ -602,8 +600,7 @@
|
|
|
<param index="1" name="source_to" type="int" />
|
|
|
<description>
|
|
|
Creates a source-level proxy for the given source ID. A proxy will map set of tile identifiers to another set of identifiers. Both the atlas coordinates ID and the alternative tile ID are kept the same when using source-level proxies.
|
|
|
- This can be used to replace a source in all TileMaps using this TileSet, as TileMap nodes will find and use the proxy's target source when one is available.
|
|
|
- Proxied tiles can be automatically replaced in TileMap nodes using the editor.
|
|
|
+ Proxied tiles can be automatically replaced in TileMapLayer nodes using the editor.
|
|
|
</description>
|
|
|
</method>
|
|
|
<method name="set_terrain_color">
|
|
@@ -635,7 +632,7 @@
|
|
|
</methods>
|
|
|
<members>
|
|
|
<member name="tile_layout" type="int" setter="set_tile_layout" getter="get_tile_layout" enum="TileSet.TileLayout" default="0">
|
|
|
- For all half-offset shapes (Isometric, Hexagonal and Half-Offset square), changes the way tiles are indexed in the TileMap grid.
|
|
|
+ For all half-offset shapes (Isometric, Hexagonal and Half-Offset square), changes the way tiles are indexed in the [TileMapLayer] grid.
|
|
|
</member>
|
|
|
<member name="tile_offset_axis" type="int" setter="set_tile_offset_axis" getter="get_tile_offset_axis" enum="TileSet.TileOffsetAxis" default="0">
|
|
|
For all half-offset shapes (Isometric, Hexagonal and Half-Offset square), determines the offset axis.
|
|
@@ -656,7 +653,7 @@
|
|
|
</constant>
|
|
|
<constant name="TILE_SHAPE_ISOMETRIC" value="1" enum="TileShape">
|
|
|
Diamond tile shape (for isometric look).
|
|
|
- [b]Note:[/b] Isometric [TileSet] works best if [TileMap] and all its layers have Y-sort enabled.
|
|
|
+ [b]Note:[/b] Isometric [TileSet] works best if all sibling [TileMapLayer]s and their parent inheriting from [Node2D] have Y-sort enabled.
|
|
|
</constant>
|
|
|
<constant name="TILE_SHAPE_HALF_OFFSET_SQUARE" value="2" enum="TileShape">
|
|
|
Rectangular tile shape with one row/column out of two offset by half a tile.
|