Skip to content

FPS

Adds expressions and a behavior to get and display the game FPS.

Authors and contributors to this community extension: Ahnaf30e.


Adds expressions to get the current FPS and a behavior to display the current FPS easily.

The FPS, Frames Per Second, describes how many times in the last second your game got updated. An update consists in running all the behaviors, objects, and events sheet code, before rendering the new game state into the game window. The higher the FPS, the more it manages to update in a second, influencing how fluid and performant your game looks.

Tip

Learn how to install new extensions by following a step-by-step guide.

Expressions

Expression Description
FPS::FPS() Return your game's current FPS count.
FPS::PreciseFPS(number) Return your game's current FPS count, with more control over rounding.
number The accuracy of the FPS This tells how many numbers after the period should be shown.

FPS Displayer

Makes a text object display the current FPS.

No expressions for this behavior.


This page is an auto-generated reference page about the FPS extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.