4 ms·
How do you detect "Game Over" when simply capturing a single pixel?
by levidavidmurray 6y ago
How do you detect "Game Over" when simply capturing a single pixel?
- StavrosK 6y agoIIRC the pixel is the first pixel of the time bar, and the entire screen flashes white when you lose, so I just detect that. The code is here: https://gitlab.com/stavros/gamelights/-/blob/master/misc/capture.py#L108 https://gitlab.com/stavros/gamelights/-/blob/master/misc/cap...