I have the following code in RenPy for the VN i am creating. It plays the image series as i call it and the sound plays along which is great. Only problem is the sound carries on until the player clicks again.
I do not want the sound to loop, it must only play once you have activated the image series action.
Any idea why it would loop and not stop?
I have to add, i have taken away the fadeout part but then there is no sound.
scene fyvickyjen1
j "VICTORIA..."
#SHOW IMAGE SERIES
show bg fyenteroffice
play music "images/ch3/whoosh.wav"
#no delay
j "Oh not what happened?"
stop music fadeout 0.3
scene fyvickyjen2
vp "It's not... I... ah Jensen..."
The easiest way to do it is to replace "play music" with "play sound". Calling it music means it loops by default, and calling it sound means it doesn't by default. Also, for future reference, I think this should be in the Renpy Questions & Announcements section.