[WIP] Treballant en el jefe. Organitzant codi (Ha deixat de funcionar quasi tot)

[FIX] Els warps reutilitzats mantenien l'estat anterior
[NEW] Funcio distancia(a, b)
This commit is contained in:
2026-04-12 23:02:35 +02:00
parent f26d43a97d
commit a43173a940
15 changed files with 1293 additions and 22 deletions

View File

@@ -79,6 +79,11 @@ function warp.open(actor)
w.x = actor.x
w.y = actor.y
w.actor = actor
w.frame = 0
w.wait = 0
w.step = 0
w.angle = 0
w.d_angle = 5
return e; -- reutilitzar
end
end