summaryrefslogtreecommitdiff
path: root/scenes/microgames/ad/ad_window.gd
diff options
context:
space:
mode:
authorZoey Kitt <zoey.kitt@outlook.com>2024-11-16 11:09:03 -0600
committerZoey Kitt <zoey.kitt@outlook.com>2024-11-16 11:09:03 -0600
commit95723c0f660fbf3ad41296ae27f76a930bca2674 (patch)
treeb475b771d041f66f6f91a0919f158d901183f161 /scenes/microgames/ad/ad_window.gd
parentdf074ff75646f543b634d229c3e183a991403890 (diff)
Add ad images and start ad scene
Diffstat (limited to 'scenes/microgames/ad/ad_window.gd')
-rw-r--r--scenes/microgames/ad/ad_window.gd20
1 files changed, 20 insertions, 0 deletions
diff --git a/scenes/microgames/ad/ad_window.gd b/scenes/microgames/ad/ad_window.gd
new file mode 100644
index 0000000..2662642
--- /dev/null
+++ b/scenes/microgames/ad/ad_window.gd
@@ -0,0 +1,20 @@
+extends "res://scenes/microgames/microgame_window.gd"
+
+
+## A simple microgame that you win by closing the window
+
+
+# Called when the node enters the scene tree for the first time.
+func _ready() -> void:
+ pass # Replace with function body.
+
+
+# Called every frame. 'delta' is the elapsed time since the previous frame.
+func _process(delta: float) -> void:
+ pass
+
+
+func _on_close_requested() -> void:
+ super()
+ print("Hmm perchance")
+ win.emit(self)