Galenmereth

Semi-retired
Veteran
Joined
May 15, 2013
Messages
2,249
Reaction score
2,199
First Language
English
Primarily Uses
N/A
Pixel Perfect Scaling Mode 1.1.1
Galenmereth

Introduction
This plugins enables pixel-perfect scaling in RPG Maker MV and MZ, without any configuration. Optionally you can enable an in-game option menu addition so that your players can toggle it off or on. The label for this menu option is configurable.

By default when players scale the window or run the game in fullscreen with scaling on (F4), or run their OS in a scaled mode, the scaling blurs pixels in the entire scene, causing the effect of it looking "out of focus" as you can see in the "off" portion of the image below. This plugin remedies that. The caveat is there'll be no smoothing / blurring of fonts either, so it might not be suitable for every art style out there. But for chunky pixel art games, it makes a big difference.

Features
* Works in MV and MZ
* Default behavior requires no configuration - Just enable the plugin and you get the pixel scale mode
* Optionally you can also enable an in-game options menu with a customizable label so that your players can opt in or out of the new scale mode

Screenshots
PixelPerfectBanner.png

PixelPerfectExample2.png

params.PNG
options.PNG

How to Use
Put the script in your <ProjectFolder>/js/plugins folder, then select it in the editor's PluginManager. If you want to use the in-game menu, place it last in order of plugins for best compatibility.

Plugin Commands / Script Calls
There are no plugin commands or script calls

Demo
The script is very simple so I've opted not to include a demo, but if there's demand for it, I can add one :)

Changelog
1.1.1 - Fix scaling issue on sprites when using in-engine scaling by disabling Bitmap smoothing
1.1.0 - Initial public release

Download

Terms and Credits
MIT License - Free for commercial use in any game. Don't remove the license from the script file itself. Credit appreciated, but not required.
 
Last edited:
Joined
Jul 12, 2020
Messages
555
Reaction score
304
First Language
English
Primarily Uses
RMMV
Wow thank you! I was always bothered about that feature of RPG Maker's games, but it feels great knowing there's someone out there willing to remedy that for the betterment of the engine. Awesomesauce!
 

DavidUchina

Villager
Member
Joined
Oct 23, 2021
Messages
14
Reaction score
8
First Language
Romanian
Primarily Uses
RMMV
Hello, for some reason it just remains the same, do I need other plugins for this to work? (I am using MV)
 

Kay_Erthisia

Ask me about my babies & I'll spam parrot pics <3
Member
Joined
Sep 22, 2013
Messages
28
Reaction score
40
First Language
English
Primarily Uses
RMMZ
Oh, brilliant!!
I absolutely love pixel art, and the blurry scaling always bothered me way too much.
This is plug-in is an absolute saviour! Thank you!!!
 

bishiba

Adept
Veteran
Joined
Apr 6, 2016
Messages
278
Reaction score
163
First Language
Swedish
Primarily Uses
N/A
This is so perfect, was looking for something like this before, happy it was made! Very good job!
 

CEO1234

Veteran
Veteran
Joined
Jun 3, 2019
Messages
99
Reaction score
10
First Language
English
Primarily Uses
RMMV
Looks like a plugin I could use, but since I moved to the UK, I use £ instead of $. Will this be a problem when I purchase it or does it automatically convert? This is my first time buying a plugin so I would like to know, thanks!

It seems to work for most people, but David Uchina seemed to have trouble getting it to work. Is there really a chance it won't work? If I'm going to buy something, no matter how cheap, there should be no issues like that.
 

Skurge

Archtross Dev
Veteran
Joined
Jul 12, 2015
Messages
1,333
Reaction score
323
First Language
English
Primarily Uses
N/A
This plugin does seem to fix the blurry issue in windowed mode, but when viewing in full screen or stretching the window the quality of the pixel correction is a little...off.

quality.png

Have you run into any plugin conflicts when creating this? I haven't run into any crashes or incompatibility issues and i've been mostly testing without any activated plugins.
 

TenTranVN

Veteran
Veteran
Joined
Apr 13, 2017
Messages
191
Reaction score
20
First Language
Vietnam
Primarily Uses
RMMV
I really like it
 

DavidUchina

Villager
Member
Joined
Oct 23, 2021
Messages
14
Reaction score
8
First Language
Romanian
Primarily Uses
RMMV
Looks like a plugin I could use, but since I moved to the UK, I use £ instead of $. Will this be a problem when I purchase it or does it automatically convert? This is my first time buying a plugin so I would like to know, thanks!

It seems to work for most people, but David Uchina seemed to have trouble getting it to work. Is there really a chance it won't work? If I'm going to buy something, no matter how cheap, there should be no issues like that.
I apologize for the veeeeeeeery late response, 3 windows reinstalls later and its working, i kinda gave up on rpgm for a little while and started again because i got bored, it works just fine and it's also free
 

CEO1234

Veteran
Veteran
Joined
Jun 3, 2019
Messages
99
Reaction score
10
First Language
English
Primarily Uses
RMMV
I apologize for the veeeeeeeery late response, 3 windows reinstalls later and its working, i kinda gave up on rpgm for a little while and started again because i got bored, it works just fine and it's also free
Oh! Well perfect! This was a pleasant surprise. Thank you for letting me know.
 

jackassets

Veteran
Veteran
Joined
Oct 31, 2015
Messages
223
Reaction score
43
First Language
Portugues
Incredible, would a script call be possible? In my game the options menu is custom made manually. The player does not have access to the standard RPG MAKER menu
 

Skurge

Archtross Dev
Veteran
Joined
Jul 12, 2015
Messages
1,333
Reaction score
323
First Language
English
Primarily Uses
N/A
Found bugs that occur on the two available parameter options.

1) When options is set to none, the quality is badly pixelated, irregardless if it's a simple sprite or a more detailed one, exiting and re-entering full screen sometimes fixes this but it shows inconsistency.

2) When using the in game option, quality is perhaps more random and will require the user to play around with the screen, toggling on and off the options to eventually get the desired crisp result.
 

HornsterLG

Veteran
Veteran
Joined
Dec 19, 2021
Messages
91
Reaction score
25
First Language
german
Primarily Uses
RMMV
i am trying to implement your plugin into my game with the yanfly option core plugin. but i am just to bad at coding :/
 

bixxplays

Warper
Member
Joined
Feb 8, 2021
Messages
2
Reaction score
0
First Language
english
Primarily Uses
RMMZ
this doesn't seem to effect enemy battle sprites or if it does they still seem to be blurry any way to fix this?

Edit: never mind found the problem
 
Last edited:

Fionn23

Eternal Noob
Veteran
Joined
Dec 11, 2021
Messages
123
Reaction score
59
First Language
Filipino
Primarily Uses
RMMZ
will try this
 

cuttlfrsh

Warper
Member
Joined
Nov 21, 2021
Messages
4
Reaction score
1
First Language
Slovak
Primarily Uses
RMMV
Hi! I recently started using this plugin and have run into some issues. In windowed mode, it does what it says on the tin, but something's going wrong when I go into Fullscreen using F4.

For the record, I'm using RPG Maker MZ and the resolution I use is 544x416, with 32x32 tiles.

WINDOWED MODE:
1676898645730.png

Notice how everything is pixel-perfect and everything?

Here's what happens when I go into fullscreen mode.

FULLSCREEN MODE:
1676898714989.png

Do you have any fixes for this? Thanks in advance!!
 

Latest Threads

Latest Profile Posts

This girl is jealous because I haven't drawn her again in months.
Fr_RrgwaUAAafNa

New sprites in my project!
Updating my stream thumbnail collection here Streaming more game dev in 30 minutes or so. :LZSexcite:

Programming languages are amazing.

Someone needed help with a problem in C#. I've got 0 experience in C#. I read 0 lines of their code. I only knew what they wanted to do. I wrote a completely generic code in Javascript containing the generic answer. But they understood what I was doing and translated that to their code. 20 seconds later, problem solved.
been using ChatGPT to write a new story. I told it to :
generate a word like gundam for a false prophet super AI

it answered :
"NOVUS" as an acronym for "New Omnipotent Virtual Unit for Synthetics"? sounds similar to "gnosis," which is a term associated with knowledge and spiritual enlightenment, fitting the theme of a false prophet.

Forum statistics

Threads
129,813
Messages
1,205,432
Members
170,927
Latest member
The_Milk
Top