mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 13:30:07 +01:00
7 lines
154 B
GDScript
7 lines
154 B
GDScript
extends Label
|
|
|
|
|
|
func _process(_delta: float) -> void:
|
|
var fps: float = Engine.get_frames_per_second()
|
|
text = "%d FPS (%.2f mspf)" % [fps, 1000.0 / fps]
|