Pixel Art looks bad when resizing the game in windowed mode
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
It looks fine when in fullscreen
But in windowed mode it gets deformed when moving, it more noticable when looking at the character's face
https://github.com/user-attachments/assets/4bbb0101-41cf-4d83-889a-f0ec073a2411
Steps to reproduce
- Resize the window
- See the pixels get deformed
GDevelop platform
Desktop
GDevelop version
5.4.211
Platform info
OS (e.g. Windows, Linux, macOS, Android, iOS)
Windows
OS Version (e.g. Windows 10, macOS 10.15)
Windows 10
Additional context
The resolution of the game is 464 x 261
This is not really a bug. For pixel art, you need to choose the pixel size by zooming the layers and scale the frame in linear, not nearest neighbors. Take a look at this example: https://gdevelop.io/game-example/free/platformer-with-tilemap
yep i managed to fix it by changing the resolution to 720p and zooming the camera