[RMMV] 30+ PNG with 0 opacity

Hi, I'm new on the forum and the RPGM engine.
I want to ask something about the "Show Picture..." event

Does the showing picture as many as possible (30+) with 0 opacity lags the game/impacts the gameplay?

So I figured out how to make a smooth transition between 0 and 255 opacity for the character png dialogue,
but I realized when a huge amount of "Show Picture..." event is happening at once, it can really stutter the game for a sec.

pngs.PNG

don't mind the self-switch, I just recently copy-pasted these from the tile event

I'm planning to do one event where every png picture (like 30-ish) to be shown before the gameplay (with several 1 frame wait of course) but does showing 30+ pngs with 0 opacity lags the game?

(I know I can do this event by my own, but just asking if someone already did it and I wonder if it impacts along with the gameplay or not)


Thanks in advance
Does the showing picture as many as possible (30+) with 0 opacity lags the game/impacts the gameplay?
no - or rather not exactly

what you experience is most likely not command lag, but loading delay: all picture files need to be loaded before they can be displayed.

command lag usually only happens in loops or parallel processes if you used the wrong wait numbers to limit the processing.

many pictures at the same time can only affect the gameplay if they use too much RAM, which depends not on the number of pictures but their sizes (the number of pixels that need their info stored in RAM).

However moving show picture commands into common events has one disadvantage: If I remember correctly the event interpreter checks the map event for picture commands and starts loading the picture files when starting the event, allowing part of those files to already be loaded before they are used. Having them in a common event bypasses them, and the interpreter can only start loading them when the common event is called.
You might still have to go the common event route for other reasons or advantages, but if there is no other advantage you might consider keeping those commands in the map event.

Additionally you can reduce loading delay by increasing file compression - but that costs picture quality. You'll have to test yourself if the reduced quality of the pictures is worth faster loading.


EDIT:
Some of your picture filenames still contain spaces. please replace them with _ like the others.
That has nothing to do with delays, but spaces are forbidden to be used in filenames under networking conditions and as such they can caused complete load failures "file not found" depending on deployment
Thank you for answering!
Had some testing & now I can get around avoiding the loading delay,

and I arranged how map event & common event works in the game so it won't overlap (Did the Show Picture... & Move Picture... in a separate common event).

I also did the name replacement suggestion, Thanks.
The thread can now be closed.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-30-png-with-0-opacity.172240/