TowerGame/scripts/fps_label.gd

5 lines
106 B
GDScript3
Raw Normal View History

extends Label
func _process(_delta: float) -> void:
text = "FPS: %d" % [Engine.get_frames_per_second()]