Fit Picture To Screen Plugin
This plugin will automatically resize a picture to any screen sizeDL Latest Version:
https://raw.githubusercontent.com/creamcast/RPGMakerMVSnippets/master/fitpicture.js
Usage: FITPICTURE PICTURE_ID NAME ORIGINAL_WIDTH ORIGINAL_HEIGHT
* PICTURE_ID - the picture slot number of where the picture will be stored
* NAME - the name of the image file without the extension (store the image in the 'picture' folder in your project folder)
* ORIGINAL_WIDTH - the original width of the image
* ORIGINAL_HEIGHT - the original height of the image
* EXAMPLE: FITPICTURE 1 "MYIMAGE" 800 600
本贴来自国际rpgmaker官方论坛作者:Pontifex处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/fit-picture-to-screen-plugin.72740/
页:
[1]