how to do animation

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
Littleblackcat
Newbie
Posts: 20
Joined: Wed Dec 18, 2013 11:42 am
Contact:

how to do animation

#1 Post by Littleblackcat » Mon Jan 20, 2014 9:17 am

Is it possible to animate my visual novel, besides making the characters blink.
Is it easy, if so please give me the lines i should type in.

Also, after I click build distributions, I can't open my game. Why?

User avatar
Taleweaver
Writing Maniac
Posts: 3428
Joined: Tue Nov 11, 2003 8:51 am
Completed: Metropolitan Blues, The Loyal Kinsman, Daemonophilia, The Dreaming, The Thirteenth Year, Adrift, Bionic Heart 2, Secrets of the Wolf, The Photographer
Projects: The Pilgrim's Path, Elspeth's Garden, Secret Adventure Game!
Organization: Tall Tales Productions
Location: Germany
Contact:

Re: how to do animation

#2 Post by Taleweaver » Mon Jan 20, 2014 11:49 am

Despite being phrased not exactly well, this seems to be a Ren'Py question.

Moving.
Scriptwriter and producer of Metropolitan Blues
Creator of The Loyal Kinsman
Scriptwriter and director of Daemonophilia
Scriptwriter and director of The Dreaming
Scriptwriter of Zenith Chronicles
Scriptwriter and director of The Thirteenth Year
Scriptwriter and director of Romance is Dead
Scriptwriter and producer of Adrift
More about me in my blog
"Adrift - Like Ever17, but without the Deus Ex Machina" - HigurashiKira

Crazy Li
Regular
Posts: 112
Joined: Fri Jan 03, 2014 3:35 pm
Contact:

Re: how to do animation

#3 Post by Crazy Li » Mon Jan 20, 2014 3:46 pm

Littleblackcat wrote:Is it possible to animate my visual novel, besides making the characters blink.
Is it easy, if so please give me the lines i should type in.
There are a number of ways to do animations. You can use the old way of

Code: Select all

image character laughing = Animation("laughing01.png", 0.2, "laughing02.png", 0.2, "laughing03.png", 0.2)
Where each frame of the animation is a separate image that you can define with the numbers between each being how long to wait before advancing to the next frame. If you want more flexibility, you can also use ATL to accomplish this.

Code: Select all

image character laughing:
    "laughing01.png"
    0.2
    "laughing02.png"
    0.2
    "laughing03.png"
    0.2
    repeat
Same basic principal but different way of writing it. The advantage of using ATL is that you can use other ATL code in here as well to do more things with your image than simply animate it, should you need to.

You can also pre-animate your image and save it as some animated format that Ren'py supports and just define that.
Littleblackcat wrote:Also, after I click build distributions, I can't open my game. Why?
Build Distributions creates an archive with all of the files of your game.
You can't execute files within archives that are dependent upon other files.
The only way to run an archived game is to first extract it to a folder somewhere on your computer and then launch the game from that folder.

Littleblackcat
Newbie
Posts: 20
Joined: Wed Dec 18, 2013 11:42 am
Contact:

Re: how to do animation

#4 Post by Littleblackcat » Thu Jan 23, 2014 10:53 am

oh thank you so much

i am computer illiterate so i can never use the right terminology!

Littleblackcat
Newbie
Posts: 20
Joined: Wed Dec 18, 2013 11:42 am
Contact:

Re: how to do animation

#5 Post by Littleblackcat » Sun Jan 26, 2014 9:59 am

No it didn't work! i moved the files elsewhere but i can't open them!!
Its due for tomorrow so can someone help quickly!

Thank you

Crazy Li
Regular
Posts: 112
Joined: Fri Jan 03, 2014 3:35 pm
Contact:

Re: how to do animation

#6 Post by Crazy Li » Sun Jan 26, 2014 11:55 am

Littleblackcat wrote:No it didn't work! i moved the files elsewhere but i can't open them!!
Its due for tomorrow so can someone help quickly!

Thank you
Actual information? What did you do? Why can't you open it? What happens? What errors are you getting? We can't help you if you don't really make it clear what's wrong.

Littleblackcat
Newbie
Posts: 20
Joined: Wed Dec 18, 2013 11:42 am
Contact:

Re: how to do animation

#7 Post by Littleblackcat » Sun Jan 26, 2014 12:38 pm

it simply will not open- thats it
by the way i am using a mac

Littleblackcat
Newbie
Posts: 20
Joined: Wed Dec 18, 2013 11:42 am
Contact:

Re: how to do animation

#8 Post by Littleblackcat » Sun Jan 26, 2014 1:01 pm

i attached the error
Attachments
Screen Shot 2014-01-26 at 21.00.33.png

User avatar
PyTom
Ren'Py Creator
Posts: 15604
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: how to do animation

#9 Post by PyTom » Sun Jan 26, 2014 1:42 pm

Can you try renaming things - both the files on disk, and the names in options.rpy, so there aren't any special characters in the name? The use of colon and emdash seems that they might have the potential to confuse things.

If that doesn't work, please zip up the project and send me the files. (Either via pm, or email to pytom@bishoujo.us.) I'll debug things here and fix them shortly.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Google [Bot]