Wierd lag within an events Movement Route

Hi all, I'm having some wierd lag happening with a specific events movement route.. I've never encountered this before, and I can't seem to figure out what's causing it.

21pf2w.png

k9gu8p.png


As you can see, she's supposed to move on step down and look right, then pause. Then move one step up and look right, then pause.

What ends up happening is she'll take one slow step down, pause. look right, longer pause. take one slow step up, pause. look right, pause. repeat.

I dont know whats causing it, but it seems like its all just very slow. I've tried changing the speed and frequency, but that just makes it all happen much faster, but the pauses still happen..

Anybody have any ideas of whats causing this? This is in a new project i started, but its never done this in any of my previous projects before and i've tried everything i can think of to try and fix it.. It also doesnt do it if i set up an movement route in the events 'contents' either.
Are there any other events blocking her movement?

Is this the only page on this event, or do you have more? What's on the other pages? Are you certain this is the page that's active?

Try copy/pasting this event and place the pasted event a few tiles away, where there are no other events. See if the same thing happens.

Next time you need help with an event, please show the entire event window. I want to know if there are any conditions on this event indicating a switch might be turned on, which might also be controlling a parallel process map event or common event, which are also pretty good at causing lag.
Sorry, that makes sense. Anyway the move route is set in the events auto move route and not on a move route defined in the 'contents'. Theres nothing there except some flavor text for when the player interacts with the event. No other tabs to the event, and no interactions with this event from switches at all.

2lnd0t2.png

9tmucz.png


And no theres no other events around her that would impede her movement at all.
245yro3.png


To make matters even more interesting, i've done a little more testing.. This lag is happening with any events movement routes on the whole map. I made some other events and just set their custom movement routes to different patterns of moving and looking, and they all pause between each step.. It didnt do this on my last map so I'm not sure whats causing it..

Edit: Even more testing, it's not doing it if i made the event move using a 'set movement route' through an autorun command (ie: A cutscene) but its happening when i set a events movement route through their own custom movement in the 'Autonomous Movement"
What plugins do you have? If you disable ALL of them, does the issue still happen?

What about on a completely different map (with plugins enabled, and again with plugins disabled) - do you see any lag on other maps?

It could be just one parallel process event you have on this map that is badly designed (doing lots of heavy grunt-work, without any waits so other processes can get a look-in). A parallel process event that shows a picture and never turns itself off or erases itself could do this, as it's showing the picture on every frame, 60 times a second. Just one example, but there are many others. That's why I'd like you to see if it also happens on other maps.

(try the other map first, before you start disabling plugins - if it doesn't happen on other maps, we know it's probably not plugin related and is something on that specific map)

If it could be plugin related, look at all your plugins and see what switches & variables they use. Then go to the other map where there is no lag and confirm what those switches & variables are set to. Then go to the map with the lag and see what they're set to. You could be using a switch or variable that's also used by a plugin, and when it gets turned on (on this particular map), the plugin might be doing stuff here that it wasn't doing on the previous map.
copy the event over to an empty map and make sure all common events are disabled.
if the event still lags, it might be that something changed either the frame rate, or the moving speed.
Autonomous move routes have an automatic pause after every movement (lower frequency = higher pause). That's the purpose of the frequency part anyway, to determine how quick/slow it takes before proceeding to the next autonomous movement.

So if you need it to continue to the next step right away, try using the highest frequency or if it's still pausing (though as far as my tests, highest doesnt cause a pause), you'd need to set his move route via the event command instead so that they are processed immediately right after one another (this is why on your test, it didn't have the pause when you used the event command to set their move routes)
You're right - I didn't even think about that! Higher frequency = smoother movement. I do it for butterflies 🙂
Alright so i played around with the frequency a little, and set it to the highest frequency.. and now its working just fine. Which is weird because i tried that before and it didnt work.

But regardless, thanks for the help everyone ^^

Original thread: https://forums.rpgmakerweb.com/threads/wierd-lag-within-an-events-movement-route.106388/