Forums > Jitter

output jit.fpsgui

October 18, 2006 | 6:11 pm

Hello,

I’ve been searching the list but couldn’t find the answer to this question. How can I get my fps from jit.fpsgui into a number box?

Thanks,

Maarten


October 18, 2006 | 7:10 pm

Since fps is an attribute of jit.fpsgui, you can always say getfps or
getname or gettype etc.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 196 195 32 196617 print;
#P message 146 125 38 196617 getfps;
#P user jit.fpsgui 146 160 60 196617 0;
#P connect 0 1 2 0;
#P connect 1 0 0 0;
#P window clipboard copycount 3;

wes


October 18, 2006 | 7:16 pm

I wasn’t aware of that function. It wasn’t in the help file.


October 18, 2006 | 7:25 pm

That’s why we always say: the reference is the definitive reference.
The helpfile is there for the "highlights". We spend a lot of time on
the docs – don’t forget to use them!

jb


October 18, 2006 | 7:33 pm

Please post Jitter-related questions to the Jitter topic on the forums, or jitter@cycling74.com.

…moving this discussion to jitter.

thanks

w


Viewing 5 posts - 1 through 5 (of 5 total)