try to optimize memory usage a tiny bit by using u16 instead of string

This commit is contained in:
zoe 2022-05-06 21:43:22 +02:00
parent 67d1480f35
commit 7895471778
7 changed files with 24 additions and 20 deletions

View file

@ -1,4 +1,4 @@
extends TileMap
func set_tile_graphics(pos: Vector2, type: String):
func set_tile_graphics(pos: Vector2, id: int):
set_cell(pos.x,pos.y,0,false,false,false,Vector2(1,2))