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