|
Basically I want to temporarily suspend the blink animation (detailed below) whenever super-happy eyes are used. Is there an easy way to do this or do I have to hide and then show it every time?
Also as a side note, what transition would u guys recommend for just switching between poses/expressions - is not using a transition too harsh?
init: image blink full = anim.SMAnimation("a", anim.State("a", "clear.png"),
# This edge keeps us showing the eyes open for a second. anim.Edge("a", 1.0, "a", prob=5),
# This edge causes the eyes to start closing... anim.Edge("a", 0.025, "b"),
# ..because it brings us here. anim.State("b", "su1-half-blink.png"),
# And so on... anim.Edge("b", 0.025, "c"), anim.State("c", "su1-full-blink.png"), anim.Edge("c", 0.025, "d"), anim.State("d", "su1-half-blink.png"),
# And back to a. anim.Edge("d", 0.5, "a") )
_________________ alwaysthesamebluesky.com
|