I managed to successfully add a button on the navigation menu:
I just added a button that calls a screen to the nav buttons:
Code: Select all
if quick_menu:
hbox:
style_prefix "quick"
xalign 0.5
yalign 1.0
textbutton _("Back") action Rollback()
textbutton _("History") action ShowMenu('history')
textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True)
textbutton _("Auto") action Preference("auto-forward", "toggle")
textbutton _("Save") action ShowMenu('save')
textbutton _("Q.Save") action QuickSave()
textbutton _("Q.Load") action QuickLoad()
textbutton _("Prefs") action ShowMenu('preferences')
textbutton _("journal") action Show('nav_screen') ##right here
Code: Select all
screen nav_screen():
add "journal.png"
modal True
textbutton _("voltar"):
style "return_button"
action Return()but then it when I click on return the image of the journal doesn't disappear, the game text keeps going but the image is still there:
i tried to hide it but is never valid, how do I do this?