I did this a while ago and some time after that I found another way to do the same. lemme share the code and see if you can use it.
first way: (keep in mind I did this just when I started with renpy so it's messy)
in options
Code: Select all
#########################################
## These settings let you customize the window containing the
## dialogue and narration, by replacing it with an image.
## The background of the window. In a Frame, the two numbers
## are the size of the left/right and top/bottom borders,
## respectively.
style.window.background = Frame("items/ghab.png", 25, 25)
style.button.background = Frame("items/men.png", 25, 25)
## Margin is space surrounding the window, where the background
## is not drawn.
style.window.left_margin = 30
style.window.right_margin = 30
# style.window.top_margin = 6
style.window.bottom_margin = 5
## Padding is space inside the window, where the background is
## drawn.
style.window.left_padding = 10
style.window.right_padding = 10
style.window.top_padding = 10
style.window.bottom_padding = 10
style.window.xfill=False
#style.window.xpos = 1.0
style.window.xalign = 0.0
## This is the minimum height of the window, including the margins
## and padding.
style.window.yminimum = 30
style.say_who_window.background = None
style.say_who_window.bottom_margin = -25
style.say_label.outlines=[(3, "#000055", 0, 0)]
style.say_who_window.xfill=True
#style.say_who_window.xfill = False
characters
Code: Select all
define narrator = Character(None,what_text_align=0.5,window_xalign=0.5,window_yalign=0.5, what_outlines=[(3, "#000000", 2, 2), (3, "#777777", 0, 0)], what_color="#ffffff")
define gen = Character('Gen', show_two_window=True, window_background=Frame("items/frmgen.png", 10, 10),color="#0066ff",what_color="#ffffff")
define lol = Character('Lola',show_two_window=True,window_xalign=1.0,who_xalign=1.0,window_background=Frame("items/frmlol.png", 10, 10), color="#ffff00", what_color="#000000")
style.say_who_window.xfill=True is the line that makes it possible if I recall correctly
and the other way is:
http://lemmasoft.renai.us/forums/viewto ... 32&t=28567