Factoritzades funcions per a conversió de coordenades.
[NEW] Tiles animats
This commit is contained in:
@@ -9,7 +9,7 @@ bol_gif_row = 3
|
||||
bol={hab=39,x=4,y=3,w=32,h=16,bb={x=0,y=0,w=16,h=8}}
|
||||
|
||||
function bol.init()
|
||||
local world_x, world_y = arc_mapa_get_coords(bol.hab,bol.x,bol.y)
|
||||
local world_x, world_y = coords.room_to_world(bol.hab,bol.x,bol.y)
|
||||
bol.x=world_x-8
|
||||
bol.y=world_y+2
|
||||
bol.update=bol.update
|
||||
|
||||
Reference in New Issue
Block a user