LordHelmut
07-13-2002, 08:27 PM
Could someone post the code to get the FPS of a program? I used to just get the code off of voodoo vb but now that its gone I dont have it anymore. I guess this time I will memorize and learn the code so I dont need to ask anymore, thanks in advance :)
DrunkenHyena
07-14-2002, 08:37 PM
G'day!
Here's the VB conversion of my FPS timer. Lebb did the conversion and she hasn't had a chance to test it yet, but I'm sure it's fine.
It's designed for D3D, but you can grab the relevant code out of it:
StartTimer initializes everything
Flip increments the frame counter and stats
CheckFPS gives you the FPS stats
Stay Casual,
Ken
LordHelmut
07-15-2002, 04:14 PM
Thanks man, that helped a lot :)