Playtest- choppiness/fps drop on scrolling and animations

Hi everyone,


I've been searching for a solution to this for several months and hoped that new MV updates would help but have no such luck so far and wondered if anyone could suggest a solution or if anyone has had a similar problem?


I am getting choppiness and fps drops when the map scrolls and if I use animated events.


The fps on a playtest for the town with player walking around drops to 45-50 fps when scrolling/moving around- this is on a town map of 80x60 tiles, with a character which is bigger than the normal 48*48 (it's 55*20).


The game also drops to 55 fps when I've tried adding a moving train going past the player (not even moving) - even on a blank map.
The train is 370x150 dimensions (3x8 tiles) and it's movement stutters which looks really unprofessional and I want to avoid.



I have used my own tiles for all the assets - is this a problem? I have some buildings/objects that are really big (i.e cover 49 tiles).
Could this be a potential problem? There are also about 20 events (NPCs, with autonomous movement and random), there are no other events.


I use the YEP_CoreEngine and my resolution is 1656*936. I've tried at the default resolution (816*624) and it doesn't make a difference to the choppiness/lag.
I've updated to the latest 1.31 MV version and updated the project as directed on the forum.


I've also made a new project and recreated the backdrops, and the same problem occurs.
I also added the moving train to a default map on a new project - there was a lot less lag/choppiness, but still a small bit.
I've tried the MBS_Smooth Scroll plugin which does help smooth scrolling, but the jitter is still there, but fps still drops, and it doesn't help animations.


I have a fast computer with a high-end graphics card, Windows 10, 16GB RAM (playing with no other apps open), all other demanding AAA games run fine at 1080p. I had the same issue on Windows 8.



I've reinstalled graphics drivers, tried compatability mode, malware checks, etc.


If anyone has experienced this, or has any idea on what could be the issue, please let me know?
I'm really excited to get down to creating my game (quests, cinematics, etc), but this has stalled me as I'm wondering if I'll have to switch to another engine, so any help would be greatly appreciated.


I saw this thread - but it seemed no one came up with a solution (http://forums.rpgmakerweb.com/index.php?/topic/55895-when-i-play-rpg-maker-games-they-randomly-have-choppyness-im-not-sure-how-else-to-describe-it/#comment-554111)
Can you give us a screenshot of the event that controls that train?


At first guess, reading what you tried so far, that sounds as if parallel process events are creating lag. And to check for that, we need to see how you create those events on your map.


A single badly designed parallel process can create enough lag to bring down even the most advanced computer, simply because you can go into limitless event processing - there is no block preventing you from doing extreme processings with events. And that is both an advantage (you can do a lot with the engine) and a disadvantage (if your events fall into one of several logic traps, they will create lag to hell).


Additionally, it would help if you tell us the version of MV you have installed, and to which version your projects have been updated - each update (to the current 1.3.1) solved some problems and decreased the basic processing requirements.
Thanks very much for getting back so quickly Andar.


The screenshot of the train event is attached (the custom route is simply 'move right' repeated many times.


I'm just testing it out at present, the same stutter occurs with both 'auto-run' and 'parallel' options.


I also wanted to add that I recently downloaded an open RPG MV project (Driftwood) and that doesn't have any stutter issues when I run in playtest mode - when scrolling on a map, however I did insert the train into that game and it had similar stutter issues.

train.jpg
You don't need to put it into Autorun or Parallel Process if you just want it to move following a route, it does that by itself.


Try to put it as something else and see if it helps.
and Bull's eye - that is the worst mistake you could ever make - an empty parallel process (or empty autorun). two or three such events will use up every reserve your processor has.


Please switch it to action button - there is no content on this event to be triggered (autonomous movement is independent of the trigger, that's why it is called "autonomous")
Thanks very much Andar and Waterguy! This has solved the problem, and everything runs smoothly now. I didn't realise the parallel/auto-run could have such an effect.
I'm a complete novice to RPG maker, so I was just testing out various events to see how they looked as I was concentrating on drawing assets.


I'm just about to start with proper events, so thanks for the intro!
In that case, I suggest you follow the link to the starting point in my signature and work through those tutorials  - they'll get you the basics of using the makers as fast as possible

Original thread: https://forums.rpgmakerweb.com/threads/playtest-choppiness-fps-drop-on-scrolling-and-animations.69217/