Page 1 of 1

FPS Indicator in HUD code?

Posted: Wed Nov 24, 2010 11:02 pm
by JeffBTX
Hi, all.

I am back to playing Oolite after a hiatus of a few months; I was playing 1.73.(something), and now I have installed 1.74.2.

I am gradually feeling my way around and getting used to things again.

One little minor question; I did a topic search and it doesn't seem to be addressed.

In the default hud.plist, there is this code:

Code: Select all

		{	// fps counter, x and y give the location, the size defines the character size
			height		= 18;
			selector	= "drawFPSInfoCounter:";
			width		= 18;
			x		= -300;
			y		= -20;
			y_origin	= 1;
		}
... and I don't see any such FPS counter on my screen? Thanks...

Posted: Wed Nov 24, 2010 11:05 pm
by another_commander
The FPS counter and the information that goes together with it, like number of entities processed, collisions, memory usage and TAF, are switched off by default. Press Shift+f to toggle them on/off.

If you are pressing Shift+f and still don't see the FPS counter, then please post Latest.log.

Posted: Wed Nov 24, 2010 11:12 pm
by JeffBTX
another_commander;

Thanks for that very fast reply... very appreciated.

Posted: Thu Nov 25, 2010 1:40 am
by snork
You can see it in action in the "I built me a HUD" topic - veery nice! :)

https://bb.oolite.space/viewtopic.php?t=8698&highlight=

------------------------

Would there be a way to have it switched on by default after a jump ?
I have to shift+F after every jump again.

Posted: Thu Nov 25, 2010 1:27 pm
by another_commander
snork wrote:
Would there be a way to have it switched on by default after a jump ?
I have to shift+F after every jump again.
That is probably an omission or bug with the HUD you are using. Are you using a ship with switchable HUDs? With the default one, the display remains always on until you manually switch it off again.

Posted: Thu Nov 25, 2010 2:21 pm
by snork
Ah, ok. Thanks. :)

And yes that HUD switches with condition red/yellow/green.

I will go pondering with the default HUD ....