[FIX] Sistema de navegació entre pantalles (flow)

- Optimitzat el logo. Ara necessita menys memòria aprofitant les funcions de paleta
This commit is contained in:
2026-04-03 15:29:44 +02:00
parent 2564c54b3e
commit ca0393046e
8 changed files with 147 additions and 95 deletions

View File

@@ -32,7 +32,7 @@ local rect_wait = 0
function title_init()
title_sf=surf.load("title_tiles.gif")
surf.source(title_sf)
flow:add_path({title_show, title_end})
music.play(audio_main_song)
flow:next()
end
@@ -158,10 +158,12 @@ end
function to_game()
print("to game")
fade.fadeoutin()
flow:next()
flow:executar("game")
end
function to_options()
print("to options")
flow:call("opcions")
end
flow:executar("opcions", true)
end
flow:registrar("title", {title_init, title_show, title_end})