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.

Author
Message
AndyUK
23
Years of Service
User Offline
Joined: 2nd Apr 2003
Location: United Kingdom
Posted: 3rd Apr 2003 02:50
Hello peeps, just downloaded dbpro demo and playing about with it. Im fairly new at this but i have done a bit of programming b4. Ok, onto my problem, how do i create an onscreen FPS counter?? I cant find any timing commands. Thanx
AndyUK
23
Years of Service
User Offline
Joined: 2nd Apr 2003
Location: United Kingdom
Posted: 3rd Apr 2003 03:13
Sorry guys, ignore this post.. im such a noob

andrew11
23
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 3rd Apr 2003 03:17 Edited at: 3rd Apr 2003 03:18
You mean a time limit like you have one minute to complete a mission?

You would need to use the "timer()" command

Heres an example:



The timer gets system time in 1000ths of seconds. You would need to make the elapsed time into seconds to use it, but thats not that hard to do.

[Edit]

What?!?!?! I just took all that time to write it out and you want me to ignore it?

No problem. I love to help people

[Center]"All programmers are playwrights and all computers are lousy actors." -Anon.[/Center]
<--- Ouch, my head!
AndyUK
23
Years of Service
User Offline
Joined: 2nd Apr 2003
Location: United Kingdom
Posted: 3rd Apr 2003 03:43 Edited at: 3rd Apr 2003 03:44
Sorry Andrew.. what i was looking for was the "screen fps()" command.. just a quick question.. im displaying a quake 3 level at 288 fps, does that sound right?

Im using the demo so i assume its version 3.x.. i heard v4 patch speeds things up.. if it does im ordering this tomorrow

Login to post a reply

Server time is: 2026-07-21 20:34:31
Your offset time is: 2026-07-21 20:34:31