Scale Image Automatically

Super-User

Villager
Member
Joined
Apr 11, 2019
Messages
21
Reaction score
5
First Language
Chinese
Primarily Uses
RMVX
Features:kaohi:
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 :kaopride:
  1. Download the plugin file (from the above link).
  2. Place it in your project's folder, under js/plugins.
  3. Open your project in RPG Maker MV.
  4. Go to Tools > Plugin Manager.
  5. Double-click an empty line to add a new plugin.
  6. Select the plugin from the drop-down list.
  7. Click the "Event" button from the Toolbar
  8. Double-click the tile that you like to edit event
  9. 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
  10. Select Tab "3", and click "Plugin Command..."
  11. 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.
  12. Click "OK" to confirm
Terms of Use :kaothx:
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~! :kaoluv:


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/
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Stream will be live shortly! Tonight will be the PREMIERE of Killer 7 for the first half of the stream, and at half-stream, we will switch to a session of the Interactive Text Adventure! Feel free to drop by!
Watching the launch, I felt a sort of detached excitement. Usually I'd think something like this would be extremely exciting. I'm fascinated by space exploration and am a big Sci-Fi fan. I guess it's just current events.
What did everyone else think about it?
Doing ep 1 of my RPG!
For those still craving more Konosuba madness
I'm new here, any tips welcome

Hope you fun! :LZSgrin: :LZSkiss:
I set my goal to be finished with Knight Bewitched 2 by sometime in July. Based on my current work schedule and progress, I'm not sure that's going to happen, but by golly I'm gonna try!
I've completed and uploaded the Elemental Light Demo Edition!!!!
I'm so excited, I hope you enjoy it and I will appreciate any tips from you all!

Forum statistics

Threads
97,967
Messages
948,177
Members
129,212
Latest member
hexedpalidin
Top