Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Wed May 22, 2013 8:27 am

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu May 03, 2012 8:07 am 
Regular

Joined: Fri Apr 20, 2012 4:44 am
Posts: 47
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


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group