Re: Keyboard recognition
#m, "enable": #m.bd, "enable"
#m.bd, "setfocus; when characterInput [getkey]"
'start the repeating timer then wait for it to happen
Timer 1000, [decscore]
' the timer fired do what we have to do then wait again
SC = SC - 1
'the keyboard event fired handle it
'remember to Timer 0 if we need to stop the [decscore] loop
k$ = Inkey$
If asc(right$(k$,1)) = 32 and play = 0 then
Play = 1
#m.bd, "color red; backcolor red"
Goto [continueon] ' you could just wait if the loop is to continue