diff options
author | lucaslcode <32044095+lucaslcode@users.noreply.github.com> | 2020-04-03 23:40:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 23:40:31 +0100 |
commit | cbe73766e3f9bda7d3f3e17873d1e9b80763f24f (patch) | |
tree | 7722bcd321e9d9b54290b87c42b76ed3a37f28e8 /doc/classes | |
parent | 3d0c633e7b8a15473b2a21bdf498d23794f5d476 (diff) |
clarify autotile_coord in docs
I had no idea what 'coordinate' meant in the context of autotiles, so just adding some clarification for future people who have the same problem.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/TileMap.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index 1db1142aa0..5b7694b775 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -43,7 +43,7 @@ <argument index="1" name="y" type="int"> </argument> <description> - Returns the coordinate of the autotile variation in the tileset. Returns a zero vector if the cell doesn't have autotiling. + Returns the coordinate (subtile column and row) of the autotile variation in the tileset. Returns a zero vector if the cell doesn't have autotiling. </description> </method> <method name="get_cellv" qualifiers="const"> @@ -161,7 +161,7 @@ <description> Sets the tile index for the cell given by a Vector2. An index of [code]-1[/code] clears the cell. - Optionally, the tile can also be flipped, transposed, or given autotile coordinates. + Optionally, the tile can also be flipped, transposed, or given autotile coordinates. The autotile coordinate refers to the column and row of the subtile. [b]Note:[/b] Data such as navigation polygons and collision shapes are not immediately updated for performance reasons. If you need these to be immediately updated, you can call [method update_dirty_quadrants]. Overriding this method also overrides it internally, allowing custom logic to be implemented when tiles are placed/removed: |