how can i playing sounds in NVL mode?

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
wtfman
Regular
Posts: 33
Joined: Sat Mar 30, 2013 7:26 pm
Contact:

how can i playing sounds in NVL mode?

#1 Post by wtfman » Sat Mar 30, 2013 7:32 pm

i want playing sound effects when clicking select buttons in NVL mode

i using style settings... but has no effect. how can i do this?

User avatar
mjshi
Regular
Posts: 179
Joined: Wed Mar 13, 2013 9:55 pm
Completed: MazeSite01, Ponderings of Time
Contact:

Re: how can i playing sounds in NVL mode?

#2 Post by mjshi » Sun Mar 31, 2013 12:16 am

By "select buttons" do you mean by clicking certain buttons there'd be different sounds?
That would easily be done using the regular nvl menu and "play music"

Code: Select all

menu:
    "Choice A":
         play channel "sfx.mp3"
         "Dialogue here"
    "Choice B":
         play channel "sfx2.mp3"
         "Dialogue here"
...or something like that.

If you're just trying to make it that when you make a choice in NVL mode then a sound plays, shouldn't the options.rpy file have customizations for that? And how would it not work, can you post your script that contains the sfx customization and the blocks one to three lines above and below it? Check to see if the filename and the file extension is correct; whenever something like that happens it's usually because I defined it wrong.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]