Help regarding escape and 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
Xerofit51
Veteran
Posts: 376
Joined: Thu Jan 09, 2014 12:58 am
Completed: Freak-quency, Harvest-Moon spin off
Projects: Freak-quency
Deviantart: xerofit51
Location: Indonesia
Contact:

Help regarding escape and right click

#1 Post by Xerofit51 »

So I have this game system where you choose a chapter before you play.
I want to make a choice for the players to go back to chapter select and choose a new chapter. All is fine but then, I noticed that if I press escape regardless of _game_menu_preferences = None or not, I instantly get into the chapter that I escaped from and this stacks in between chapters. So if I escape from chapter 1 and choose another chapter say chapter 2, when I click escape I go through chapter 1 first that I previously escape from. Heeelp?
Attachments
2019-04-04.png
2019-04-04 (1).png

User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Help regarding escape and right click

#2 Post by Alex »

Try to set _game_menu_screen instead.
If this won't fix the issue show the code you have (when and how you show the chapters selection screen, how you run selected chapter etc.).
https://www.renpy.org/doc/html/store_va ... enu_screen

Post Reply

Who is online

Users browsing this forum: No registered users