GM:S 1.4 Pause event? (Tabbing out)

Discussion in 'Programming' started by Dr_Nomz, Aug 13, 2019.

  1. Dr_Nomz

    Dr_Nomz Member

    Joined:
    Oct 31, 2016
    Posts:
    590
    My game automatically pauses when I switch windows, but unregisters it as soon as I do so unless I minimize it, which leaves it paused. Why is that? And how can I stop it? Is there a way to trigger the pause event in-game?

    Also after minimizing it when I pull it back up it's just a white screen, and I need to shut it down manually with the Game Maker's stop web server button. Any idea why that happens?
     
  2. Dr_Nomz

    Dr_Nomz Member

    Joined:
    Oct 31, 2016
    Posts:
    590
    Anyone? Just curious.
     
  3. Dr_Nomz

    Dr_Nomz Member

    Joined:
    Oct 31, 2016
    Posts:
    590
    Does no one know anything about the auto pause feature in GMS 1.4? It happens whenever you tab out.
     
  4. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    990
    Not sure how you want to use it, but the function os_is_paused() can check if the os has paused the game.
     

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