As I said in the original post I did that and it said that channel was not defined, But I managed to get the answer elsewhere.
The correct code for what I wanted is this:
$ renpy.music.stop(channel='music', fadeout=None)
now if I change channel=music to channel=sfx1 it works as it should.
Search found 5 matches
- Sun Jul 10, 2022 6:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: Stopping specific created audio channels
- Replies: 5
- Views: 216
- Sun Jul 10, 2022 6:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: Stopping specific created audio channels
- Replies: 5
- Views: 216
Re: Stopping specific created audio channels
That does not do what I said in the post. that stops the campfire audio, NOT the defined audio channel I created.
- Sat Jul 09, 2022 10:05 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Stopping specific created audio channels
- Replies: 5
- Views: 216
Stopping specific created audio channels
So I have made 3 more audio channels in my game to go along with the basic ones (Sound, music and voice). I found this code online and slapped it in. renpy.music.register_channel("sfx1", "sfx") renpy.music.register_channel("sfx2", "sfx") renpy.music.register_channel("sfx3", "sfx") So now I have this...
- Wed Apr 22, 2020 10:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: Looping a movie until user stops it.
- Replies: 2
- Views: 223
Looping a movie until user stops it.
ok in my game I want a movie to display and loop until it is stopped. this is my current code: $ renpy.movie_cutscene("images/707.ogg") that plays the movie till it stops and then it reverts to the previous scene. I want the movie to loop until it is stopped and not revert to the previous image. I t...
- Fri Mar 13, 2020 6:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: android build fail
- Replies: 5
- Views: 344
android build fail
I made a project and built the first version just fine. Now when I try to build the updated 2nd version for android I keep getting a failure. this is the text I get: Ren’Py 7.3.5.606 Updating project. Creating assets directory. Packaging internal data. I’m using Gradle to build the package. Starting...