I'm searching for any info about what MainMenu() actually does.
Aside from sending the player back to the Main Menu screen (and quitting the current game), is this the equivalent a full restart?
So the call stack is set back to 0, while persistent variables remain untouched?
Thanks!
Can't find any info about MainMenu()
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.
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.
Re: Can't find any info about MainMenu()
Looks like it just sends player to main menu - https://www.renpy.org/doc/html/screen_a ... nu-actions
If you get any issues with your variables, check if they set properly:
https://www.renpy.org/doc/html/python.html
https://www.renpy.org/doc/html/save_load_rollback.html
If you get any issues with your variables, check if they set properly:
https://www.renpy.org/doc/html/python.html
https://www.renpy.org/doc/html/save_load_rollback.html
- IrinaLazareva
- Veteran
- Posts: 399
- Joined: Wed Jun 08, 2016 1:49 pm
- Projects: Legacy
- Organization: SunShI
- Location: St.Petersburg, Russia
- Contact:
Re: Can't find any info about MainMenu()
Also see 00action_menu.rpy file in renpy/common folder (class MainMenu).
- Obscura
- Eileen-Class Veteran
- Posts: 1431
- Joined: Fri Mar 09, 2012 6:58 pm
- Projects: Coming Out On Top
- Location: United States
- Contact:
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot], sine12