I like to keep previous dialogue on the screen when I give the player choices to pick from. Although I code things exactly the same way within my scripts for these menus, for whatever reason--there are strange instances when my narration box will completely disappear, and the text that should stay within a narration box ends up going into the menu box:
and then there are other times where everything stays where it belongs: ( It actually seemed initially to stay put if it was previously said by a character and not a narrator. But I ended up discovering that sometimes, that isn't the case ... )
I'm really not sure what's going on here.
Here's the menu customization code I'm using:
Code: Select all
screen choice(items):
window:
style "menu_window"
xalign 0.3
yalign 0.6
xsize 0.8
background "images/misc/fcchoice1.png"
left_padding 22
right_padding 0
top_padding 132
bottom_padding 0
vbox:
style "menu"
spacing 2
for caption, action, chosen in items:
if action:
button:
action action
style "menu_choice_button"
xsize 1.0
idle_background None
hover_background "#ec437a"
top_padding 6
bottom_padding 0
left_padding 10
right_padding 10
text caption:
style "menu_choice"
color "#ec437a"
hover_color "#fff"
text_align 0.0
else:
text caption style "menu_caption"
add "choice_protag"
init:
image choice_protag:
Image("images/misc/fcchoice2.png", xsize=512, ysize=256) Working in-game:
Code: Select all
j "Oh. Are, uh... are you guys heading back to the dorm right now?"
menu:
j "Oh. Are, uh... are you guys heading back to the dorm right now? {fast}"
"\"Yeah.\"":
show junpei aww with dissolve
j "Dang. I was hoping to get some help from Yuka-tan with studying for the
finals, or something."
j "I'm so screwed."
show junpei wow with dissolve
j "You guys up for a group study session back at the dorm?"
"\"After we stop somewhere.\"":
show yukari uh with dissolve
y "Huh?"
show junpei aww with dissolve
j "Dang. I was hoping to get some help from Yuka-tan with studying for the
finals, or something."
j "I'm so screwed."
show junpei wow with dissolve
j "You guys up for a group study session back at the dorm?"
y "Well..." Code: Select all
show yukari uh
y "He might be a pain in the ass, but if something's wrong..."
menu:
y "He might be a pain in the ass, but if something's wrong... {fast}"
"\"Leave it to me.\"":
show yukari grin with dissolve
y "I knew I could count on you."
"\"Don't worry about it.\"":
show yukari uh with dissolve
y "If you say so..." Not working in-game:
Code: Select all
"\> How will you spend the evening?"
menu selection:
"\> How will you spend the evening? {fast}"
"\> Talk with the girls":
jump gconvo
"\> Talk with the guys":
jump bconvo
"\> Go to bed early":
jump sleepCode: Select all
"\> Akihiko seems to be a bit self-conscious..."
menu:
"\> Akihiko seems to be a bit self-conscious... {fast}"
"\"It's great.\"":
show aki smile with dissolve
a "You think so...?"
a "I'm glad. Try to eat as much as you can. You'll need it."
"\"This is too much food...\"":
show aki wince with dissolve
a "Oh... well, you don't have to finish it or anything."
"\> Akihiko is frowning..." 