1. I used the 'centered outline' code on the renpy website and only deleted the timer code on the last line, but for some reason only certain sentences are centered correctly while other lines are aligned to the left like the default setting.
Here are two printscreens of what I'm talking about.
Short sentence
Long sentence
Did I make an error somewhere?
2. Another thing is that the text advances even when I don't click anything but I haven't changed anything to make it do that in the first place? Is there something I can do to stop it?
Here's the coding of the first scene:
Code: Select all
# The game starts here.
label start:
scene first dream at Pan((0, 0), (0, 588), 20.0)
with dissolve
$ outline = Character(None,
what_size=30,
what_xalign=0.5,
window_xalign=0.5,
window_yalign=0.5,
what_text_align=0.5,
window_background=None,
what_outlines=[(3, "#FFFFFF", 2, 2), (3, "#666666", 0, 0)])
outline "{i}You know what I’ve always {size=+12}dreamt{/size} of since I was a child?{/i}"
outline "It may be {size=+12}silly{/size} but..."
play music "free10-Childhood.mp3"
outline "I've always wanted to own my own little {size=+12}café.{/size}"
outline "Having a {size=+12}place{/size} where, after a long hard day of work..."
outline "People can come to {size=+12}relax.{/size}"
outline "Letting go of their troubles, problems and burdens... {size=+12}even{/size} if it's only temporary."
outline "And for me, it would be waking up each morning, and making sure to see everyone{size=+12} smiling.{/size}"
outline "Seeing the {size=+12}staff{/size} hard at work and the {size=+12}customers{/size} enjoying their time..."
outline "The customers, the staff... they'd all be like one big {size=+12}family.{/size}"
outline "I told you it's silly!"
outline "{i}But... I really would... like one... if only, I had the {size=+12}chance{/size} to...{/i}"
stop music fadeout 1.0
scene black
with dissolve