Page 1 of 1

how to put a screen over a video

Posted: Fri Aug 13, 2021 12:19 am
by rayminator
how to put a screen over a video

put this above your start label or in it's own rpy file

Code: Select all

image movie = Movie(size=(config.screen_width, config.screen_height))
put this below your start label or other labels is you chose to put variable put them before show screen

Code: Select all

play movie "your_video.webm" loop
    show screen your_screen
with variables

Code: Select all

play movie "your_video.webm" loop
    $ you_variable = 0
    $ you_variable = True
    show screen your_screen
create a new rpy file or put in your screen.rpy just make sure not make any image full size

Code: Select all

screen your_screen:
    [your code here for your screen]