MZ SRD HUD PLUGIN - Does it takes too much CPU processing?

Hello guys! Im createing a new multiplatform RPG and I want it to have as less as processing as I can make haha

Im using and abusing of this plugin: xD

As I could see around, its recomended to use 100 events maximum in a map to avoid lag issues.

I have some questions about this HUD plugin. Im using a lot of images xD
The way Im building my game, Im calculating that I will use about 200 images. I already used 100. And the game is running ok so far.

As I can see It kinda add "images" on the screen. But when I go to the plugin config "F12". All the images pops on the screen at same time. As it all of them was all the time there but transparent. You know? xD

My questions is:
- The way this plugin was made, can I use 200.. 300 images without compromise CPU usage for the players? Im not using 200 images at same time, they are turned off and on all the time. But I keep about 40.. 60.. ON at same time.

- Do the images are indeed ''precached'' and it consume processing all the time? Or it only spend CPU when I turn ON that image on the screen?

As was said about the 100 events max on a map is the recommended, how many images do you recommend me to use maximum on this plugin? (Said that images spend processing)


Thats it. Thank you so much in advance!
I will be very grateful for the help! 😀
I dunno if I'd personally use that many pictures... I had a few elements on during battle and it dropped the frame rate a solid 10 FPS. on the field... I wouldn't recommend using TOO much because the game is constantly checking for the HUD items. I don't really know how to get it to NOT update constantly. that can cause issues. But on the field, I'd say if you aren't using a ton of stuff, go for it. it's like events I feel, you probably should only use what you need.
As I could see around, its recomended to use 100 events maximum in a map to avoid lag issues.
That doesn't really mean anything. Simply having an event on your map doesn't affect your game/processor, it's what events are doing and how often they're doing it that can cause lag.

My questions is:
- The way this plugin was made, can I use 200.. 300 images without compromise CPU usage for the players? Im not using 200 images at same time, they are turned off and on all the time. But I keep about 40.. 60.. ON at same time.
Again, it's difficult to say since you're talking about things that are going to vary highly between individual computers. Having 40-60 system-generated images at a time sounds high to me, but I really haven't done much involving Show Images and the like, so I won't attempt to give an estimate. However...

- Do the images are indeed ''precached'' and it consume processing all the time? Or it only spend CPU when I turn ON that image on the screen?
Now you're talking about two different things. Whether or not a file is cached is talking about your computer's memory, not its processor. Having something in memory doesn't make your CPU do anything - your CPU performs operations when things happen.

You could have your entire RAM taken up and going onto virtual page files with your CPU usage at 0%.

As was said about the 100 events max on a map is the recommended, how many images do you recommend me to use maximum on this plugin? (Said that images spend processing)
Except all of that is kind of sideways. I already mentioned this 100 event thing is kind of made up. Similarly, having an image doesn't "spend processing." It takes processor power to draw the image, but then it's there.

Maintaining an image like part of your HUD overlay doesn't expend any CPU, it'll be doing work on things like redrawing your character sprite and map tiles as you walk around. (presuming that part of MV/pixi/whatever is at all sanely designed. I suppose it's possible that someone would make a product that re-drew everything every frame, but that would be just shoddy.)

If you're concerned about CPU, then the matter is how many images you're changing at once, not how many total are being displayed. Other things have to do with RAM.
Hello!
@zerobeat032 thank you so much for the answer!
I had a few elements on during battle and it dropped the frame rate a solid 10 FPS.
Its good to know that! Thanks!

it's like events I feel, you probably should only use what you need.
I will try haha xD Thank you for the tips


@ATT_Turan thank you so much for the answer!!

That doesn't really mean anything. Simply having an event on your map doesn't affect your game/processor, it's what events are doing and how often they're doing it that can cause lag.
Oh thats nice!! I really hadn´t thought in this way. Its makes sense at all

Now you're talking about two different things. Whether or not a file is cached is talking about your computer's memory, not its processor. Having something in memory doesn't make your CPU do anything - your CPU performs operations when things happen.

You could have your entire RAM taken up and going onto virtual page files with your CPU usage at 0%.

Got you! I didnt know that as well!!

Except all of that is kind of sideways. I already mentioned this 100 event thing is kind of made up. Similarly, having an image doesn't "spend processing." It takes processor power to draw the image, but then it's there.

Maintaining an image like part of your HUD overlay doesn't expend any CPU, it'll be doing work on things like redrawing your character sprite and map tiles as you walk around. (presuming that part of MV/pixi/whatever is at all sanely designed. I suppose it's possible that someone would make a product that re-drew everything every frame, but that would be just shoddy.)

If you're concerned about CPU, then the matter is how many images you're changing at once, not how many total are being displayed. Other things have to do with RAM.
Oh my god thank you so much for the LESSON haha
It was very enlightening for me.

Thank you guys! Wish you the best 😀

Original thread: https://forums.rpgmakerweb.com/threads/srd-hud-plugin-does-it-takes-too-much-cpu-processing.152055/