(SOLVED) Some pixels are wider/bigger than others

Hi there. I was wondering if there was a way to disable the weird way pixels are scaled in the engine.
Liegmat.png


This is what the sprite of my character looks like. I use the Visustella Core Engine Plugin to make the sprites appear pixel-perfect.
Siegma.png

As you can see, some pixels get stretched in a pretty weird way, making it look really crappy. I tried a a bunch of things and this is my last resort. Is there a solution to this?
Yes and no. Pixel perfect as implemented in Visustella only works if you enlarge your window to exactly twice the size of what you have defined in the system settings. For all other enlargements, you’re better off using the default (blurry) scaling. There might be plugins out there that do a better job than Visustella’s, but I haven’t liked into that tbh.

EDIT: Maybe this helps?
Sadly no, it yields the exact same results (I actually tried that one before).
How are you making the pixels not equal a pixel? Are you resizing or maximizing the game window? Are you using a zoom plugin? What's the source of the distortion?
How are you making the pixels not equal a pixel? Are you resizing or maximizing the game window? Are you using a zoom plugin? What's the source of the distortion?
He’s using the pixel perfect settings in Visustella Core. Sadly, the pixelation is by design. That setting’s intended use is for whole number scaling.
He’s using the pixel perfect settings in Visustella Core. Sadly, the pixelation is by design. That setting’s intended use is for whole number scaling.
That's what I'm asking - what is the source of the scaling? By default, nothing should be scaled - one pixel from the image file should be displayed as one pixel on the monitor.

I don't see any plugin parameters in the Core Engine docs for "pixel perfect."
It's under "Quality of life settings" and is referred to as "Pixel image rendering"

No other plugins interfere with it, it yields the same results with no other plugins installed. It may have something to do with the screen width / height in the database (I use 816 by 624).
So I took the image you provided in your first post and scaled it down to 10% for what I presume is your original image size (54x57).

I then displayed it in MZ via Show Picture, and I can't detect any of the warping you're describing.

1732296031292.png


If I open that screenshot in GIMP and zoom in, I can see the anti-aliasing that the engine applies between colors - which I assume is what you're trying to get rid of - but I don't see any parts of the image that take up more than one pixel where they didn't before.

Just in case your image was actual size (even though that's kind of monstrously huge for the window dimensions?), I tried the same thing and I still don't see any of the artifacts from your first post.

1732296285035.png


So I guess I can't duplicate the issue.
No, of course I scaled it up (original sprite size: 36x48).

In the images provided, I can make out that you do not have "Pixel Image Rendering" turned on, or any similar plugins for that matter. If this is the case, then this issue does NOT appear with me, instead leaving me with the standard blurry graphics.
Screenshot 2024-11-22 191543.png

This is the issue I want to solve; Unblur the sprites. When using a plugin to do so, the pixels appear distored (picture in the first post).
I can make out that you do not have "Pixel Image Rendering" turned on, or any similar plugins for that matter. If this is the case, then this issue does NOT appear with me, instead leaving me with the standard blurry graphics.
I apologize - I misread your post #7 when you said you had no other plugins installed - I thought you were saying you saw it when you had no plugins installed, e.g. MZ was doing it natively.

If it's specifically a bug with a VisuStella plugin, their code is obfuscated so that users can't troubleshoot or correct things. You'd have to follow their instructions to submit a bug report.

You might try this plugin instead, but if you need/want to use VisuStella plugins for other things, I expect this would conflict with the Core Engine.

Actually, @Canned_Dinosaur already recommended the same plugin here:
EDIT: Maybe this helps?
I tried that plugin before, as well as some other ones. They all had the same results as Visustella. Thanks anyway for your efforts.
Ah, I saw his original post but not the edit.
I haven't seen any pixel perfect plugin for scaling resolution yet that works the way you expect it. I've always seen either blur or stretched pixels.

Maybe you'd have to limit the game resolution to multiples of your set resolution? So the player can only scale it in x1, x2, x3, ... steps for example, instead of adjusting it freely. But I didn't check how to implement something like that, maybe someone else knows how to do it.
Maybe you'd have to limit the game resolution to multiples of your set resolution? So the player can only scale it in x1, x2, x3, ... steps for example, instead of adjusting it freely. But I didn't check how to implement something like that, maybe someone else knows how to do it.
That's why I was asking above whether/how the image was being scaled (posts 4 and 6).

Because there is a solution for forcing the window to resize in whole integers, if that's the source of the issue, but I never saw a response; leading me to believe this was happening with the image displayed at its original size.
The image is not being scaled, nor are the game window or the sprite. The issue applies to all visuals in the game, not just that one sprite.

Ok, I found a solution.

I had to replace "chromium-args": "--force-color-profile=srgb" in the package file of the project folder with "chromium-args": "--force-color-profile=srgb --force-device-scale-factor=1"

Since this change gets overwritten every time the project gets saved, I had to change it, then deploy it, in order to keep the change for the executible.
Awesome! You may want to leave that tip in the thread for the other plugin, in case it's helpful to anyone else.
This thread is closed due to being reported as solved. If you need it reopened, report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/solved-some-pixels-are-wider-bigger-than-others.173395/