how does the rpg maker load the charsets?

Hi there,

little question:
In addition to my main character, I had a separate character set with emotes (laughing, crying, etc.)

When I played this emote with an event (changed in this event my charset to the emote set), the character disappeared. Then I noticed that it doesn't happen as soon as I load the emote charset beforehand (with an autorun event before entering the map)

Now I have expanded my main charset and added the emotes. Now the emotes run without any problems, I don't have to preload anything.

A general question about the RPG Maker MV:

Is that because I am now using it in one charset and this whole charset (because it is in use) is loaded completely at the beginning of a map? so the maker check all charsets on a map change and load them beforehand?

thanks
every image is loaded on demand, before it's displayed.
that's to prevent excessive usage of memory.
not exactly.
MV creates HTML5-based games, and that means their resource handling is modelled and optimized for loading over the internet.
so basically any file is loaded when it is called by the code, and repeated uses after that should use the already used file - but the cache and RAM is limited, and that means the browsers garbage collector will kick out files that have not been used the longest when the cache gets to its limit.

EDIT: ninja'd, my first sentence goes to the OP post not the one directly above
Do you use any plugins that change the handling of how MV loads images?
I'm sorry. I did not express it correctly. By changing the character set (from main to emote charset) in a movement event, the character disappears for a millisecond. I have now fixed that by putting my main char and the emote charset together into one charset. so i thought the maker is "loading" the whole charset, not just the selected character in that set. then it would be logical for me that the character does not disappear for a moment,because the whole charset is preloaded. was simply a question of understanding.

@Poryg:
No. I tried it in a empty project, it was the same.

and sorry for my bad english 🙂
I see. Yeah. That makes more sense then. 😀 And is answered by the two posts above.
MV creates HTML5-based games, and that means their resource handling is modelled and optimized for loading over the internet.
so basically any file is loaded when it is called by the code, and repeated uses after that should use the already used file - but the cache and RAM is limited, and that means the browsers garbage collector will kick out files that have not been used the longest when the cache gets to its limit.

EDIT: ninja'd, my first sentence goes to the OP post not the one directly above
Thank you for the explanation. 🙂 and if the file has never been used, it is not in the ram / cache and the change from the charset brings this millisecond dropout because it needs to be loaded. that makes sense.

Original thread: https://forums.rpgmakerweb.com/threads/how-does-the-rpg-maker-load-the-charsets.140102/