Refresh Game Screen?

Hi guys, i don't know what is the proper way to call it by
Refresh Game/ Clear cache?
But things are, my MV game keep slowing down over time until it turning into very lag. But once i opened the Menu, after closed it the game FPS back to normal again? ( I am not sure what cause this, maybe due to use many effect/particles plugins & big overlay parallax, many event run parallel?)
I assumed that when i open Menu, the game will auto refresh or does something that turn FPS back to normal?
Is there anyway to Refresh Game without open Menu?
like "Gamewindow_refresh" or "Allwindow_refresh" perhaps?
Thanks guys
When you catch a sickness, it is best to cure the sickness, not to eliminate symptoms. And solving something that looks like poor optimization through refreshing doesn't look like the way to go to me.
@Poryg But i don't know what caused of it, sometime it happens when i massacre my keyboard, sometime it doesn't :LZSsmile:
i think a temporary solution until i figured it out what's wrong would be nice
@Isabella Ava
SceneManager.goto(Scene_Map)
is the closest i have found, there is a fade in which is not the end of the world for my use but still looking for the cleanest refresh. If you do find something @ me 🙂
@Isabella Ava
Which Version of the core JS files are inside your project?
What you describe is a memory leak, and all default memory leaks have been patched several versions back.
So if your core is halfway current (I'm NOT talking about your editor version, but of the projects core files), then this memory leak is most likely caused by a plugin.
And then you need to identify which plugin.

Original thread: https://forums.rpgmakerweb.com/threads/refresh-game-screen.87985/