How to disable right click?

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
roankun
Regular
Posts: 94
Joined: Fri Jun 11, 2010 4:01 am
Projects: RHS
Contact:

How to disable right click?

#1 Post by roankun » Sat Apr 23, 2011 6:00 am

When you right click, the save menu appears right? Since I already have a mini-button for that, how do I disable right click?
Also, I forgot how to do this, so how do you disable rollback/backlog (not sure what you call it)?
I don't have any kind words to spare to someone who already has all the reason in the world to feel good about himself.
http://roankun.wordpress.com/

shuen
Regular
Posts: 72
Joined: Tue Mar 22, 2011 2:36 pm
Contact:

Re: How to disable right click?

#2 Post by shuen » Sat Apr 23, 2011 7:21 am

rollback is disabled by
$ config.rollback_enabled = False

right-clicking is disabled by
$_game_menu_screen = None

Do a search in the forum and you'll find the answer....
Image
.Traditional Chinese Site.
~Illustrator+Graphic/Web Designer~

User avatar
roankun
Regular
Posts: 94
Joined: Fri Jun 11, 2010 4:01 am
Projects: RHS
Contact:

Re: How to disable right click?

#3 Post by roankun » Sat Apr 23, 2011 7:26 am

Um, thank you. :) And sorry for being lazy. XD
I don't have any kind words to spare to someone who already has all the reason in the world to feel good about himself.
http://roankun.wordpress.com/

Post Reply

Who is online

Users browsing this forum: Google [Bot]