NVL Dialogue Transform only on incoming text?
Posted: Sun Mar 30, 2014 12:28 pm
What I'm generally trying to achieve is a fade in and slide from the left affect. I've only done the fade in effect and I came across an issue.
1. I need the dialogue to start from alpha 0 to visible. Right now it shows the text at 1.0 alpha then drops back down to 0, so it looks like blinking instead of fading in.
2. The transforms affect all the text on the screen. I want this transform to only affect that incoming dialogue.
My code
1. I need the dialogue to start from alpha 0 to visible. Right now it shows the text at 1.0 alpha then drops back down to 0, so it looks like blinking instead of fading in.
2. The transforms affect all the text on the screen. I want this transform to only affect that incoming dialogue.
My code
Code: Select all
transform what_fade:
alpha 0
linear 1 alpha 1.0
screen nvl:
window:
style "nvl_window"
has vbox:
style "nvl_vbox"
# Display dialogue.
for who, what, who_id, what_id, window_id in dialogue:
window:
id window_id
has hbox:
spacing 10
if who is not None:
text who id who_id
text what id what_id at what_fade