From cbe73766e3f9bda7d3f3e17873d1e9b80763f24f Mon Sep 17 00:00:00 2001 From: lucaslcode <32044095+lucaslcode@users.noreply.github.com> Date: Fri, 3 Apr 2020 23:40:31 +0100 Subject: [PATCH] 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. --- doc/classes/TileMap.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index 1db1142aa0c..5b7694b7752 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -43,7 +43,7 @@ - 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. @@ -161,7 +161,7 @@ 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: