Ways to reduce lag?

Lately i'm having a lot of lag issues, I dont had any lag issues with RPG maker ace and thats why im thinking in use ace again

I used yanfly"script to resize the resolution of the screen of my game but i did not helped to reduce lag, so i dont know what to do, i have lag even without scripts
The program in itself requires a slightly better machine than the VX Ace,

so if you don't have a powerful computer, it may suffer a bit. If there aren't plugins,

and there are no event systems causing lag, think it might be this. I think...
MV has been reported to be much more effective than Ace, which means less lag for the same situation or the same events.


If you are experiencing lag, then you need to identify what creates the lag before you can solve it.


Because one badly written parallel process can bring down every computer in existance...


So please experiment in copies of your project until you can identify when the lag happens.
The thing is that i don't have any events yet Dx, only maps, characters and skills, My lag is moderate, it lags like 5 seconds before a battle but that can be really annoying
what plugins do you use, which screensize did you set your game to, and have you updated to the newest MV?
Only the scripts of Yanfly plus animatedSVenemies and animatedSVenemiesforYanfly, 800x600 and yes i have 1.01
I reccommend disabling animated enemies and SV enemies.  Some of the lag is the result of bugs though especially with the database and music and with music, a plugin is in the works.
You say the lag still happens even if you disable the plugins? If you create a brand new project and don't add any events or any common event or any plugins at all, do you still see the lag?


MV does not load all its resources on starting the game, like previous makers did. So when you change scenes, there is a loading period where all the sprites are grabbed that are necessary for that scene. Could this be what you're referring to as "lag"? Just a delay prior to the scene appearing? There is a plugin that will allow you to load all the resources at the start of a map or the start of a game that should ease this issue, and would certainly be worth looking at if you're not planning on deploying your game to the web (I'm not sure what the story is with mobile devices).


"Lag" is when things are running slow ALL the time, or all the time on a specific map. These issues can usually be traced to an event that could do with some design tweaks.
What are your computer spec, if you don't mind me asking? Does your computer fight the requirements noted on the website? Here's the webpage where you can look at the requirements. Compare them to yours and see if that's where the problem lies, MV does have higher requirements than Ace. 

http://www.rpgmakerweb.com/products/programs/rpg-maker-mv
It may very well be your computer's memory struggling, especially if you have other big programs open like photoshop. Try running it by itself , hopefully that gives some insight.
"Lag" before battle is actually due to the battle system loading up the resources used at the time of battle before the battle starts. If you have particularly large battlebacks, big SV_Actors, etc., the lag time can be pretty big. However, the "lag" should only occur during the first time the battle loads up provided nothing else is changed about the party or types of encounters you'll face. If you're doing only Battle Test, the "lag" will be more apparent because you're loading up a new instance of the game each time. However, in instances where you're playing battles back to back, only the first one should "lag" while the other battles are using images that were already loaded and stored within the cache.
There is a plugin that will allow you to load all the resources at the start of a map or the start of a game that should ease this issue
Thank you that helped

"Lag" before battle is actually due to the battle system loading up the resources used at the time of battle before the battle starts. If you have particularly large battlebacks, big SV_Actors, etc., the lag time can be pretty big. However, the "lag" should only occur during the first time the battle loads up provided nothing else is changed about the party or types of encounters you'll face. If you're doing only Battle Test, the "lag" will be more apparent because you're loading up a new instance of the game each time. However, in instances where you're playing battles back to back, only the first one should "lag" while the other battles are using images that were already loaded and stored within the cache.
You have reason yanfly, it only occurs during the first time however when testing boss battles that can be really annying

Original thread: https://forums.rpgmakerweb.com/threads/ways-to-reduce-lag.50083/