Kiosk Mode

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
meticulo
Newbie
Posts: 8
Joined: Fri Feb 14, 2014 3:03 pm
Contact:

Kiosk Mode

#1 Post by meticulo » Thu Feb 27, 2014 4:41 pm

I need to prevent the user from exiting out of the app on a windows machine, overriding ctrl+alt+delete and alt+tab, any suggestions to easy solutions recommended?

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Kiosk Mode

#2 Post by PyTom » Thu Feb 27, 2014 8:42 pm

It's not a Ren'Py solution, but perhaps running through a guide like this would work:

http://sysadministrivia.blogspot.com/20 ... ows-7.html

You'd also want to edit the Ren'Py keymap to remove any untoward commands. Ren'Py tries pretty hard to ensure it won't lock the system, so you'll have to work pretty hard to ensure the user can't get out.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Kiosk Mode

#3 Post by Asceai » Thu Feb 27, 2014 10:01 pm

One of the things ren'py does is quit if you ask it to quit too many times in short succession (so you can still get out even if you screwed up the yes/no quit dialogue or your quit label doesn't go anywhere.)

I think you can entirely remove this possibility by:
config.keymap["quit"] = []
and keeping the game in fullscreen mode (fullscreen it by default and remove any preferences to change this) so there's no pesky close button.

Post Reply

Who is online

Users browsing this forum: No registered users