RPG Maker implements caching to speed up image loading.
If you look at the ImageManager, you can see it in action
However, I don't believe this cache is ever cleared out.
Will this become a problem?
If you look at the ImageManager, you can see it in action
Code:
ImageManager.loadNormalBitmap = function(path, hue) {
var key = path + ':' + hue;
if (!this._cache[key]) {
var bitmap = Bitmap.load(path);
bitmap.addLoadListener(function() {
bitmap.rotateHue(hue);
});
this._cache[key] = bitmap;
}
return this._cache[key];
};
Will this become a problem?