Windows Strange graphical glitch.

Discussion in 'GameMaker Studio 2 Community Tech Support' started by theroarer, Jun 12, 2019.

  1. theroarer

    theroarer Member

    Joined:
    May 7, 2017
    Posts:
    8
    I can't really explain what's happening. So here is a gif of it.

    On the fourth textbox, you can see there's a bunch of green distortion. It's fast. It happens infrequently. Sometimes its worse. Sometimes its like this.


    [​IMG]

    GMS2. I tried the new beta. Rolled back to ide2.2.2.413/runtime2.2.2.326



    Latest gpu drivers. Happens on compiled game. Happens on multiple computers.
     
  2. Nocturne

    Nocturne Friendly Tyrant Forum Staff Admin

    Joined:
    Apr 13, 2016
    Posts:
    6,650
    That looks like an alpha issue? As if the alpha was being faded out over time or something? How are you drawing the text? To a surface? Do you clear the surface before-hand if it is?
     
  3. theroarer

    theroarer Member

    Joined:
    May 7, 2017
    Posts:
    8
    Great call! I found and then added this small script after my surfaces. It seems to clear it up.

    Code:
    ///@description scr_clear_surface(surface)
    
    ///@param surface;
    
    
    surface_set_target(argument[0]);
    draw_clear_alpha(c_white, 0);
    surface_reset_target();
    
     
    Nocturne likes this.

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