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