Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / measuring time?

Author
Message
Gel douche
20
Years of Service
User Offline
Joined: 10th May 2003
Location:
Posted: 13th May 2003 22:52
If i wanted to have events activated at a certain time, such as the fuse of a bomb, if i did time=time+1 upto say 100 how would i create it so that it remains the same regardless of how fast your computer is?

Thanks!
andrew11
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 13th May 2003 23:42 Edited at: 13th May 2003 23:42
You should use timer() like this:



"All programmers are playwrites and all computers are lousy actors" -Anon
Gel douche
20
Years of Service
User Offline
Joined: 10th May 2003
Location:
Posted: 14th May 2003 01:39
Thank you.

Login to post a reply

Server time is: 2024-04-27 11:12:13
Your offset time is: 2024-04-27 11:12:13