Ok,
I have two sprite animations that need to be end to end no matter when I click. In other words, when I click to advance the scene during the first animation, I need that animation to finish, then have the next one follow in directly behind it, play once all the way through, then return to the previous animation.
I have the click-play-return part down, I just can't get them to play all the way through. The following one always interrupts the preceding one exactly when I click.
It's a walk cycle animation that will stay in the left side of the window, and I need my click to trigger the animation change without any skipped frames. Hence the need to complete each animation.
it's one of those image/pause sprite animations...
image...
pause .1
image
pause .1
repeat
I tried that hard=True thing, but I don't really know how to use it, or where it goes. Couldn't find it in the documentation.
Animations need to complete, and transition end-to-end.
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.
- Steffenator
- Regular
- Posts: 53
- Joined: Fri Feb 17, 2017 11:58 am
- Contact:
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3792
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Animations need to complete, and transition end-to-end.
A hard pause is not what you want, but for reference's sake:
Code: Select all
show my_animation
$ renpy.pause (3, hard=True)#3 aecond pause that is unskippable
alice "Wow, I'm walking."
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- Steffenator
- Regular
- Posts: 53
- Joined: Fri Feb 17, 2017 11:58 am
- Contact:
Re: Animations need to complete, and transition end-to-end.
Got it, thanks!
Who is online
Users browsing this forum: Bing [Bot], Vamp-sama