9 lines
180 B
GDScript
9 lines
180 B
GDScript
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)
|