summaryrefslogtreecommitdiff
path: root/Scripts/ModifierLabel.gd
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2024-04-13 21:50:12 +0700
committeraltaf-creator <dev@altafcreator.com>2024-04-13 21:50:12 +0700
commitb97ebd793eb17032f3929f307dfe644b17714619 (patch)
tree03a558e77757112a6fddce45dbbcc0139df479c2 /Scripts/ModifierLabel.gd
parentc5a806528af8a4de5f903d26cd33edb7e0bb6597 (diff)
bare bones ai, softlock issues
Diffstat (limited to 'Scripts/ModifierLabel.gd')
-rw-r--r--Scripts/ModifierLabel.gd9
1 files changed, 9 insertions, 0 deletions
diff --git a/Scripts/ModifierLabel.gd b/Scripts/ModifierLabel.gd
new file mode 100644
index 0000000..1a2ed2e
--- /dev/null
+++ b/Scripts/ModifierLabel.gd
@@ -0,0 +1,9 @@
+extends Label
+
+func pop(txt : String):
+ visible = true
+ text = txt
+ $"Timer".start()
+
+func _on_timer_timeout():
+ visible = false