summaryrefslogtreecommitdiffstats
path: root/FPS Counter.gd
diff options
context:
space:
mode:
Diffstat (limited to 'FPS Counter.gd')
-rw-r--r--FPS Counter.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/FPS Counter.gd b/FPS Counter.gd
new file mode 100644
index 0000000..cc082a2
--- /dev/null
+++ b/FPS Counter.gd
@@ -0,0 +1,4 @@
+extends Label
+
+func _process(_delta):
+ set_text("FPS: %.1f" % Engine.get_frames_per_second())