Scale Image Automatically
FeaturesI have just written a plugin to scale an image to the size of game screen with/without keeping the ratio. And I have put the script to GitHub over here:
[*]https://github.com/nybbs2003/ZDL_General
How to Use
[*]Download the plugin file (from the above link).
[*]Place it in your project's folder, under js/plugins.
[*]Open your project in RPG Maker MV.
[*]Go to Tools > Plugin Manager.
[*]Double-click an empty line to add a new plugin.
[*]Select the plugin from the drop-down list.
[*]Click the "Event" button from the Toolbar
[*]Double-click the tile that you like to edit event
[*]In the Content list of the right-hand side, double-click the line below "Show Picture" of which you would like to scale the image
[*]Select Tab "3", and click "Plugin Command..."
[*]Fill in the text: stretchPictureFullScreen , in which, number is the number of picture to be scaled. And,if you want to keep the image ratio after scaled, fill in 1 or true in keepRatio, otherwise, fill in 0 or false.
[*]Click "OK" to confirm
Terms of Use
The above plugin is released under MIT License. And it is free to use, repost, and/or modify, for commercial or non-commercial projects.
Credit is required as per MIT License.
A star on GitHub is appreciated but not required.
Happy RPG Making~!
Template of this post: https://forums.rpgmakerweb.com/index.php?threads/caethyrils-plugins.106255/
Thanks to :
https://forums.rpgmakerweb.com/index.php?threads/image-size-question.92247/
https://forums.rpgmakerweb.com/index.php?threads/simple-standing-picture-plugin.87549/
https://forums.rpgmakerweb.com/index.php?threads/show-picture-to-fit-the-screen.89891/
本贴来自国际rpgmaker官方论坛作者:Super-User处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/scale-image-automatically.107839/
页:
[1]