Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (7th_zorro, TipmyPip, RealSerious3D), 892 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
FPS display #444678
08/16/14 19:18
08/16/14 19:18
Joined: Mar 2003
Posts: 1,524
Canada
Stansmedia Offline OP
Serious User
Stansmedia  Offline OP
Serious User

Joined: Mar 2003
Posts: 1,524
Canada
I can't seem to figure out how to retrieve the current frame rate to display on screen instead of using the F11 debug. Help? laugh


Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en
Re: FPS display [Re: Stansmedia] #444679
08/16/14 19:34
08/16/14 19:34
Joined: Jun 2014
Posts: 121
F
FEL Offline
Member
FEL  Offline
Member
F

Joined: Jun 2014
Posts: 121
Code:
PANEL* debug_fps_pan = 
{
	pos_x = 10;
	pos_y = 10;
	
	layer = 30;
	
	digits(0,130,"fps%5.0f","OptimusPrinceps#20",1, fps);

}



Code:
debug_fps_pan.flags = SHOW;
		
		while(1) 
		{
			fps = 16 / time_frame;
			wait(1);
		}



Have Fun ^@^


FEL - Lead Game Designer & Core Developer
Re: FPS display [Re: FEL] #444680
08/16/14 19:45
08/16/14 19:45
Joined: Mar 2003
Posts: 1,524
Canada
Stansmedia Offline OP
Serious User
Stansmedia  Offline OP
Serious User

Joined: Mar 2003
Posts: 1,524
Canada
Thanks!


Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1