"config.after_load_transition" not working. [Solved(kind of)]

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
Dark79
Regular
Posts: 59
Joined: Sun Apr 18, 2021 2:21 pm
Contact:

"config.after_load_transition" not working. [Solved(kind of)]

#1 Post by Dark79 »

Hello there,

I have made a custom save file with "renpy.save("save_data")" function and it works perfectly fine. The problem that I have is "define config.after_load_transition = Dissolve(1.0)" not working after loading the save file. I tried using function "renpy.load("save_data")" and screen button action "FileLoad("save_data", confirm=False)" and both of them load the save file just fine but still there is no transition effect.

The funny thing is that when I press SHIFT+R, it reloads the script/game and the transition works just fine.

So it seems using "renpy.load()" or "FileLoad()" the "config.after_load_transition does" does not take affect.

Just to clarify, I am trying to load the save file from the main_menu() screen using my custom "Continue" button which uses "renpy.load()" or "FileLoad()".

Renpy version 8.0.3 - python 3.

UPDATE:
Okay never mind now "config.after_load_transition does" works with "renpy.load()". I have no idea what happened but I feel like my code editor was glitching out and did not react to my changes in the code.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], VESTED