Renpy is proposing a choice system by default, this is this screen if i'm not mistaken :
Code: Select all
screen choice(items):
style_prefix "choice"
vbox:
for i in items:
textbutton i.caption action i.action
## When this is true, menu captions will be spoken by the narrator. When false,
## menu captions will be displayed as empty buttons.
define config.narrator_menu = True
style choice_vbox is vbox
style choice_button is button
style choice_button_text is button_text
style choice_vbox:
xalign 0.5
ypos 1005
yanchor 0.5
spacing 0
#Anciennement : gui.choice_spacing Ou gui.navigation_spacing
style choice_button is default:
properties gui.button_properties("choice_button")
style choice_button_text is default:
properties gui.button_text_properties("choice_button")
However, what I would like to do is not modify this screen but rather create a new one. At times I would like to use the base one, at other times use the new one.
The ideal would have been to copy and paste the "choice screen", rename it then modify it.
however the way to call this screen is not conventional and goes through:
Code: Select all
menu:
Maybe I could do something to get something like:
Code: Select all
menu2: