Refresh Game Screen?

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
First Language
English
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
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,639
First Language
Czech
Primarily Uses
RMMV
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.
 

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
First Language
English
@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
 

Indsh

Veteran
Veteran
Joined
Oct 11, 2015
Messages
225
Reaction score
65
First Language
English
Primarily Uses
N/A
@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 :)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
@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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top