N_Pixelate

N_Pixelate disables smoothing to make graphics look pixelated.

Here are two screenshots (scaled up to better show the difference) showing the difference between smooth (no plugin) and pixelated (with plugin):

comp1.png

comp2.png


This plugin also happens to be compatible to MV (tested on MV 1.6.2).

You can get this plugin (and more) on GitHub: https://github.com/Nolonar/RM_Plugins-Pixelate
Just in case you can't find the download link: https://github.com/Nolonar/RM_Plugins-Pixelate/releases/latest/download/N_Pixelate.js

Terms of use
MIT License

In short: you're free to use it on any project (commercial or not) or modify it as you wish, as long as you won't remove the license and the copyright from the plugin.
Seems really cool !
I won't use it in my actual project since I don't use the engine classically but maybe in the next 🙂
Do you know if it affect the performance in any way? (just curious ^^)
Seems really cool !
I won't use it in my actual project since I don't use the engine classically but maybe in the next 🙂
Do you know if it affect the performance in any way? (just curious ^^)
I would need to benchmark it, but my gut feeling says it would improve performance, since there's no more smoothing.

However, modern computers probably have hardware acceleration for smoothing, so the performance benefit would not be very noticeable, unless you're using a very old or very slow computer and playing in fullscreen mode on a very high resolution screen.

If I have time, I'll try and test this on a Raspberry Pi 4, see if there's any measurable difference in FPS.
@Dynalt
I just wrote a quick & dirty benchmark plugin and ran it with N_Pixelate on and off.
There is indeed an improvement in performance, but it's much more significant than I thought.

I ran the benchmark on 2 computers, both Windows 10. Each test lasted 10 seconds:

The first computer is a high-end gaming PC. There was no measurable difference on this one.

The second computer (this is where it gets interesting) is a laptop that was running in battery saver mode (14-16% battery).
  • CPU: Intel i9-9880H @ 2.3 GHz (8 cores)
  • GPU: AMD Radeon Pro 5500M
  • Screen resolution: 3072 x 1920 pixels.
It's still a pretty high end device, but the difference was pretty impressive:
Without plugin (smooth):
benchmark_smooth.png


With plugin (pixelated):
benchmark_pixelate.png


The x-axis (horizontal) represents frame time (how long it took to render a frame).
The y-axis (vertical) represents how often that frame time was achieved.
This means that it's better to have longer bars on the left, than on the right.
As you can see, the N_Pixelate plugin helps achieving better frame times in general.
For example, without plugin, we can't achieve frame times below 18 ms (we never reach 60 FPS).
With plugin, the majority of our frame times lie between 18 and 21 ms (47-55 FPS).
Without plugin, the majority of our frame times are closer to 19-24 ms (41-52 FPS).

I hope this info was helpful.
Hey Nolonar. I noticed some slight improvement in my game as well. Thanks for the plugin. Good to have an option to use the pixel look (it helped my text too).
Thanks for a feature I've always wanted!
My game is now pixel perfect!
:2k32:Thank you. So clean, So simple.
Beautiful plugin!!
Spend a week trying to figure out why my custom sprite was blurred. This plugin fixed it!
Thanks mate!
N_Pixelate disables smoothing to make graphics look pixelated.

Here are two screenshots (scaled up to better show the difference) showing the difference between smooth (no plugin) and pixelated (with plugin):

comp1.png

comp2.png


This plugin also happens to be compatible to MV (tested on MV 1.6.2).

You can get this plugin (and more) on GitHub: https://github.com/Nolonar/RM_Plugins-Pixelate
Just in case you can't find the download link: https://github.com/Nolonar/RM_Plugins-Pixelate/releases/latest/download/N_Pixelate.js

Terms of use
MIT License

In short: you're free to use it on any project (commercial or not) or modify it as you wish, as long as you won't remove the license and the copyright from the plugin.
Very nice!!
Oh my god I love you if only I found you earlier
This is an amazing plug in. 🙂
is this work with Mz?
is this work with Mz?
Yes, I just downloaded and tried it with the latest version of MZ and it is working well for me. 🙂
is this work with Mz?
It's posted in MZ plugins.

1709836576467.png
I may stupid or something like that, but... I see no diffirence at all :|
My based game is Full HD. My fullscreen is 2K.

Original thread: https://forums.rpgmakerweb.com/threads/n_pixelate.126636/