However whatever I try in terms of timing does not interrupt the sequence like it should. It may or may not work. it may require multiple key presses. All rather untidy.
Unfortunately the rather excellent keyboard.pb example that comes with purebasic does not include a timer. Is there an example of this?
Can't get to work whether with Delay(x) or a Timer, whether with Window or Screen functions.
Guess what I want is:-
Code: Select all
Back:Load picture or sprite
Display it
Start the timing
Is a key pressed? --------- Exit the loop
At timer end, update required picture
Goto Back
epog10