- Jul 1, 2017
- 71
- 175
You are right about the "blinks" taking longer than in real life, but myYou must be registered to see the linksshows different numbers.
* The average real blink is between 100ms and 400ms. And it has a frequency of 3-4 seconds.
* My Dorm blinks are 1,100 ms (2.75-11 times slower) followed by 3 idle seconds, so they happen every 4.1 seconds.
Since Ren'py default transition lasts for 0.25 seconds and the blink animation is:
Open eyes (3 seconds) - Midway (0.3s) - Closed (0.5s) - Midway (0.3s) - Open - Repeat
It's hard to accelerate it without weird effects. I tried a lot of combinations. Even reducing the Closed stage to 0.3s gave it a strange look.
I'm not justifying myself. I'm explaining why the "slow blinking" was a design choice.
Thanks for the explanation. This would be my take...
Python:
define blink = Fade(0.025, 0.0, 0.025) # 25ms fade out, 0.0 hold, 25ms fade in
image imageWithBlinking:
"someImage"
pause 7 # wait for 7s
# drop the 'mid' image
"someImage_eyesClosed" with blink
"someImage" with blink # total transition time: 100ms
repeat
label thingsWeDidntAskFor:
scene imageWithBlinking with fade
narrator "This is untested code, off the top of my head."