Odd Keyboard/Mouse bug?

BlitzMax Forums/BlitzMax Programming/Odd Keyboard/Mouse bug?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

No.

If Millisecs() returns a negative value, then that's what Time will contain.

Your best resolution is to use a timer for these calculations, instead of Millisecs(). You can reset the timer periodically to prevent it from going to stupidly high values, or set its frequency lower - there's no point having it ticking a thousand times a second if 5 ticks a second will do the same job.