Menu customization [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
number473
Regular
Posts: 195
Joined: Tue Dec 15, 2009 4:20 am
Projects: The Duke's Daughter
Location: Cape Town
Contact:

Menu customization [solved]

#1 Post by number473 »

Is there a way to determine if the game menu was entered from the main menu or a currently in-progress game? I want to vary the menu slightly based on this. I tried an if statement using MainMenu() since that is what would control whether a button for returning to the main menu would be active, but that didn't work how I expected.
Last edited by number473 on Mon Jul 25, 2011 4:26 pm, edited 1 time in total.
Mental weather report: Cloudy with a possibility of brain storms.

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

Re: Menu customization

#2 Post by Alex »


number473
Regular
Posts: 195
Joined: Tue Dec 15, 2009 4:20 am
Projects: The Duke's Daughter
Location: Cape Town
Contact:

Re: Menu customization

#3 Post by number473 »

Not a solution that I would have thought of but should work. Thank you.
Mental weather report: Cloudy with a possibility of brain storms.

Post Reply

Who is online

Users browsing this forum: AWizardWithWords, NeonNights, piinkpuddiin