• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Windows How to make a game see if another program is active?

T

Tyrzi

Guest
I was thinking of making a stopwatch which will automatically activate when it sees chosen programs being active, and when these programs are not active, stopwatch will stop itself. End product basically will stop me procrastinating. I will add some judging GUI elements to make me continue on working stuff.

The idea is mostly the same as this one https://neilblr.com/post/58757345346, but I make it more personalized, like I want to add another stopwatch under the already existing one, but it will start counting up when a program is not active, so I will see how long I've not been doing anything.
 
Top