From 589b0604d4bb8535b133512621ad2f340dc57911 Mon Sep 17 00:00:00 2001
From: Zoey Kitt <zoey.kitt@outlook.com>
Date: Sat, 16 Nov 2024 11:16:14 -0600
Subject: Hardcoded wizard ad

---
 scenes/main.gd                      | 2 +-
 scenes/microgames/ad/ad.tscn        | 6 +++++-
 scenes/microgames/ad/ad_window.tscn | 9 ++++++++-
 3 files changed, 14 insertions(+), 3 deletions(-)

(limited to 'scenes')

diff --git a/scenes/main.gd b/scenes/main.gd
index 5ad9b2e..471d0c6 100644
--- a/scenes/main.gd
+++ b/scenes/main.gd
@@ -18,7 +18,7 @@ func _on_microgame_spawn_timer_timeout() -> void:
 	var window_scene = preload("res://scenes/microgames/ad/ad_window.tscn")
 	var window_instance = window_scene.instantiate()
 	add_child(window_instance)
-	var microgame_scene = preload("res://scenes/microgames/window_mvp.tscn")
+	var microgame_scene = preload("res://scenes/microgames/ad/ad.tscn")
 	var microgame_instance = microgame_scene.instantiate()
 	window_instance.add_child(microgame_instance)
 	
diff --git a/scenes/microgames/ad/ad.tscn b/scenes/microgames/ad/ad.tscn
index 46fc38c..e3bcc16 100644
--- a/scenes/microgames/ad/ad.tscn
+++ b/scenes/microgames/ad/ad.tscn
@@ -1,5 +1,9 @@
-[gd_scene format=3 uid="uid://dekqkxftnx3gd"]
+[gd_scene load_steps=2 format=3 uid="uid://dekqkxftnx3gd"]
+
+[ext_resource type="Texture2D" uid="uid://bcneuyfyxtxr6" path="res://scenes/microgames/ad/ad_images/wizard.png" id="1_fyqcb"]
 
 [node name="Ad" type="Node2D"]
 
 [node name="Sprite2D" type="Sprite2D" parent="."]
+texture = ExtResource("1_fyqcb")
+centered = false
diff --git a/scenes/microgames/ad/ad_window.tscn b/scenes/microgames/ad/ad_window.tscn
index 35c07ef..9c70050 100644
--- a/scenes/microgames/ad/ad_window.tscn
+++ b/scenes/microgames/ad/ad_window.tscn
@@ -1,7 +1,14 @@
-[gd_scene load_steps=3 format=3 uid="uid://ccbxoes40rtkj"]
+[gd_scene load_steps=4 format=3 uid="uid://ccbxoes40rtkj"]
 
 [ext_resource type="PackedScene" uid="uid://b2awdq32lxnef" path="res://scenes/microgames/microgame_window.tscn" id="1_gtv65"]
 [ext_resource type="Script" path="res://scenes/microgames/ad/ad_window.gd" id="2_h3lwj"]
+[ext_resource type="PackedScene" uid="uid://dekqkxftnx3gd" path="res://scenes/microgames/ad/ad.tscn" id="3_j4tnf"]
 
 [node name="Window" instance=ExtResource("1_gtv65")]
+size = Vector2i(1024, 864)
+content_scale_size = Vector2i(1024, 1024)
+content_scale_mode = 0
+content_scale_factor = 0.58
 script = ExtResource("2_h3lwj")
+
+[node name="Ad" parent="." index="0" instance=ExtResource("3_j4tnf")]
-- 
cgit v1.2.3