Unlimited and Optimized Pictures handle
Introduction
These are just some modifications in the original script.
Features
Remove the auto created (100 default) image objects, and create the image objects dynamically, and when the "erase Picture" is called, it also erase the object.
This doesn't create a object with empty values, it only relocate space for the used images.
So, even if you use, "$gameScreen.showPicture(9999999,"Image_Name", 0, x, y, 100, 100, 255, 0);" it will not make the variable size 9999999.
How to Use
Just save the script as a .js file and add it to your project.
Plugin Commands / Script Calls
The same from original.
As the engine has a limite of 100 when calling throug "Show Picture", use "$gameScreen.showPicture" function.
Example:
JavaScript:
You can use any "id" you want.
Like:
JavaScript:
Script
JavaScript:
Terms and Credits
Use it however you like, no need to give me credit, since it's just a modification of the original script.
本贴来自国际rpgmaker官方论坛作者:Naemegashi Yokohuro处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/unlimited-and-optimized-pictures-handle.147871/