why is my sprite distorted?

1732313463850.png
Hello, I created my own sprite for a game and I don't understand why in the game its eye is a bit buggy.
We'll need to see the sprite sheet itself, not just in-game. But from here, it looks like one eye may be two pixels wide and the other is only one pixel wide.
1732314754719.png
No, they are identical
1732314754719.png
can you please attach the sprite file itself?
the answer above doesn't help at all.

because most likely it is a recalculation error, which happen on resizes especially if the sprite is formatted the wrong way - and that can only be checked if we get the original file used in the game because we have to count pixels to find that.
The sprite sheet with all sprite of this character ?
The whole sprite sheet that you have in img¥characters (or whatever folder it is in XP), yes.
The sprite sheet with all sprite of this character ?
can you please attach the sprite file itself?
Yes. A screenshot of one cel of the sheet is not particularly helpful for troubleshooting.
I suspect it's because of the hair streak that makes the right eye look a bit wider than the left one.
I suspect it's because of the hair streak that makes the right eye look a bit wider than the left one.

I think it's clear from the OP's screenshot that it's not simply an optical illusion. It's more likely that the sprite has been scaled by a factor 1.5 (or any other not whole number). But it's all guesswork if the OP is not willing to share the sprite sheet.

1732333368532.png
scaling is one possibility (especially if it is only fullscreen), another is a wrong base size, like if the sprite is 127 pixel wide instead of 128 (4x32) pixel and the engine gets cell size calculation errors.
So is it XP or MZ? The OP's profile says MZ but this board is for XP.
I'm reasonable sure that it's XP based on something on the screenshot
So is it XP or MZ? The OP's profile says MZ but this board is for XP.
Yes its XP

trainer_POKEMONTRAINER_Red.png.png
the sprite looks regular, so your problem is either a zoom script or going fullscreen.

is the same problem there if NOT going fullscreen, but with the window remaining regular size on the desktop?

you basically can't prevent distortions when going fullscreen, because the pixel is the absolute unit and fullscreen rarely has a base multiplier.
For example 1280x960 would be a 2x multiplier from the 640x480 of XP and that would be rare regular resize.
On the other hand 1680x1050 would be a multiplier of 2.625 and 2.1875 and will NEVER be without distortions like different eye sizes.
le sprite semble régulier, donc votre problème est soit un script de zoom, soit un passage en plein écran.

Le problème est-il le même si vous ne passez pas en plein écran, mais que la fenêtre reste de taille normale sur le bureau ?

En fait, vous ne pouvez pas empêcher les distorsions lorsque vous passez en plein écran, car le pixel est l'unité absolue et le plein écran a rarement un multiplicateur de base.
Par exemple, 1280x960 serait un multiplicateur de 2x par rapport aux 640x480 de XP et ce serait un redimensionnement régulier rare.
D'autre part, 1680x1050 serait un multiplicateur de 2,625 et 2,1875 et ne sera JAMAIS sans distorsions comme des tailles d'yeux différentes.
In fact, if I don't put it in full screen, the sprite remains correct
there you have it - and unfortunately there is nothing you can do.

the old RMXP graphics dll is closed source and cannot handle a screen size larger than 640x480, and to prevent distortions on full screen you would have to increase the screen size of the game.
How to do ?
you can't
you can't
Ok np lol, thanks you !

Original thread: https://forums.rpgmakerweb.com/threads/why-is-my-sprite-distorted.173406/