Showing results for on docs.godotengine.org
...TileMap layer layer
.
void set_pattern(layer: int, position: Vector2i, pattern: TileMapPattern) 🔗
Paste the given TileMapPattern at the given position
and layer
.
void set_pattern(layer: int, position: Vector2i, pattern: TileMapPattern) 🔗
Paste the given TileMapPattern at the given position
and layer
...TileMap layer layer
.
void set_pattern(layer: int, position: Vector2i, pattern: TileMapPattern) 🔗
Paste the given TileMapPattern at the given position
and layer
.
void set_pattern(layer: int, position: Vector2i, pattern: TileMapPattern) 🔗
Paste the given TileMapPattern at the given position
and layer
...Unlike the TileMap node, which is deprecated, TileMapLayer has only one layer of tiles. You can use several TileMapLayer to achieve the same result...
...Unlike the TileMap node, which is deprecated, TileMapLayer has only one layer of tiles. You can use several TileMapLayer to achieve the same result...
...Be careful though, as removing a layer will also remove all tiles that were placed on the layer.
Opening the TileMap editor
Select the...
Opening the TileMap editor
Select the...
...Be careful though, as removing a layer will also remove all tiles that were placed on the layer.
Opening the TileMap editor
Select the...
Opening the TileMap editor
Select the...
...Isometric TileSet works best if TileMap and all its layers have Y-sort enabled.
TileShape TILE_SHAPE_HALF_OFFSET_SQUARE = 2
Rectangular tile shape with one row/column...
TileShape TILE_SHAPE_HALF_OFFSET_SQUARE = 2
Rectangular tile shape with one row/column...
...For example, adding a physics layer allows giving collision shapes to your tiles. Each layer has dedicated properties (physics layer and mask), so you...
...relative to TileMap.
Method Descriptions
void add_collision_polygon(layer_id: int) 🔗
Adds a collision polygon to the tile on the given TileSet physics layer.
void add_occluder_polygon...
Method Descriptions
void add_collision_polygon(layer_id: int) 🔗
Adds a collision polygon to the tile on the given TileSet physics layer.
void add_occluder_polygon...
Using GridMaps
Introduction
Gridmaps are a tool for creating 3D game levels, similar to the way TileMap works in 2D. You start with a...
Introduction
Gridmaps are a tool for creating 3D game levels, similar to the way TileMap works in 2D. You start with a...