From ad8b5cd5a439c341b79688dd500b8dffb5762ea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gilles=20Roudi=C3=A8re?= Date: Wed, 28 Jul 2021 18:10:01 +0200 Subject: Implements TileMap layers and move TileSetPlugins's functions to the TileMap node instead --- doc/classes/TileMap.xml | 94 +++++++++++++++++++++++++++++++++++++++++-------- doc/classes/TileSet.xml | 2 -- 2 files changed, 80 insertions(+), 16 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index 957619ad81..f3c64c3c7d 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -31,22 +31,43 @@ - - + + + - - + + + - - + + + + + + + + + + + + + + + + + + + + + @@ -65,6 +86,7 @@ + Returns a [Vector2] array with the positions of all cells containing a tile from the tileset (i.e. a tile index different from [code]-1[/code]). @@ -75,6 +97,18 @@ Returns a rectangle enclosing the used (non-empty) tiles of the map. + + + + + + + + + + + + @@ -84,18 +118,48 @@ - - - - + + + + + Sets the tile index for the cell given by a Vector2i. - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - Updates the tile map's quadrants, allowing things such as navigation and collision shapes to be immediately used if modified. @@ -110,9 +174,11 @@ The TileMap's quadrant size. Optimizes drawing by batching, using chunks of this size. - + + + - + The assigned [TileSet]. diff --git a/doc/classes/TileSet.xml b/doc/classes/TileSet.xml index 27e31f25a4..439c6e3830 100644 --- a/doc/classes/TileSet.xml +++ b/doc/classes/TileSet.xml @@ -329,8 +329,6 @@ - - -- cgit v1.2.3