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.

Newcomers DBPro Corner / Frames per second- recording, averaging, and displaying at the end.

Author
Message
stevkay
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location:
Posted: 2nd Oct 2003 16:03
How do i get the program to record the frames per second that i have got displayed with the

print screen fps()

command, and take an average, then display this at the end of it? (like a performance demo sort of thing...)

Any code or help i can work from would be GREATLY appreciated.

Thanks-

Stevkay.


If you gaze into the abyss long enough, the abyss starts staring back.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 2nd Oct 2003 16:57
In each loop



then at the end


BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
stevkay
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location:
Posted: 3rd Oct 2003 12:36
Thanks- that seems to work.

Much gratitude

/K

If you gaze into the abyss long enough, the abyss starts staring back.
stevkay
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location:
Posted: 8th Oct 2003 17:41
Thanks- i'm definately almost done- just havig problems converting my avg variable into Str$(avg). can seem to get into a string format.



thanks for all your help though

If you gaze into the abyss long enough, the abyss starts staring back.
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 8th Oct 2003 17:55 Edited at: 8th Oct 2003 17:56
try:
in each loop



(inc x is faster then x=x+1)

at end



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb ddr sdram

Login to post a reply

Server time is: 2024-11-25 11:50:22
Your offset time is: 2024-11-25 11:50:22