diff options
Diffstat (limited to 'fps-help.pd')
-rw-r--r-- | fps-help.pd | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/fps-help.pd b/fps-help.pd index 1bc9e9a..585290c 100644 --- a/fps-help.pd +++ b/fps-help.pd @@ -1,13 +1,15 @@ -#N canvas 134 291 450 300 10; +#N canvas 535 476 450 300 10; #X text 38 24 Set the global Frames-Per-Second (FPS) for the global clock when using the 'framesync' library. You should only use this object once in a project. [frameclock] uses this object to set the FPS \, so if you are using [frameclock] \, don't use [fps] also.; #X msg 135 206 bang; #X floatatom 135 254 5 0 0 0 - - -; -#X obj 135 230 fps; -#X obj 135 128 fps 24; -#X text 39 157 You can use it with no argument to get the current FPS -(careful not to set the FPS more than once!):; -#X connect 1 0 3 0; -#X connect 3 0 2 0; +#X obj 165 117 fps 24; +#X obj 135 230 value framesync/fps; +#X text 39 157 If you want to get the current global FPS value \, then +bang [value framesync/fps]:; +#X obj 177 255 print current FPS; +#X connect 1 0 4 0; +#X connect 4 0 2 0; +#X connect 4 0 6 0; |