https://github.com/atomicsponge/godot-plugin-fps-label
A simple FPS label for Godot.
https://github.com/atomicsponge/godot-plugin-fps-label
fps godot godot-plugin plugin
Last synced: 10 months ago
JSON representation
A simple FPS label for Godot.
- Host: GitHub
- URL: https://github.com/atomicsponge/godot-plugin-fps-label
- Owner: AtomicSponge
- License: mit
- Created: 2025-08-20T13:53:05.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-28T11:53:27.000Z (10 months ago)
- Last Synced: 2025-08-28T18:52:19.479Z (10 months ago)
- Topics: fps, godot, godot-plugin, plugin
- Language: GDScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Godot FPS Label Plugin
A simple plugin that adds a FPS counter.
## How it Works
Add the plugin to your project then create a keymap called `fps`. Assign the key you want to display and hide the FPS counter with. Then add the FPS counter node into your project. It inherits from a `Label` type so you will want to add it to a CanvasLayer for it to stay in position. Then anchor it into the corner you want it kept in.
The FPS label will begin hidden. Press the assigned key to show. Press the key again to display delta time.
## API Reference
- `show_fps() -> void`: Show the FPS counter.
- `show_powermode() -> void`: Show the FPS counter and delta time.
- `hide_fps() -> void`: Hide the FPS counter.