Yanfly's Grid Free Doodads plugin lags the menu.

Demonbane

a very cool bear
Member
Joined
Jul 25, 2018
Messages
24
Reaction score
12
First Language
Filipino
Primarily Uses
RMMV
Apparently, Grid Free Doodads made by Yanfly lags my menu when closing it for some reason. I am pretty frustrated that I can't use Doodads because of this. I hope Yanfly can fix this.
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,124
Reaction score
10,628
First Language
Czech
Primarily Uses
RMMV
Is it on every map? How many doodads these maps use?
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,290
Reaction score
11,696
First Language
English
Primarily Uses
RMVXA
[move]Javascript/Plugin Support[/move]
If this were a bug in the plugin itself, it would have received multiple reports about it. As it has not, then it is probably something to do with your combination of plugins.

Are you using anything that changes the Menu in any way? If so, please give a link to that plugin's web page so that if people need to check anything they can do so without having to hunt for it.
Have you checked that the order of your Yanfly plugins corresponds exactly to the list you find on Yanfly's website? Any alteration at all in the order will produce problems.
 
Last edited:

Fornoreason1000

Black Sheep
Veteran
Joined
Mar 1, 2014
Messages
205
Reaction score
95
First Language
English
Primarily Uses
RMMV
I know i get Huge frame drops when opening and closing the menu and changing scenes, even in vanilla.
but it's hardly noticeable.

with about 200+ doodads (sometihng like that, i lost count but that's alot!), the lags from the menu becomes more noticeable, however this lag was always there its just getting worse. I've never looked into this, but i know this on cases can cause stuttering if you are using HTML audio from older versions of RPGmaker MV.

no doodads, basic map no plugins and using the inbuilt FPS counter.
this is on my machine so your may be faster or slower.
opening the menu: 35 FPS
closing the Menu: 50FPS

200+ doodads:
opening the menu: 15 FPS
closing the menu 30FPS

Like i said, i don't know why this happens yet, but the profiling looks like this.

vanilla.png

doodads.png

so, yeah, 200 doodads make those frames take 2-3 times longer, but they are already taking over 80ms. it isn't directly caused by the Doodads, just if you have enough of them they make an existing problem worse.

I've yet to discover the source of this but my guess is the map is being reloaded each time you enter and exit the menu and because each tile is an object, as well as characters and now doodads as well. this means the engine has to recreate all of them (creating masses of objects isn't cheap) it causes the game to "choke" because it needs redo everything within one frame due to the synchronous nature of the creation.
 
Last edited:

Demonbane

a very cool bear
Member
Joined
Jul 25, 2018
Messages
24
Reaction score
12
First Language
Filipino
Primarily Uses
RMMV
Is it on every map? How many doodads these maps use?
I tried it on a completely new project with only yanfly's core engine plugin and doodads plugin installed and it delays the menu a second or two before it close the menu.
[move]Javascript/Plugin Support[/move]
If this were a bug in the plugin itself, it would have received multiple reports about it. As it has not, then it is probably something to do with your combination of plugins.

Are you using anything that changes the Menu in any way? If so, please give a link to that plugin's web page so that if people need to check anything they can do so without having to hunt for it.
Have you checked that the order of your Yanfly plugins corresponds exactly to the list you find on Yanfly's website? Any alteration at all in the order will produce problems.
I thought moghunter's menu was the culprit at first but I tried it on a new project with only yanfly's core engine and the doodads plugin but it still produces the same delay when closing the menu but it doesn't delay when opening and closing other commands on the menu just the closing itself.

Here's a pic and gif showing the test.

Game without doodads plugin



Game with doodads plugin



Note:
I am using version 1.5.2 of rpgmaker mv (coz some plugins I use are not compatible even with the stable version 1.6.1) so I am not sure if the same thing occurs on 1.6.1. I don't even know if yanfly already updated his doodads plugin to 1.6.1 compatibility...
 
Last edited:

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,110
First Language
English
Primarily Uses
RMMV
Even though it's not what you're reporting, in the gif you posted there's another issue that the actor faces not showing up in the menu the first time you open it. This is a bug in the doodads plugin, the author overwrites the 'ImageManager.isReady' function for an unknown reason and it causes that issue.
 

Demonbane

a very cool bear
Member
Joined
Jul 25, 2018
Messages
24
Reaction score
12
First Language
Filipino
Primarily Uses
RMMV
Even though it's not what you're reporting, in the gif you posted there's another issue that the actor faces not showing up in the menu the first time you open it. This is a bug in the doodads plugin, the author overwrites the 'ImageManager.isReady' function for an unknown reason and it causes that issue.
I did notice that but I thought it's just my screen recorder. Thank you for pointing that out.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Yesterday I made my first step towards eating more healthily.
I saw candy on discount and did not buy it.
"They yearn for what they fear for."
I always told my DA fans how much I hate slot machines. They're fine in games as a risk-and-reward system. But when you're spending REAL MONEY in a Vegas casino to try and hit the jackpot (which very, very few people will), it can really hurt your budget. Gambling is a bad habit, and I don't like wasting my money on a slim chance. Go to Vegas for the experience, not the jackpot.
Took the kids to a corn maze. They gave us a map and had lights at certain points in the maze. Not overwhelming... or underwhelming... just... whelming.
Okay, vacuuming fruit flies out of the air is surprisingly effective.

Forum statistics

Threads
104,396
Messages
1,006,082
Members
135,927
Latest member
mich
Top