Here's my current code in Options.rpy:
Code: Select all
style.say_who_window.background = "gui/namebox.png"
style.window.background = "gui/dialoguebox.png"Code: Select all
style.say_who_window.background = "gui/namebox.png"
style.window.background = "gui/dialoguebox.png"

Code: Select all
# Say
# Screen that's used to display adv-mode dialogue.
# http://www.renpy.org/doc/html/screen_special.html#say
screen say:
# Defaults for side_image and two_window
default side_image = None
default one_window = False
# Decide if we want to use the one-window or two-window variant.
if not one_window:
# The two window variant.
vbox:
style "say_two_window_vbox"
if who:
window:
style "say_who_window"
text who:
id "who"
window:
id "window"
has vbox:
style "say_vbox"
text what id "what"
else:
# The one window variant.
window:
id "window"
has vbox:
style "say_vbox"
if who:
text who id "who"
text what id "what"
# If there's a side image, display it above the text.
if side_image:
add side_image
else:
add SideImage() xalign 0.0 yalign 1.0
# Use the quick menu.
use quick_menuCode: Select all
# Say
# Screen that's used to display adv-mode dialogue.
# http://www.renpy.org/doc/html/screen_special.html#say
screen say(who, what, side_image=None, two_window=False):
# Decide if we want to use the one-window or two-window variant.
if not two_window:
# The one window variant.
window:
id "window"
has vbox:
style "say_vbox"
if who:
text who id "who"
text what id "what"
else:
# The two window variant.
vbox:
style "say_two_window_vbox"
if who:
window:
style "say_who_window"
text who:
id "who"
window:
id "window"
has vbox:
style "say_vbox"
text what id "what"
# If there's a side image, display it above the text.
if side_image:
add side_image
else:
add SideImage() xalign 0.0 yalign 1.0
# Use the quick menu.
use quick_menuCode: Select all
has vbox:
style "say_vbox"
ypos 20 #Change to your number
xpos 20 #Change to your number
Code: Select all
text who:
id "who"
ypos 20 #Change to your number
Code: Select all
screen say(who, what, side_image=None, two_window=True):
Users browsing this forum: Bing [Bot]