[Bug] Movie displayable not visible when set config.single_movie_channel

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
jeffster
Miko-Class Veteran
Posts: 520
Joined: Wed Feb 03, 2021 9:55 pm
Contact:

[Bug] Movie displayable not visible when set config.single_movie_channel

#1 Post by jeffster »

I make a mini-game with a movie background. Per default, movies play audio through "music" channel. I wanted to have a different volume setting for mini-game sounds, so I decided to use "voice" channel (not used previously).

Thus, as it's possible in Ren'Py 7.4.8, I set

Code: Select all

define config.single_movie_channel = "voice"
But then Movie displayables are not visible. Test code:

Code: Select all

define config.single_movie_channel = "voice"
image test = Movie(play="test.webm")

screen my_movie():
    add "test"
    textbutton "End" action Return() align (0.5, 0.5)

label main_menu:
    return

label start:

    "1. renpy.movie_cutscene works (click to see)"
    $ renpy.movie_cutscene("test.webm")

    "2. Movie() displayable doesn't work (click to see)"
    call screen my_movie

    "End"
The same happens if I set config.single_movie_channel to "sound".

Tested on Linux desktop. The video file is attached.
Attachments
test.webm.zip
(1.67 MiB) Downloaded 10 times
If the problem is solved, please edit the original post and add [SOLVED] to the title. 8)

jeffster
Miko-Class Veteran
Posts: 520
Joined: Wed Feb 03, 2021 9:55 pm
Contact:

Re: [Bug] Movie displayable not visible when set config.single_movie_channel

#2 Post by jeffster »

PS. I guess I will be using "music" channel, temporarily adjusting its volume.
If the problem is solved, please edit the original post and add [SOLVED] to the title. 8)

User avatar
Alex
Lemma-Class Veteran
Posts: 3098
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: [Bug] Movie displayable not visible when set config.single_movie_channel

#3 Post by Alex »

jeffster wrote: Wed Sep 22, 2021 6:59 am PS. I guess I will be using "music" channel, temporarily adjusting its volume.
You can create your own channel(s) for videos in mini-game - viewtopic.php?f=8&t=62256#p543202

jeffster
Miko-Class Veteran
Posts: 520
Joined: Wed Feb 03, 2021 9:55 pm
Contact:

Re: [Bug] Movie displayable not visible when set config.single_movie_channel

#4 Post by jeffster »

Alex wrote: Thu Sep 23, 2021 11:23 am You can create your own channel(s) for videos in mini-game - viewtopic.php?f=8&t=62256#p543202
I know. It just seemed simpler to reuse an existing channel.

Now I know that's not the case. E.g. rollback breaks the synchronization between volume parameters, and then a rabbit's hole of workarounds starts. :)

So using a custom channel is next on my list.
If the problem is solved, please edit the original post and add [SOLVED] to the title. 8)

Post Reply

Who is online

Users browsing this forum: bilmem