[SOLVED] Ren'py won't play a list of sounds

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
lykoia
Newbie
Posts: 22
Joined: Tue Apr 14, 2020 11:15 am
Contact:

[SOLVED] Ren'py won't play a list of sounds

#1 Post by lykoia »

Hi, I'm a newbie to Ren'py and stuff and I have a problem - Ren'py doesn't play a list of sounds, only loops the first one.

I use the code

Code: Select all

play music [ "a.ogg", "b.ogg" ] fadeout 1.0 fadein 1.0
I don't know what I did wrong and I really want to play all of the sounds.

Thank you.
Last edited by lykoia on Thu May 07, 2020 9:19 am, edited 1 time in total.

User avatar
Jackkel Dragon
Veteran
Posts: 283
Joined: Mon Mar 31, 2014 7:17 pm
Organization: Nightshade, Team Despair
itch: jackkel-dragon
Location: USA
Contact:

Re: Ren'py won't play a list of sounds

#2 Post by Jackkel Dragon »

Have you tried using "queue" instead of "play"? I think this syntax should still work, but I've not used lists of files for "play" before.
Main Website
Includes information about and links to many of my current and past projects.

Major Game Projects
[Nightshade] Eldritch Academy, Eldritch University, Blooming Nightshade, Flowering Nightshade, Life as Designed
[Team Despair] Corpse Party D2 series

lykoia
Newbie
Posts: 22
Joined: Tue Apr 14, 2020 11:15 am
Contact:

Re: Ren'py won't play a list of sounds

#3 Post by lykoia »

I fixed it by using

Code: Select all

play music ["a.mp3", "b.mp3"] loop
Thank you for your help.

Post Reply

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot]