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.
-
SONTSE
- Regular
- Posts: 95
- Joined: Sun Nov 24, 2013 10:49 pm
- Completed: 8 VN's so far
-
Contact:
#1
Post
by SONTSE » Thu Aug 14, 2014 5:31 pm
Hello please!
i need a sound to be played after a short delay in main menu screen. how can i bring it in the screen language section? i tried following code
Code: Select all
timer 0.5 action [renpy.sound.play("sound.ogg")]
and it just plays sound ignoring delay
Thanks!
Last edited by
SONTSE on Thu Aug 14, 2014 7:33 pm, edited 1 time in total.
Look! It's moving. It's alive. It's alive... IT'S ALIVE! Oh, in the name of God! Now I know what it feels like to be God!(@Henry_Frankenstein. Sums up my coding style)
-
xela
- Lemma-Class Veteran
- Posts: 2481
- Joined: Sun Sep 18, 2011 10:13 am
-
Contact:
#2
Post
by xela » Thu Aug 14, 2014 6:22 pm
These questions are getting too lazy...
Ren'Py Documntation wrote:Code: Select all
Play(channel, file, **kwargs)
Causes an audio file to be played on a given channel.
channel
The channel to play the sound on.
file
The file to play.
Any keyword arguments are passed to renpy.music.play()
Like what we're doing? Support us at:

-
SONTSE
- Regular
- Posts: 95
- Joined: Sun Nov 24, 2013 10:49 pm
- Completed: 8 VN's so far
-
Contact:
#3
Post
by SONTSE » Thu Aug 14, 2014 7:33 pm
Well, sorry about being lazy (actually not lazy, but rather stupid because i thoroughly searched but in a wrong place lol). Just tested your suggested command, works fine.
Thanks for the help and for new piece of RTFM for me to study...
Look! It's moving. It's alive. It's alive... IT'S ALIVE! Oh, in the name of God! Now I know what it feels like to be God!(@Henry_Frankenstein. Sums up my coding style)
Users browsing this forum: Google [Bot]