Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

vlovich

FPS counter

This topic is 5935 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a program that calculates the fps correctly (output it in a messagebox to check). Now my question is how do I ouput it to the screen (sort of like quake 3 and other games)? I just want some really simple thing to do so that won''t affect the game speed. I would want to display it as white text at the top right corner.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Photoshop the numbers 0-9 into a small texture, then use texcoords and vertices to output the correct number. very fast.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!