Mac OSX how do i fix screen tearing

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Lemon85, Jun 14, 2019.

  1. Lemon85

    Lemon85 Member

    May 17, 2019
    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?
  2. Mick

    Mick Member

    Jun 30, 2016
    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.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice