GameMaker Help Pixels broken in full screen

M

mumu

Guest
Hello.
This is my first time to post here.
And I'm sorry my English is not good.

I'm a newbie to GML for about a month.

The problem is that the game I'm making now breaks pixels when I put it to fullscreen and it shakes jaggedly around me when I move it.
Is this an unavoidable problem?
If you have a solution, I'd like to know what it is.

Here's Comparison image

The most obvious part is the thicker mouth.

Room sizes are.
Width : 1780 Height : 720
Viewport Properties is
Width : 1280 Height : 720

Character Sprite Size
150px x 150px

I was able to bring it to full screen by bringing it to the middle of the existing resolution, but I want to be able to play it larger in full screen if possible.
If you have any good ideas on how to do this, please let me know.
Thanks for reading. Best regards.
 
Last edited by a moderator:
S

Slothagami

Guest
This usually happens when the Sprite you are drawing is being scaled to something that is not a multiple of the original size, you should be able to use display_set_gui_size(); at the start of the game to fix it (set it to match the viewport size).

This changes the gui layer size, so you might have to fix some of the things being drawn on it if they're in strange places after.
 
Top