how to put a screen over a video

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Post Reply
Message
Author
rayminator
Miko-Class Veteran
Posts: 754
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

how to put a screen over a video

#1 Post by rayminator » Fri Aug 13, 2021 12:19 am

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]

Post Reply

Who is online

Users browsing this forum: No registered users