13 lines
281 B
GDScript
13 lines
281 B
GDScript
extends CanvasLayer
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
pass
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
$Panel/Label.set_text("FPS: " + "%s" % Engine.get_frames_per_second())
|
|
|