11-12-2022, 12:15 AM
A completely different method is using an inner timer...
For your 51 FPS example:
Pete
For your 51 FPS example:
Code: (Select All)
z2 = TIMER
DO
_LIMIT 60
i = i + 1
IF ABS(z2 - TIMER) >= .06 THEN z2 = TIMER: s = s + 1
LOOP UNTIL i = 60
PRINT i, i - s, s, 100 - ((s / (i - s)) * 100)
END
Pete