i have some scenes, that i dont want to be skipped by player. so, if scene will progress after some pause, can i not allow skipping this scene?
(sorry for my english )
not allowing player to skip scene
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.
-
- Regular
- Posts: 27
- Joined: Sat Jul 07, 2018 1:24 pm
- Contact:
Re: not allowing player to skip scene
Use before line where you want skipping to be turned off. Remember to place after the scene.
But I don't recommend forbidding player from skipping as whole. If someone will play the same scene over and over it can be annoying. I recommend using before line where you want skipping to be turned off and after the scene.
This way only for the first time someone is seeing this scene it won't be skipable.
Code: Select all
$ _skipping = False
Code: Select all
$ _skipping = True
But I don't recommend forbidding player from skipping as whole. If someone will play the same scene over and over it can be annoying. I recommend using
Code: Select all
$ _skipping = not persistent.noskip
Code: Select all
$ _skipping = True
$ persistent.noskip = True
This way only for the first time someone is seeing this scene it won't be skipable.
-
- Regular
- Posts: 27
- Joined: Sat Jul 07, 2018 1:24 pm
- Contact:
Re: not allowing player to skip scene
actually, that is not what i wanted. sorry for misunderstanding. i didnt wanted to turn skipping off, i want to not allow player to advance at all. like, for example, i have this code:kostek00 wrote: ↑Thu Sep 27, 2018 4:32 pm Usebefore line where you want skipping to be turned off. Remember to placeCode: Select all
$ _skipping = False
after the scene.Code: Select all
$ _skipping = True
But I don't recommend forbidding player from skipping as whole. If someone will play the same scene over and over it can be annoying. I recommend usingbefore line where you want skipping to be turned off andCode: Select all
$ _skipping = not persistent.noskip
after the scene.Code: Select all
$ _skipping = True $ persistent.noskip = True
This way only for the first time someone is seeing this scene it won't be skipable.
scene s1 with fade
pause(5)
scene s2 with fade
i dont want player to press lmb when they are at s1, so they wont skip that 5 second pause
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: not allowing player to skip scene
$renpy.pause(5, hard=True)
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Who is online
Users browsing this forum: Google [Bot], Ocelot