talk animation with idle after, possible?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
SLim_Games
Newbie
Posts: 19
Joined: Tue Mar 20, 2018 11:37 am
itch: slim-games
Contact:

talk animation with idle after, possible?

#1 Post by SLim_Games » Wed Jun 13, 2018 12:04 pm

Hi,
so I got this talking animation that follows into an idle animation. Since the animation is so long I made it a webm file.
Here is it's current state:

Code: Select all

image c3animation2 = Movie(play="c3Animations/animation2/2.webm", fps=25)
image c3animation3 = Movie(play="c3Animations/animation2/3.webm", fps=25)

image talkAnimation:
    parallel:
        "c3animation2"
    parallel:
        pause 1.3
        "c3animation3"
Ok, it works so far, except that when it goes from the talking to idle animation I get some flickering. I also don't have the pause perfectly timed.
So is there a better way to do this? maybe without using a pause? I tried it with image files, but the animation is too long and it loads really long -> plus it performs bad on android phones
Play my game (nsfw) for free at: https://www.patreon.com/SLim_Games

Post Reply

Who is online

Users browsing this forum: No registered users