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 gps.init()
-- gps.x=habs[r][2]*8
gps.x=habs[r][2]
local world_x, world_y = arc_mapa_get_coords(gps.hab,gps.x,gps.y)
local world_x, world_y = coords.room_to_world(gps.hab,gps.x,gps.y)
gps.x=world_x
gps.y=world_y