Page 1 of 1

Dialogue pause/wait force-closes screen if mid-transition.

Posted: Sun Dec 10, 2017 11:50 pm
by Tayruu
As the topic title says.

If when opening the pause menu or other screen, the dialogue reaches a {w=x} tag, the game will then close the menu of its own accord.

I was able to replicate the effect with the following in a fresh project:

Code: Select all

# In options.rpy:
define config.enter_transition = Dissolve(4.0)
#
default preferences.text_cps = 32

Code: Select all

    # In script.rpy:
    e "Please open the pause menu or history on the next line of text before the pause."
    e "The purpose of this is to test...{w=1.0} whether opening the menu at an upcoming pause causes the pause to cancel the menu on its own."
    e "The bug appears to manifest if the pause happens during menu transition."
    e "Restarting..."
    
    jump start
By opening the menu or history screen around "the purpose of this is to test", when the one second pause completes, the menu closes itself. If the pause completes after the transition, the menu doesn't close. This also appears to happen independent of key "game_menu" action's function.

Additionally, a non-timed {w} tag does not close the menu.

Personally, I would like for the ability to freeze dialogue when the menu is opened. As it is, Ren'py continues to type out text even while the menu is open. This would technically solve the problem by preventing it from happening, as long as the freeze/unfreeze functions happened outside of the transitions, but it's mostly an aside request.

Re: Dialogue pause/wait force-closes screen if mid-transition.

Posted: Thu Dec 14, 2017 3:06 am
by Taleweaver
Moved to Ren'Py Development as a bug report.

Re: Dialogue pause/wait force-closes screen if mid-transition.

Posted: Thu May 31, 2018 4:30 am
by Tayruu
This appears to still be present in 7.0.0.190.