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

@@ -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