A Tile class is the key to creating tile-based games. It holds a map of tile types, a set of colliders, and textures for each type of tile.
Tile
textures: A set of textures that represent each type of tile.
textures
tile_map: A 2D map of tile types, where each tile type corresponds to a texture.
tile_map
colliders: A set of collision boundaries that correspond to each tile in the tile map.
colliders
Last updated 2 years ago