Skip to content

Frames per second (FPS)

Calculate and display the frames per second (FPS) of the game.

Authors and contributors to this community extension: Ahnaf30e, VictrisGames.


Provides an expression to get the current FPS and a text object behavior to display the current FPS.

Frames Per Second (FPS) describes how many times in the last second your game logic was executed. This includes running behaviors and events, and then rendering the new game state into the game window. The higher the FPS, the more fluid and performant your game looks.

Note: Use the Performance Profiler (inside in the Debugger) for detailed performance information about your game.

Tip

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

Expressions

Expression Description
FPS::FPS() Frames per second (FPS) during the last second.

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 Frames per second (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.