ext Frantisek Dufka wrote:
> Eero Tamminen wrote:
>> I think the app loses focus when the screen is blanked.
>> So, the SDL app could catch screen focus events and do
>> some additional checks when that happens.
>
> Good idea, thanks.
>
>>
>> Or SDL app could always pause when it loses focus...
>>
>
> This is good for video updates but sometimes not good for sound or AI
> code in games. Of course when the device is really inactive (whatever
> that means exactly) sound and other stuff should be stopped too.
>

HW independent idea : a timer that pauses the game when user has not
pushed button/screen for x seconds. Not very good for chess or
civilization but very good for a gauntlet clone.

> Frantisek
>
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
>

// Tapani

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to