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.
So in my game, i know about renpy.quit() that it will quits immediately.
I want to when the player reads the very end of a dialogue, i want them not allowing to quit the game.
So when the player has no other way, they need to restart the computer or at least open their task manager instead... (Ctrl F4 is easy for them..) so why not?
So.. any possible code?
(
Thank you.
I am a friendly user, please respect and have a good day.
I"ll be honest with you, this kind of abuse of the player isn't particularly accepted among many individuals here, so you may not get an answer.
Personally, I try to maintain an unbiased opinion on "troll" games or functions, at least until it goes too far, and restricting a players ability to close the game, is definitely past that point. (DDLC was very similarly abusive toward its players, but at least it let you quit)
Just something to consider though, let's assume you do block quitting the game. How do you block ALT + TAB?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
I strongly advise you against that kind of technique. It's possible that many players won't find it interesting or funny.
I don't think it makes your game more interesting.
That said, I've given it a try as a theoretical question, and I've managed to do it putting the "load" function inside the special label "quit".
DISCLAIMER: You actually won't be able to quit this game. Are you really interested in trying it?
Behold, "The Never Quitting Story"!: