#Sprites super pixelated
1 messages · Page 1 of 1 (latest)
Changing the scale of sprites tends to deform them. It is recommended to just draw smaller sprites or to change the camera's zoom.
If you do change the zoom, keep it to something like 0.5x or 0.25x Anything in between will look off.
how do you change the zoom?
You need to add a Camera2D node and modify the stuff there, then set it's "current" property (can be done from the Inspector tab).
Also I never scaled the sprites...All i did was change the viewport window size and the window size override to scale it so nothing seems super small
Oh, is the override also following the rule of 0.5 or 0.25?
Imma be honest i didnt really understand the difference between viewport and window size override
im still super new to godot
I never touched it myself, so i'm not too sure either lol
Viewport should be the resolution. The Window override should be the actual window size of the game (unless it is fullscreen).
Depending on the "Mode" the game will be stretched/resized/etc to fit the window.
Wait, no. That's a different "Mode". I know there was a setting to change how the game fits the window.
This
Many settings have tooltips
I honestly never read this one before.
Apparently "viewport" is recommended for pixel art. So that should be ok.
Try changing Scale Mode to integer
Also, in the small preview from the Inspector, does the sprite also look pixelated there? Or only in the scene?
Oh, paired with the almost 2K resolution that may be a bit too much for your GPU.
its just a little bit slower
really?
I have a dedicated GPU and my monitor is capped at 1600 width.
And even then i get performance issues in many 2D games.
Resolution's performance hit increases exponentially.
oof
wait ok back to Godot why is my sprite deformed
About the preview, does it look ok there?
its a spritesheet that I cut down into Hframes and Vframes so it looks like this
hmm, try changing stuff in the Import tab.
Make sure it is set as Lossless