Movie displayable won't loop

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
User avatar
Divona
Miko-Class Veteran
Posts: 678
Joined: Sun Jun 05, 2016 8:29 pm
Completed: The Falconers: Moonlight
Organization: Bionic Penguin
itch: bionicpenguin
Contact:

Movie displayable won't loop

#1 Post by Divona »

Problem:

Movie displayable won't loop when all sounds are set to "Mute All" in Preference menu.
Set all sound volumes to 0 manually doesn't affect the ability for movie displayable to loop playback.

The issue only happened when following these conditions:
1. Registered a new audio channel.
2. Play sound through that channel.
3. Play movie displayable.
4. Set all the sounds to mute (Mute All) in Preference menu.
5. Save.
6. Go back to Main Menu.
7. Load the save.

The movie displayable will stop playback after it reached the end of the video duration.
If save and then load the save right away, the movie displayable won't even start to playback.

How to replicate the issue in a new project:

Code: Select all

init python:
    renpy.music.register_channel("atmos", mixer="sfx", loop=True, stop_on_mute=True, tight=True)

image video_bg = Movie(play="video.webm")

label start:

    play atmos "sound.ogg"
    show video_bg

    "........."
    "......."
    "....."

    return
Completed:
Image

SLim_Games
Newbie
Posts: 23
Joined: Tue Mar 20, 2018 11:37 am
itch: slim-games
Contact:

Re: Movie displayable won't loop

#2 Post by SLim_Games »

I encountered the same bug today, really frustrating.
Play my game (nsfw) for free at: https://www.patreon.com/SLim_Games

Post Reply

Who is online

Users browsing this forum: apocolocyntose, Google [Bot]