Factoritzades funcions per a conversió de coordenades.
[NEW] Tiles animats
This commit is contained in:
@@ -10,7 +10,7 @@ gota_gif_row = 0
|
||||
gota={}
|
||||
|
||||
function gota.new(_hab,_x,_y,_freq,_x_offset, _y_offset)
|
||||
local world_x, world_y = arc_mapa_get_coords(_hab,_x,_y)
|
||||
local world_x, world_y = coords.room_to_world(_hab,_x,_y)
|
||||
_x_offset = _x_offset or 0
|
||||
_y_offset = _y_offset or 0
|
||||
world_x = world_x+_x_offset
|
||||
|
||||
Reference in New Issue
Block a user