Fit Picture To Screen Plugin

Pontifex

Warper
Member
Joined
Dec 15, 2016
Messages
3
Reaction score
18
First Language
English
Primarily Uses
This plugin will automatically resize a picture to any screen size


DL 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
 
Last edited by a moderator:

HalcyonDaze

Smoke and Mirrors
Veteran
Joined
Feb 6, 2013
Messages
320
Reaction score
214
First Language
English
Primarily Uses
RMMZ
This is an extremely simple plugin, but incredibly useful. Thanks for this! I'm surprised no one came up with this sooner!
 

DangDut

Narratell Studios
Veteran
Joined
Jun 1, 2015
Messages
37
Reaction score
6
First Language
Indonesian
Primarily Uses
Does credits needed?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I think I've got my hero designs pretty much finialised ( still got some tweaks. ) In the end it'll be the four outfit colour variants with four different skintones.

I'm a bit conflicted. One the one hand, it's quite visually cool to make bodies of water that the player can interact with by going into it. However obscuring the player character from a gameplay perspective is pretty bad. Hmm... There's the option to make the area around the player visible, but then that kind of defeats the purpose of submerging them. :unsure:
Stream will be live shortly with some Darkest Dungeon! Feel free to drop by!
Another two plugins done! One being an on map grid inventory.
busy with my newborn child, can't even touch pc at all ;_;

Forum statistics

Threads
104,298
Messages
1,005,353
Members
135,812
Latest member
Yagyu_Chan
Top