Original Source
- Original title: Scale Image Automatically
- Original author: Super-User
- Original date: April 11, 2019
- Source thread: https://forums.rpgmakerweb.com/threads/scale-image-automatically.107839/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)
Summary
I 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: How to Use Download the plugin file (from the above link). Place it in your project's folder, under js/plugins.
Archived First Post
I 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 [number,keepRatio] , 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
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/
Features Mentioned
- I 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:
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
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.
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...