Adding transition to quick menu?

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
chesarty
Regular
Posts: 116
Joined: Sat Aug 25, 2018 3:07 am
Completed: 0
Contact:

Adding transition to quick menu?

#1 Post by chesarty » Sun Jan 24, 2021 7:51 am

At the moment my quick menu stays on screen during transitions ie. it doesn't nicely dissolve between scenes, which makes it look a little... ugly. Is there a way to add a dissolve to the text in the quick menu?

User avatar
_ticlock_
Veteran
Posts: 393
Joined: Mon Oct 26, 2020 5:41 pm
Contact:

Re: Adding transition to quick menu?

#2 Post by _ticlock_ » Mon Jan 25, 2021 7:10 pm

Hi, chesarty,

You can try this:

Code: Select all

transform quickmenu:
    on update:
        alpha 0.0
        linear 1.0 alpha 1.0

Code: Select all

screen quick_menu():

    ## Ensure this appears on top of other screens.
    zorder 100

    if quick_menu:

        hbox:
            style_prefix "quick"
            at quickmenu
            ...
Although, it may be disturbing in some cases as well.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3636
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Adding transition to quick menu?

#3 Post by Imperf3kt » Mon Jan 25, 2021 7:15 pm

Theres a thread that deals with this, the trick is to move the config.append line into the quick menu itself or something.
I cannot remember exactly, so its difficult to find (the lemmasoft search fails after three pages, and google isn't helping much either)

I came up with my own fix by rewriting my quick_menus entirely, so cannot really offer a simple copy/paste solution.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

Post Reply

Who is online

Users browsing this forum: Bing [Bot]