For several days I've been working on the problem and can not understand how can I solve it.
Let me explain. I have 4 sprites: background, character, walltexture with window and effect.
Character is a LiveComposite (emotions etc).
Walltexture just a transparent texture (image "images/wall.png")
Effect is a transparent png (appears via screen effect_exp_fire) I want to see under walltexture
I tried compose it with screen:
Code: Select all
screen effect_exp_fire():
zorder 100
add "images/effect_fire.png" at tr_effect_fire(2.5)
transform tr_effect_fire(ddel):
on show:
alpha 0
pause ddel
ease ddel alpha 1
on hide:
pause ddel
ease ddel alpha 0
Code: Select all
label location_cycling:
scene bg_chamber # background
show character_1 # character obviously
show walltexture # wall with window
# here is cycling
jump location_cycling
# then I click on textbutton to jump here
label show_fire:
show screen effect_exp_fire # effect with fire I want to see under walltexture
pause 2.5
hide screen effect_exp_fire # hide effect
jump location_cycling
Well, then I tried apply transform to layer in LiveComposite, but Transform() didn't support arguments like alpha 0.0 to alpha 1.0 through ease 0.4 or something.
What I'm doing wrong? halp