Hi!
I need an info about how the image cache system works in RPG MV.
I use animated characters busts and I use pictures as frames to animate them.
I also use a plugin to preload images in order to avoid flickering.
I organized things like this:
1) Preload every image through scripts
2) Show picture commands to create animation
3) I run the ImageManager.clear() script to unload cache every 4-5 animations cycles
What happen if the game tries to preload same images (i.e. the same animation) before the cache is cleared by the script?
Will the game preload two copies of the same file in the cache? Will the "new" file overwrite the old one? Or won't it be preloaded again at all because it is already there?
It can help me to better calibrate when and how often to clear the cache
I need an info about how the image cache system works in RPG MV.
I use animated characters busts and I use pictures as frames to animate them.
I also use a plugin to preload images in order to avoid flickering.
I organized things like this:
1) Preload every image through scripts
2) Show picture commands to create animation
3) I run the ImageManager.clear() script to unload cache every 4-5 animations cycles
What happen if the game tries to preload same images (i.e. the same animation) before the cache is cleared by the script?
Will the game preload two copies of the same file in the cache? Will the "new" file overwrite the old one? Or won't it be preloaded again at all because it is already there?
It can help me to better calibrate when and how often to clear the cache