Page 1 of 1

Input Timing

Posted: Mon Apr 30, 2018 4:53 am
by Lordofsizz
Hey guys,

Just wondering how I would go about programming something where the timing of the input mattered.

For example if I were making a baseball game and how far you hit the ball depends on how well timed your input is.

Or if I were making a reflex game where the quicker you pressed the key displayed on the screen results in a better score.

Thanks in advance!

Re: Input Timing

Posted: Tue May 01, 2018 1:49 am
by burger2227
The TIMER function marks events as 86400 individual seconds with midnight as 0.

Input must be in an INKEY keypress LOOP. INPUT requires the enter key to continue.