Is it possible to make animated pose transitions?

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
User avatar
AllegraTown
Newbie
Posts: 13
Joined: Wed Jul 04, 2018 10:12 pm
Projects: ARTISAN
Organization: The Order Of The Frame
Contact:

Is it possible to make animated pose transitions?

#1 Post by AllegraTown » Thu Nov 07, 2019 7:25 pm

Hey! I'm an animator and I started wondering if I could give my character sprites hand drawn animated transitions. What would be the most technically efficient way to do this and to make it as easy as possible for the Ren'py programmer? Thanks.

User avatar
Milkymalk
Miko-Class Veteran
Posts: 752
Joined: Wed Nov 23, 2011 5:30 pm
Completed: Don't Look (AGS game)
Projects: KANPEKI! ★Perfect Play★
Organization: Crappy White Wings
Location: Germany
Contact:

Re: Is it possible to make animated pose transitions?

#2 Post by Milkymalk » Mon May 04, 2020 9:37 am

Okay, unearthing this old question...

You can't animate transitions (easily), but you can animate images into a still image:

Code: Select all

image eileen normal = "eileen.png"

image eileen armscrossed = "eileen_armscrossed.png"

image eileen normaltoarmscrossed:
    "eileen.png"
    0.1
    "eileen1.png"
    0.1
    "eileen2.png"
    0.1
    "eileen3.png"
    0.1
    "eileen4.png"
    0.1
    "eileen_armscrossed.png" # <--- will stop at this point
You need a full animation set for each start-stop pair of poses and have to manually show these during the script. So instead of just showing the new pose, you instead show the pose animation. You need to remember which was the last finishing pose in addition to which pose you want to show. It's doable, just a lot of work. If you have 5 poses, you will have to do 10 animations if you want to be able to move freely between all poses.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)

Post Reply

Who is online

Users browsing this forum: Bing [Bot], GetOutOfMyLab, mold.FF