From 95723c0f660fbf3ad41296ae27f76a930bca2674 Mon Sep 17 00:00:00 2001 From: Zoey Kitt Date: Sat, 16 Nov 2024 11:09:03 -0600 Subject: Add ad images and start ad scene --- scenes/microgames/ad/ad_window.gd | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 scenes/microgames/ad/ad_window.gd (limited to 'scenes/microgames/ad/ad_window.gd') 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) -- cgit v1.2.3