[SOLVED!] Hiding Quick Menu Screen

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
sasquatchii
Miko-Class Veteran
Posts: 552
Joined: Fri Jul 04, 2014 7:48 am
Completed: A Day in the Life of a Slice of Bread
Deviantart: sasquatchix
Soundcloud: sasquatchii
itch: sasquatchii
Location: South Carolina
Contact:

[SOLVED!] Hiding Quick Menu Screen

#1 Post by sasquatchii »

Hello,

At the end of my game, I want to have a rolling credits screen to give credit to all of the people who contributed to the project.

Image

However, the quick menu is there when the credits start up (which you can see above in the screenshot I posted @ the bottom right)! I tried using

Code: Select all

hide screen quick_menu
Like I've always done for hiding screens, but for some reason this time it is not working :(

Can anyone help me figure out the best & simplest way to do this? I tried searching through previous posts of people with the same problem but was having trouble following.
Last edited by sasquatchii on Tue Aug 22, 2017 8:06 pm, edited 1 time in total.
ImageImage

User avatar
Dovahkitteh
Veteran
Posts: 229
Joined: Wed Sep 02, 2015 4:51 pm
Completed: YDD, RE, CoB, Req
Projects: Red Embrace: Hollywood, The Black Hand
Organization: Argent Games
Tumblr: argentgames
Skype: Dovahkitteh
itch: argent-games
Contact:

Re: Hiding Quick Menu Screen

#2 Post by Dovahkitteh »

Have you checked out this thread?

If you establish this somewhere (beginning of main script, maybe?):

Code: Select all

default show_quick_menu = True
And add the "if show_quick_menu:" part to your quick_menu screen, in this location:

Code: Select all

screen quick_menu():
    if show_quick_menu:
        # Add an in-game quick menu.
        hbox:
            style_group "quick"
And then in your script, before you transition to your credits scene:

Code: Select all

$ show_quick_menu = False
Should hopefully work :D Let me know the results!
Image

Writer, Programmer, Designer

Programming/Design Commissions

Image Image

User avatar
sasquatchii
Miko-Class Veteran
Posts: 552
Joined: Fri Jul 04, 2014 7:48 am
Completed: A Day in the Life of a Slice of Bread
Deviantart: sasquatchix
Soundcloud: sasquatchii
itch: sasquatchii
Location: South Carolina
Contact:

Re: Hiding Quick Menu Screen

#3 Post by sasquatchii »

That worked, thank you so much!! :D
ImageImage

Post Reply

Who is online

Users browsing this forum: Bing [Bot]