Layered Side Image ghosting with dissolve transform
Posted: Sun Feb 03, 2019 4:27 pm
I'm using a transform to dissolve when a new side character speaks. However, it has been creating this ghosting effect where the body layer will dissolve before the rest of the layered attributes leaving the face for seconds more. Is there a way to fix this, Here's my code.
Code: Select all
define config.side_image_change_transform = change_transform
transform change_transform(old, new):
contains:
old
alpha 1.0
linear 0.3 alpha 0.0
contains:
new
alpha 0.0
linear 0.3 alpha 1.0
Code: Select all
layeredimage side nina:
xalign 1.0 ypos 575
always "images/chars/nina/nina_base.png"
group eyes:
pos (125, 113)
attribute open default:
"nina_eyes_open"
attribute glance:
"nina_eyes_glance"
attribute sad:
"nina_eyes_sad"
attribute laugh:
"nina_eyes_laugh"
attribute bright:
"nina_eyes_bright"
attribute closed:
"images/chars/nina/blink.png"
group face:
pos (111, 73)
attribute normal default:
"nina_face_normal"
attribute calm:
"nina_face_calm"
attribute cry:
"nina_face_cry"
attribute empty:
"nina_face_empty"
attribute laugh:
"nina_face_laugh"
attribute scowl:
"nina_face_scowl"
attribute smile:
"nina_face_smile"
attribute tears:
"nina_face_tears"
Code: Select all
image nina_eyes_open:
"images/chars/nina/o.png"
choice:
pause 4
choice:
pause 9
choice:
pause 6
"images/chars/nina/blink.png"
pause 0.1
"images/chars/nina/ob.png"
pause 0.1
repeat