Factoritzades funcions per a conversió de coordenades.
[NEW] Tiles animats
This commit is contained in:
@@ -16,7 +16,7 @@ function peu.init()
|
||||
-- peu.x=habs[r][2]*8
|
||||
peu.x=habs[r][2]
|
||||
|
||||
local world_x, world_y = arc_mapa_get_coords(peu.hab,peu.x,peu.y)
|
||||
local world_x, world_y = coords.room_to_world(peu.hab,peu.x,peu.y)
|
||||
peu.x=world_x
|
||||
peu.y=world_y
|
||||
|
||||
|
||||
Reference in New Issue
Block a user