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.

DarkBASIC Discussion / how do i display the current frame rate(fps)on screen?

Author
Message
Naisoft
20
Years of Service
User Offline
Joined: 24th Jan 2005
Location:
Posted: 25th Jan 2005 03:28
title self-explanatory

go zelda mario yoshi samus and all of nintendo's
Dom
20
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 25th Jan 2005 04:35
Text 10,10,"FPS "+Str$(Screen FPS())


Thanks to Animeblood for the Logo!
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 26th Jan 2005 18:23
Call that command just before every 'sync' command you have in your program.

Also, don't use 'draw to back' - otherwise, the text will appear behind any 3d objects in your scene...

Avatar - white cat in a snowstorm. Look closely.

Login to post a reply

Server time is: 2025-05-24 03:26:50
Your offset time is: 2025-05-24 03:26:50