Re: Delays in Programs
- Posted by Irv Mullins <irv at ELLIJAY.COM> Nov 20, 1999
- 494 views
----- Original Message ----- From: Longlifter <LONGLIFTER at PRODIGY.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Saturday, November 20, 1999 10:12 PM Subject: Delays in Programs Can someone supply me with some code on how to delay in a program? I've seen it in many games when the creators name appears and then the screen goes to the next virtual screen. Does a certain library do what I am trying to achieve? I just mastered the font library today(big whoopie), but I really need to move on in my game that I am starting. Can someone help me out? You can use time().. procedure wait(atom delay) atom start, fini start = time() -- now fini = start + delay while time() < fini do end while -- loop end procedure wait(10) -- 10 seconds wait(.1) -- 1/10 second Irv