I'm just wondering how to make a player unable to skip a video when they click.
The video I want to put is an opening video, like 20 seconds long.
How do I make it so the player can't skip a video
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.
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.
-
- Newbie
- Posts: 4
- Joined: Sun Mar 11, 2018 1:08 am
- Tumblr: jeonghansprince95
- Deviantart: jeonghansprince95
- itch: jeonghansprince95
- Contact:
-
- Miko-Class Veteran
- Posts: 793
- Joined: Fri Feb 09, 2018 12:05 am
- Location: Canada
- Contact:
Re: How do I make it so the player can't skip a video
use this code here and adjust the 123 numbers
Code: Select all
show screen block_scr(persistent.video_1_seen, 123)
$ renpy.movie_cutscene("video/your_video.webm")
$ persistent.video_1_seen = True
-
- Miko-Class Veteran
- Posts: 793
- Joined: Fri Feb 09, 2018 12:05 am
- Location: Canada
- Contact:
Re: How do I make it so the player can't skip a video
if you still trying to get to work i forgot this part add it just below label start
Code: Select all
screen block_scr(flag, t):
timer t action Hide("block_scr") repeat False
if not flag:
key "dismiss" action [[]]
-
- Newbie
- Posts: 4
- Joined: Sun Mar 11, 2018 1:08 am
- Tumblr: jeonghansprince95
- Deviantart: jeonghansprince95
- itch: jeonghansprince95
- Contact:
Who is online
Users browsing this forum: Alex, piinkpuddiin