Windows Not recognizing Maximize button clicks?

Discussion in 'Legacy GameMaker Community Tech Support' started by Karasu_Tomoe, Dec 27, 2018.

Tags:
  1. Karasu_Tomoe

    Karasu_Tomoe Member

    Joined:
    Jan 23, 2018
    Posts:
    15
    In my game, I set the option to allow the user to resize the screen, keeping the aspect ratio.

    However, the first time the maximize button is clicked in the window bar, the runner seems to not recognize it. The screen is maximized, but it doesn't adjust the aspect ratio or rescale/reposition any GUI elements (drawn with the Draw GUI event). It WILL do so, however, any subsequent time the button is clicked afterward, or if the window was manually resized first.

    While not a major thing, I want to see if I can patch this up somehow. Is this a known thing? Maybe they fixed it GMS2?
     
  2. mkyprice

    mkyprice Member

    Joined:
    Jul 26, 2017
    Posts:
    10
    I'm not sure if this is your problem, but if you're using window_center(), it needs to be at least one step after resizing
     

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