Hello i made for myself plugin named dynamic sprite (or equipment depend on version), what it does is basically creating and coloring bitmap through usage of render texture and shaders from pieces of body/equipment, but the first version was working on sprite character class and it created every time bitmap every time map was reloaded (which takes for ~25 actors equipped about 2sec) so every time we go in and out of menu it would mean wait time, first i tried to make version when we have information stored in png file, but truthfully whilst saving to file goes fine but i had a problem with retrieving information from file on correct time (means even with callback in saving files it loaded previous file for me), also since i didn't need cache for those bitmaps at all i create a modified copy of loading bitmap, but in game it was visible lag while loading bitmap and as i said using cache was out of question since i couldn't find a reliable information to inform game when it need to reload reload texture from hdd and when from cache. The last version of mine use a mine cache which keeps all actors current bitmaps and just recreate them when needed, but my spritesheet are 640x420, so basically it's 1mb in memory, so if i have a small game it's acceptable but with larger ones (with ~500 actors) it's not useful. So i come to forum to ask if anyone has a good idea how to optimize this script?