Hey folks,
is it just me or do you also have the feeling that the Menu always needs half a second to appear when I press Esc or click on the Menu Touch Button? It drives me crazy ._.
You are certainly know coding more than me. Can you posting the picture of FPS during you open the game manu? I think it would be helpful to identify the problem. I am not sure it is F2, F8 or F9, sorry. Nevermind, I do a quick search. It is F2 to show the Frame per Second.
I think there's a deliberate 2-frame wait (not sure if that's what you're seeing?).
You could try copying the Scene_Map.prototype.callMenu method into a .js file, erasing the last line, and importing as a plugin to see if that helps. I'd be hesitant to do that since I don't know exactly why the wait is there (performance on lower-spec systems?). Also I haven't personally noticed it in-game, just discovered it when messing around with other menu stuff. 😴
Edit: actually yea, 2 frames probably isn't noticeable, it's likely something else.
I don't know bout MZ, but so far RPG Maker scene menu ALWAYS took a snap to bitmap then blurred it. Otherwise, the menu background will be a black screen.
I think that's the cause of the lag...? Does MZ also do that?
If that's the case, how bout try removing that part and test it?
Thanks for all of your messages!
I tried to remove the line that snaps the Map as Background; couldn't feel any improvements.
However I realized that I feel this lag only when I click on the Touch Button, not when I press Esc or Right Mouse Click. I will look further into the Code about the Touch Button, maybe its trigger is not as fast as the other methods, or it's because my laptop's touch pad itself is slow.