codename-routes/godot/world/Tilemap.gd

5 lines
120 B
GDScript
Raw Normal View History

extends TileMap
func set_tile_graphics(pos: Vector2, id: int):
set_cell(pos.x,pos.y,0,false,false,false,Vector2(1,2))