RPG Maker Forums

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? 

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top