Announcement

Collapse
No announcement yet.

Is there a way to know when the game is been played or if it on the background?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Is there a way to know when the game is been played or if it on the background?

    Just like unreal4 editor lowering the performances when it is in the background ( while using other application on windows ).
    I didn't find anything about that and it would be nice to have events like:
    OnGameBackgrouned and OnGameResumedToFront or something like that.
    Check out my game OldSchool Nightmare : http://www.indiedb.com/games/oldschool-nightmare

    #2
    I really need it right now, There are some functionalities in my game that are influenced by the Alt key press and release. And when the user is using the Alt key for switching windows, the Alt key will receive the press event but not the released event, and the pressed state will stay on when the user is getting back to the game and it won't stop until the user press and release Alt again.
    Is there any solution to this problem?
    Check out my game OldSchool Nightmare : http://www.indiedb.com/games/oldschool-nightmare

    Comment


      #3
      Hi Sahkan,

      Thank you for your request. I have entered a feature request, UE-21289, to be considered by the development staff.

      Comment


        #4
        Originally posted by Sean Flint View Post
        Hi Sahkan,

        Thank you for your request. I have entered a feature request, UE-21289, to be considered by the development staff.
        Thanks! Looking forword to it.
        Check out my game OldSchool Nightmare : http://www.indiedb.com/games/oldschool-nightmare

        Comment


          #5
          isn't there an old school way of detecting if a window (or in this case - a game) has 'Focus' ?

          shouldn't be hard to implement, in fact I personally figured this was already in the engine.

          Comment

          Working...
          X