How to prevent skiping?

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
M0ti
Regular
Posts: 66
Joined: Mon Aug 15, 2011 1:06 pm
Contact:

How to prevent skiping?

#1 Post by M0ti » Wed Dec 14, 2011 11:18 pm

Hi, I have a question. Is there any way, how to disable player to skip, or continue by clicking, for a little while?
I have in my game some short sequences made by show , hide and pause sentences that should work like "kino".
For that reason, I would like to prevent player to accidently skip it.

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: How to prevent skiping?

#2 Post by Aleema » Thu Dec 15, 2011 12:20 am

You can do a "hard" pause:

Code: Select all

$ renpy.pause(5.0,hard=True)
It will stop at the specified amount of time, and while it can be bypassed if you click enough, it prevents accidental skipping.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]