![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | imekon |
How do I get the FPS in V3.0?
It was OS.get_frames_per_second()
in V2.1.4
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | imekon |
How do I get the FPS in V3.0?
It was OS.get_frames_per_second()
in V2.1.4
![]() |
Reply From: | Skyfrit |
You can use Performance.get_monitor(0)
Small addendum – you should probably use Performance.TIME_FPS
, not 0
, for that lone argument.
Max Aller | 2018-02-03 23:24
why ? Performance.TIME_FPS is equal to 0.
Skyfrit | 2018-02-04 04:56
Note that this answer works the same but will lead to more readable code.
Calinou | 2018-02-04 21:05
![]() |
Reply From: | emo |
set_text(String(Engine.get_frames_per_second()))
Yours works as well!
imekon | 2018-02-04 09:07