jigglypuff_fun
Member
I notice that my game is developing a small freeze before moving to the next room. Specifically, I'm making a 2D fighting game and, after picking characters and a stage, the screen pauses for ~100msec before loading the stage. It used to be immediate, but as the game grows this time seems to be slowly expanding. Interestingly, the stage music starts during that 100ms, which is the issue as much as anything - it's more obvious that the screen is frozen when the music plays early.
Curiously, this only happens the first time you go into a match. Going back to character select and going to a different stage (which is a different GM room) no longer causes the delay, despite the room being different.
In the end, it seems like this is caused by a need to pre-load assets or something along those lines. Any thoughts as to how to deal with this as my game size grows?
Curiously, this only happens the first time you go into a match. Going back to character select and going to a different stage (which is a different GM room) no longer causes the delay, despite the room being different.
In the end, it seems like this is caused by a need to pre-load assets or something along those lines. Any thoughts as to how to deal with this as my game size grows?