So there is this image that is supposed to show during the enemy's turn each time. Problem is, it won't show the first time it is called. The next turn and on, it works just fine. How can I fix this? (The image is the soul for SRD's Undertale battle system)
Images
RPG Maker MV SupportSounds like a caching problem. I know there are cache plugins out there, but honestly I usually fix those problems by fixing the code directly (advantage of being a coder).
How do I code it so it preloads certain folders?
Edit: I guess what I'm asking is, how do I make it so it preloads certain images in the folders?
the best way for a non advance code, use Galv image cache, it's easy to use though.
you can do a few or a folder you desire on the start, other images can be than loaded through a scriptcall
when the images are needed 🙂
you can see a bit how to use the scriptcall in my evented image menu where i use the scriptcall,
else yo ucan find it in the helpfile or DEMO you can download how to use it 🙂
Probably 1 of the best there is though (in my opinion)
you can do a few or a folder you desire on the start, other images can be than loaded through a scriptcall
when the images are needed 🙂
you can see a bit how to use the scriptcall in my evented image menu where i use the scriptcall,
else yo ucan find it in the helpfile or DEMO you can download how to use it 🙂
Probably 1 of the best there is though (in my opinion)
Thanks for the help! It works!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/images.112676/