Sound during 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
city
Newbie
Posts: 23
Joined: Mon Jul 04, 2016 6:30 pm
Contact:

Sound during animation

#1 Post by city » Sat Sep 24, 2016 5:06 pm

Is there any way to add sound to an animation?

Here's my non-functional code so you can see how I'm thinking (they're LiveComposite images):

Code: Select all

image tree:
    play sound "rustle.mp3"
    "tree_shake" with hpunch
    0.5
    "tree_rest" with Dissolve(0.8)
    1.0
    repeat
Any help would be appreciated!

Post Reply

Who is online

Users browsing this forum: Google [Bot]