- May 2, 2019
- 43
- 68
So, I'm still trying to make a game in ren'py. I'm still learning the engine while coding so I don't know everything.
I've come across a problem that I can't wrap my head around.
For some reason, every time I call my screens, the game take something like 0.5 seconds to load them. It's not that much but when there a few steps repeating it becomes jaring.
Here's my typical code when I start a new scene and screens are called :
I thought about image size but I don't think that's the problem as there are instances where I show something around 6 to 10 images at the same time and it goes flawlessly as long as those are not screens.
Is this something known, am I missing something ? Anyway, thanks a lot for your help in advance.
I've come across a problem that I can't wrap my head around.
For some reason, every time I call my screens, the game take something like 0.5 seconds to load them. It's not that much but when there a few steps repeating it becomes jaring.
Here's my typical code when I start a new scene and screens are called :
Code:
label library1_play:
scene library1
$ in_library1 = True
call screen library1_screens
jump library1_play
screen library1_screens:
imagebutton:
focus_mask True
idle "library1_to_main_hall"
hover im.MatrixColor("/images/screens/school/library1/library1_to_main_hall.webp", im.matrix.brightness(.1))
action [SetVariable("in_library1", False), Jump("main_hall_set")]
if time_day == "Early morning":
imagebutton:
at eina_pos_library
focus_mask True
idle im.MatrixColor("/images/characters/schoolcharacters/eina/eina_camview.webp", im.matrix.brightness(-.15))
hover im.MatrixColor("/images/characters/schoolcharacters/eina/eina_camview.webp", im.matrix.brightness(-.05))
action Jump("talk_to_eina")
Is this something known, am I missing something ? Anyway, thanks a lot for your help in advance.