- Jun 2, 2018
- 543
- 686
How do you stop a video from looping when played in a screen?
I register the video to a channel with looping == False and also say 0 loops and it just keeps on keeping on...
I could do something really neat if I could change that.
Thanks!
I register the video to a channel with looping == False and also say 0 loops and it just keeps on keeping on...
I could do something really neat if I could change that.
Python:
init python:
renpy.music.register_channel("movie", mixer="voice", loop=False, stop_on_mute=False, tight=False, file_prefix='', file_suffix='', buffer_queue=True, movie=True)
setattr(store, "/movie/movie.webm", Movie(size=(480,720), play="/movie/movie.webm", channel="movie"))
label start:
var1 = "/movie/movie.webm"
screen movie1():
add getattr(store, var1):
xalign 0.5
ypos 75
# SetVariable(PleaseStopLooping, True)
Thanks!