Print Page | Close Window

Displaying FPS

Printed From: Mirage Source
Category: Tutorials
Forum Name: Temporary Archive (Read Only)
Forum Discription: Temporary 3.0.3 archive tutorials, will be deleted when converted.
URL: http://ms.shannaracorp.com/backup-forums/forum_posts.asp?TID=137
Printed Date: 20 December 2006 at 5:52pm
Software Version: Web Wiz Forums 8.01 - http://www.webwizforums.com


Topic: Displaying FPS
Posted By: Sync
Subject: Displaying FPS
Date Posted: 11 February 2006 at 3:04pm
Difficulty: Easy 1/5

Originaly Posted By: GodSentDeath (WooHoo!)

lol its easy, but hey some people cant get it :P... so here is a tut on how to show the players FPS!

All Client Side

in modGameLogic

find:
' Blit the text they are putting in


right above that add:


' Blit out there FPS, Submitted By GodSentDeath :D
        ' To make it easier for people to change where its X and Y is I added the FX and FY :p
        Dim FX As Long
        Dim FY As Long
        FX = 5
        FY = 5
        Call DrawText(TexthDC, FX, FY, "FPS: " & GameFPS, RGB(255, 255, 255))


lol I added the FY and FX so its easier for some people to change where it gets blitted to :P... well thats about it! Have Fun!

[edit]since im too lazy to change all this around, I made an addon for this, see the post below "golden1"



Print Page | Close Window

Bulletin Board Software by Web Wiz Forums version 8.01 - http://www.webwizforums.com
Copyright ©2001-2006 Web Wiz Guide - http://www.webwizguide.info