Factoritzades funcions per a conversió de coordenades.
[NEW] Tiles animats
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user