[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user