summaryrefslogtreecommitdiffstats
path: root/FPS Counter.gd
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2022-07-23 17:15:46 -0400
committerdusoleil <howcansocksbereal@gmail.com>2022-07-23 17:15:46 -0400
commit6c3e080ad94dcbd3a3db678dd55da51cde869335 (patch)
treecb1f97786cc4c088095971434d7ebd8c1d9518b6 /FPS Counter.gd
parent0a153dbfe61d04ff0f87cd0a35f0185c98116aba (diff)
downloadchicken-chaser-gd-6c3e080ad94dcbd3a3db678dd55da51cde869335.tar.gz
chicken-chaser-gd-6c3e080ad94dcbd3a3db678dd55da51cde869335.zip
Add FPS Counter
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())