Factoritzades funcions per a conversió de coordenades.

[NEW] Tiles animats
This commit is contained in:
2026-03-28 21:08:45 +01:00
parent 639d2e98ad
commit ac9fcebca9
15 changed files with 393 additions and 201 deletions

View File

@@ -16,7 +16,7 @@ function gorro.init()
-- gorro.x=habs[r][2]*8
gorro.x=habs[r][2]
local world_x, world_y = arc_mapa_get_coords(gorro.hab,gorro.x,gorro.y)
local world_x, world_y = coords.room_to_world(gorro.hab,gorro.x,gorro.y)
gorro.x=world_x
gorro.y=world_y
gorro.update=gorro.update