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