Hello, I need some help.
When I move any slider a bunch of images load.
When I hover it works as intended.
It causes great stutters and lag.
bar value Preference("text speed") released Play ("music", "audio/jingles/Piano Jingle 1.wav")
bar value Preference("auto-forward time")
Lags on both of them.
I will provide more info if necessary, just have no idea on what could be causing it.
Slider Lags
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: 5
- Joined: Sun Jul 23, 2023 3:41 am
- Contact:
- m_from_space
- Miko-Class Veteran
- Posts: 996
- Joined: Sun Feb 21, 2021 3:36 am
- Contact:
Re: Slider Lags
Are you talking about the web-version of your game or in general?
Is your first posted image some kind of console output? Because I'm not sure what I am looking at, sorry.
-
- Newbie
- Posts: 5
- Joined: Sun Jul 23, 2023 3:41 am
- Contact:
Re: Slider Lags
In general. Pictures are from image sequence in ctrl+d/developer menu.m_from_space wrote: ↑Tue Jan 16, 2024 8:30 amAre you talking about the web-version of your game or in general?
Is your first posted image some kind of console output? Because I'm not sure what I am looking at, sorry.
Still don't know how to fix it, or what causes that lag.
- m_from_space
- Miko-Class Veteran
- Posts: 996
- Joined: Sun Feb 21, 2021 3:36 am
- Contact:
Re: Slider Lags
When I move the slider you are mentioning, no images are loaded in the F4 image load log.ManticGaga wrote: ↑Tue Jan 23, 2024 1:25 pm In general. Pictures are from image sequence in ctrl+d/developer menu.
Still don't know how to fix it, or what causes that lag.
The images that are loaded in your case are gui images. What is strange is that some of them are repeatedly loaded. Is your image cache too small? Do you use very large images?
-
- Newbie
- Posts: 5
- Joined: Sun Jul 23, 2023 3:41 am
- Contact:
Re: Slider Lags
And they should not be loaded, it was not intended, I just cant understand what even causes moving slider to load that many images.m_from_space wrote: ↑Sat Jan 27, 2024 10:04 amWhen I move the slider you are mentioning, no images are loaded in the F4 image load log.ManticGaga wrote: ↑Tue Jan 23, 2024 1:25 pm In general. Pictures are from image sequence in ctrl+d/developer menu.
Still don't know how to fix it, or what causes that lag.
The images that are loaded in your case are gui images. What is strange is that some of them are repeatedly loaded. Is your image cache too small? Do you use very large images?
I have image buttons for left menu, Ill change it to image map, and see if that helps
-
- Newbie
- Posts: 5
- Joined: Sun Jul 23, 2023 3:41 am
- Contact:
Re: Slider Lags
Ok I changed them to imagemaps, and it didnt solve this issue.
Then i found out that renpy.free_memory()) was the problem.
hotspot (48, 364, 229, 53) action (ShowMenu("history"), renpy.free_memory())
Still dont know how to solve it or do I even need call this funciton.
Then i found out that renpy.free_memory()) was the problem.
hotspot (48, 364, 229, 53) action (ShowMenu("history"), renpy.free_memory())
Still dont know how to solve it or do I even need call this funciton.
Who is online
Users browsing this forum: Ahrefs [Bot], bonnie_641