disabling the mouse return history [SOLVED]

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
Mirrodin
Regular
Posts: 114
Joined: Sun Mar 19, 2017 2:56 pm
Contact:

disabling the mouse return history [SOLVED]

#1 Post by Mirrodin »

Hi guys,

When i clic with my mouse on the left of the screen it "turn back" the game.
When i use the middle button too.

How disabling this options ?

Thanks.

My first version of the game will be public soon :)
Last edited by Mirrodin on Wed Aug 02, 2017 7:30 am, edited 1 time in total.

philat
Eileen-Class Veteran
Posts: 1909
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: disabling the mouse return history

#2 Post by philat »

Turn off rollback.

User avatar
Mirrodin
Regular
Posts: 114
Joined: Sun Mar 19, 2017 2:56 pm
Contact:

Re: disabling the mouse return history

#3 Post by Mirrodin »

I mean, disabling this option for the player.

User avatar
carrot
Regular
Posts: 28
Joined: Fri Jul 28, 2017 7:43 am
Contact:

Re: disabling the mouse return history

#4 Post by carrot »

You can remove this from screens.rpy:

Code: Select all

vbox:
    style_prefix "radio"
    label _("Rollback Side")
    textbutton _("Disable") action Preference("rollback side", "disable")
    textbutton _("Left") action Preference("rollback side", "left")
    textbutton _("Right") action Preference("rollback side", "right")
Which should remove the option from the preferences menu.

User avatar
Mirrodin
Regular
Posts: 114
Joined: Sun Mar 19, 2017 2:56 pm
Contact:

Re: disabling the mouse return history

#5 Post by Mirrodin »

thats my guy !
Thank you.

Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot]