What I am trying to accomplish is like this video. (2:38 - 2:40).
You can see how when the other character starts speaking, the first character's (Speaker A's) name moves right and disappears, while the entering name (Speaker B) moves in left and appears.
I've managed to replicate the "entering and appearing" part like so:
Code: Select all
screen say(who, what):
style_prefix "say"
if not config.skipping and what: ##This keeps the sound from playing when the dialogue is being skipped.
on 'hide' action Play('sound', 'audio/sfx/next.wav') ## This plays the sound whenever the window is hidden.
window:
id "window"
if who is not None:
window:
id "namebox"
style "namebox"
text who id "who" at say_label
text what id "what"
Code: Select all
style say_label:
properties gui.text_properties("name", accent=True)
transform say_label:
xalign 0.2 yalign 0.5 alpha 0.0
linear 0.1 xalign gui.name_xalign alpha 1.0
Forgive me if this is a simple trick I'm failing to pull off. I haven't touched Ren'Py in over half a decade, and even back then I was a newbie, so stuff like this is still a little new to me.
Thank you and have a good day.