[FIX] Canviat el nom de flow a states que es mes precis

[FIX] Ajustada posició del peu en habitació 27
[FIX] Modificat trigger_event per a que es disparen en una habitació concreta i també segons distancia sense haver de colisionar
[FIX] Ending stage 1
[FIX] ELiminades llunes duplicades
[NEW] Dialeg per a l'abad
This commit is contained in:
2026-05-10 14:08:11 +02:00
parent 8657dfd918
commit 45ea1b33bf
16 changed files with 105 additions and 80 deletions
+4 -4
View File
@@ -49,7 +49,7 @@ function logo_init()
-- Següent bucle
-- game_update = logo_intro
local modul, pas=flow:next()
local modul, pas=states:next()
print("LOGO_INIT= "..modul..", "..pas)
end
@@ -175,7 +175,7 @@ function logo_end()
-- print("LOGO_END")
-- game_update = intro_init
print("logo_end")
flow:executar("intro")
states:executar("intro")
-- surf.free(logo_sf)
end
@@ -185,7 +185,7 @@ function logo_animate()
-- Següent bucle
if logo_step==7 or controller:check("ESC") or controller:check("shoot") then
local modul, pas=flow:next()
local modul, pas=states:next()
-- print("LOGO_ANIMATE 1= "..modul..", "..pas)
end
@@ -193,4 +193,4 @@ function logo_animate()
logo_update()
end
flow:registrar("logo",{logo_init, logo_animate, logo_end})
states:registrar("logo",{logo_init, logo_animate, logo_end})