9 lines
180 B
GDScript3
Raw Normal View History

2024-01-14 11:22:14 +00:00
extends Label
func _ready():
DisplayServer.window_set_vsync_mode(DisplayServer.VSYNC_DISABLED)
func _process(_delta):
var fps = Engine.get_frames_per_second()
text = str(fps)