Page 1 of 1

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

Posted: Wed Sep 22, 2021 6:33 am
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.

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

Posted: Wed Sep 22, 2021 6:59 am
by jeffster
PS. I guess I will be using "music" channel, temporarily adjusting its volume.

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

Posted: Thu Sep 23, 2021 11:23 am
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

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

Posted: Thu Sep 23, 2021 1:34 pm
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.