Star Trek X The Search for The BOB's White Cake
#11
It was a fractional delay used for smoother animation. Back in the day, we didn't have tools like frames limit (_LIMIT) or fractional delays like _delay .05. SLEEP 1 was a full second and got messed up if the user sat on the keyboard (the second timer quits when a key is pressed and the sleep terminates). The other trick, but not available in QB64 was to use SOUND 0, .1, which would produce a slight silent delay.

Pete

PS Bob was happy to hear you found the programs a useful source of information. I sure wish we could drag him out of retirement someday. Recently he did state if he found the right project to inspire him, he might get back to coding. Maybe next year we can run a think up a program for TheBOB contest. I mean for some reason, lost on me, all the SCREEN zero stuff I still post of The QBasic Forum hasn't brought him back!

Pete
If eggs are brain food, Biden takes his scrambled.
Reply


Messages In This Thread
RE: Star Trek X The Search for The BOB's White Cake - by Pete - 12-06-2022, 02:10 AM



Users browsing this thread: 2 Guest(s)