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")
)
Temporarily suspend animation when certain image is shown...
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Temporarily suspend animation when certain image is shown...
alwaysthesamebluesky.com
Who is online
Users browsing this forum: No registered users