Code: Select all
who_size = 40,
Code: Select all
what_ypos = 20,
Code: Select all
who_size = 40,
Code: Select all
what_ypos = 20,
Code: Select all
screen say(who, what, side_image=None, two_window=False):
if not two_window:
window:
id "window"
has vbox:
style "say_vbox"
if who:
text who id "who"
text what id "what"
else:
style "say_two_window_vbox"
window:
id "window"
has vbox:
style "say_vbox"
text what id "what"
if who:
window:
yalign .76
style "say_who_window"
text who:
id "who"
Ah! I was trying to put the yalign basically everywhere BUT there. I haven't quite gotten my head around when to use "what" and when to use "who" so I was trying everything under the sun trying to modify the "what." I'm gonna go headdesk, and then try this out. Thanks! XDKia wrote:for a fast fix you can mess with the say screen in screens.rpy, re-arrange the windows and re-position them as well.Code: Select all
if who: window: yalign .76 style "say_who_window" text who: id "who"
Post your code.ScoutDawson wrote:Unfortunately I can't view the sample game because I don't have a Windows computer I can't seem to get the name box to work, for some reason.
The short answer is: you can customize anything and everything, with enough time and patience. ^^Zenytee wrote:How can I do the text box style like in this picture: http://i63.tinypic.com/awt45c.png . And can I do the text style as well like in this picture? or I can only change fonts, text color and size in renpy?
Code: Select all
style window:
background Frame("yourimage.png",10,10)
Code: Select all
style say_dialogue:
font "yourfont.ttf"
color "#000000"
size 22
outlines [(.5, "#666666", 0, 0)]
Code: Select all
init:
$ H = Character("[H]", show_two_window = True)
$ M = Character("Mark", show_two_window = True)
Code: Select all
label start:
stop music fadeout 3.0
show movie
play movie "prologue/mystery.mpg"
$ renpy.pause(24, hard=True)
scene name
$ H = renpy.input("Select your name")
$ H = H.strip()
if H == "":
$ H="Hye"
$ J = renpy.input("Select your lastname")
$ J = J.strip()
if J == "":
$ J="Jang"
label prologue:
scene bg_prologue
play music "prologue/Water Drops.mp3"
show movie
Users browsing this forum: No registered users