Page 1 of 1

Certain configuration variables not working

Posted: Fri Mar 29, 2024 12:05 am
by trailsiderice
I can't get config.after_load_transition = fade or $ _game_menu_screen = None to work. It seems like Ren'Py just ignores these completely. I get no transition when loading a save, and it still shows the save menu when right clicking in game.

Am I using these wrong? What gives?

Re: Certain configuration variables not working

Posted: Fri Mar 29, 2024 6:23 am
by m_from_space
trailsiderice wrote: Fri Mar 29, 2024 12:05 am I can't get config.after_load_transition = fade or $ _game_menu_screen = None to work. It seems like Ren'Py just ignores these completely. I get no transition when loading a save, and it still shows the save menu when right clicking in game.

Am I using these wrong? What gives?
Here is how you have to use each of them:

Code: Select all

define config.after_load_transition = fade

label start:
    "Let's disable the game menu for now..."
    $ _game_menu_screen = None
    "Alright, it should be disabled."

Re: Certain configuration variables not working

Posted: Fri Mar 29, 2024 5:58 pm
by trailsiderice
m_from_space wrote: Fri Mar 29, 2024 6:23 am Here is how you have to use each of them:
Ok, placing $ _game_menu_screen = None inside a label does work now, but as for after_load_transition, that's exactly how I have it written, and it still dumps me very abruptly and unceremoniously into loaded saves, no transition or anything... I'm not sure why.

Thanks for helping with the game menu screen, though.

Re: Certain configuration variables not working

Posted: Sat Mar 30, 2024 9:08 am
by m_from_space
trailsiderice wrote: Fri Mar 29, 2024 5:58 pm ... but as for after_load_transition, that's exactly how I have it written, and it still dumps me very abruptly and unceremoniously into loaded saves, no transition or anything... I'm not sure why.
Make sure there is not a second entry of this config variable, overwriting your own statement. There is a default entry inside <options.rpy> that uses a "dissolve" as an after-load-transition. Delete that or overwrite it inside the file!

If it still doesn't work, try updating Renpy using the launcher.

Re: Certain configuration variables not working

Posted: Sun Mar 31, 2024 6:40 pm
by trailsiderice
m_from_space wrote: Sat Mar 30, 2024 9:08 am Make sure there is not a second entry of this config variable, overwriting your own statement. There is a default entry inside <options.rpy> that uses a "dissolve" as an after-load-transition. Delete that or overwrite it inside the file!
Ah, that was it. I feel a bit silly for not checking for that, lmao. In any case, thank you!