I'm using Visustella CoreEngine and have put in all 4 of the images in the plugin.
I'm using a console command in a script on another test event to make sure the
images are loaded, and they seem to be... Well i cannot be a 100% sure that the
names are exactly the same, i'll check.
And i also see that there are only about 15 items in the cache, since i go directly to the test map from game start... I'm using RPGMaker MZ version 1.6.1 if that has anything to do with it.
I'm aware of the shortcomings of the image cache deleting everything now and then, looked into the code of the ImageManager.
But i found a solution already, but i don't know if that has any weird side-effects. There is an option in the pixi.js, in RENDER_OPTIONS there is clearBeforeRender which is turned on by default. When i turn it off, there is no frame drop on the preloaded game, and the frame drop on the non-preloaded game is cut in half. It seems to have no visible downside, but i'll have to test if it interferes with anything... In the pixi documentation it says it's only needed if the scene is transparent somewhere and the previous frame could shine through, but since everything is covered by parallax or tiles, i think it is safe to turn off.
@TheAM-Dol:
Do you know what is considered a lower-end device and if the engine even checks if it is on one? It doesn't seem to, and using RAM culling when the whole process is using only 350MB seems a bit over the top, because then lower-end would mean the system has about 1-2 gig of RAM, and i don't think RMMZ would run on such a system very good anyway. Given that rpgmakerweb and steam state it requires 8GB of RAM, this doesn't make sense (couldn't find separate requirements for a deployed project)
Update:
Ok, the pixi.js thing doesn't seem to be consistent, i sometimes have framedrops directly after game start and sometimes i don't... It gets even stranger, when i stay on the map for like a minute and do nothing, the drops happen again, but console.log(ImageManager._cache) still tells me the images are loaded, i have that as a script command inside the event for testing. console.log(ImageManager.isReady()) also tells me everything is loaded.
Update 2:
After further testing, i give up. Even when turning every plugin off, leaving the clearBeforeRender off and clearing the cache on every event call with ImageManager.clear() (leaving the whole map blank except the character image), the drop seems to show only about every 10th time, but 9 out of 10 times i do not have a drop
😛 , so loading the images doesn't seem to be the problem , but i cannot either have it to show everytime to corner it or get it to never show, which is what i want. turning clearBeforeRender on fires it consistently on the first activation, but wildly inconsistently on subsequent ones (between dropping one every 3 times to dropping once every 10 times), so turning it off seems to make it more consistent, less frequent and smaller, but it still happens every 5 to 10 seconds when running the event every second with a loop