I have fairly complex save/load screens, and this only happens some of the time, other times there's no lag.
While mousing around a save/load screen, the screen will lag every few seconds. I've found this is caused by renpy re-calling the screen routine to construct the page again, which takes about 2 seconds (depending on how many files currently exist). This makes the screen non-responsive for those two seconds.
But this doesn't always happen. It seems to go away for a bit if I clear out the save folders & cache, but comes back. I've tried using a plain black background in case renpy was refreshing because of a BG image, but no difference.
Is there something specific that can trigger this? I can try to work around this if so...
Save/Load menu is laggy, renpy keeps rebuilding the page
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.
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.
-
- Newbie
- Posts: 8
- Joined: Wed Apr 11, 2012 9:47 pm
- Contact:
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Save/Load menu is laggy, renpy keeps rebuilding the page
It's hard to say. It's certainly possible if your save and load screens are so complex that Ren'Py can't optimize them. I'd suggest looking at simplifying things.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Newbie
- Posts: 8
- Joined: Wed Apr 11, 2012 9:47 pm
- Contact:
Re: Save/Load menu is laggy, renpy keeps rebuilding the page
Pytom -- saw your twitter message (https://twitter.com/renpytom/status/952405982126202880) via another member, this is for Missing Stars. I'll try removing all the persistent saves and see if that fixes it. I'll followup later, thanks for the info.
-
- Newbie
- Posts: 8
- Joined: Wed Apr 11, 2012 9:47 pm
- Contact:
Re: Save/Load menu is laggy, renpy keeps rebuilding the page
Great, that seems to fix it. All the save_persistent() calls were the problem...
Who is online
Users browsing this forum: Bing [Bot], TiagoRocha