The Daily Click ::. Forums ::. Klik Coding Help ::. fps counter
 

Post Reply  Post Oekaki 
 

Posted By Message

Zi-Xiao



Registered
  29/07/2002
Points
  537

VIP Member
28th March, 2007 at 00:28:44 -

i'm sure i posted this before but I can't find the tread. How does one make a FPS counter in mmf?

 
n/a

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
28th March, 2007 at 01:49:19 -

You can't even set the max fps in mmf.. So I dunno..

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
28th March, 2007 at 02:13:53 -

MMF 1.5 and before:
+ Always add 1 to Counter1.

+ Every 1 Second,
set Counter2 to Counter1's value.
set Counter1's Value to 0

MMF 2:
+ Always set counter to Framerate

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
28th March, 2007 at 19:24:05 -

That's funny.. I've always believed that the Always condition had the delay of a millisecond..

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
28th March, 2007 at 19:33:58 -

Isn't there a difference if you have machine independant speed on?

 
.

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
28th March, 2007 at 20:32:29 -

If you have machine independent speed on, a custom fps counter will never be accurate, because it will play the loops faster then the framerate can keep up, hence you will usually always appear to have a maximum framerate, even though the game is skipping really badly.

 
http://www.facebook.com/truediamondgame

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
28th March, 2007 at 20:48:49 -

Will times two: The always event will (at optimal speed) occur 50 times(at least in the earlier MMFs) per second. So the maximum framerate you can have is 50 fps. In MMF2 you can change that though I think.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
29th March, 2007 at 02:55:50 -

Exactly. And 1000 milliseconds / 50 = 20, which explains the 0.02 second delay between each frame.

 
Old member (~2004-2007).

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
29th March, 2007 at 04:53:40 -

roger dat guys. Now I really need to setup the tickrates on my project.

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
29th March, 2007 at 05:43:59 -

Yeah you do that, I'll wait here.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
29th March, 2007 at 11:44:31 -

tyty

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.
   

Post Reply



 



Advertisement

Worth A Click