• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Mac OSX how do i fix screen tearing

L

Lemon85

Guest
Ok so pretty much everything in my whole game causes screen tearing really badly whenever it moves. Also, sometimes, certain pixels end up not being exactly square, and it makes everything look weird (idk if that's the same thing or not). I checked the box in settings that says "use synchronization to avoid tearing" but it's still doing it just as bad. Is there any other way I can try to avoid either of these things?
 

Mick

Member
The problem is probably due to non-integer scaling and drawing stuff at non-integer coordinates, alternatively setting a camera to non-integer coordinates. Personally I floor(..) all coordinates before drawing instances and setting camera position. I also set the size of the application surface to the size of the native game resolution and draw the application surface manually scaled in the draw gui event.
 
Top