summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'scenes')
-rw-r--r--scenes/main.gd7
-rw-r--r--scenes/main.tscn1
2 files changed, 8 insertions, 0 deletions
diff --git a/scenes/main.gd b/scenes/main.gd
index dbfcd65..7e65562 100644
--- a/scenes/main.gd
+++ b/scenes/main.gd
@@ -3,6 +3,10 @@ extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
_on_microgame_spawn_timer_timeout()
+
+ # Spawn Clippette???
+ $Clippette.visible = true
+
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
@@ -17,6 +21,9 @@ func _on_microgame_spawn_timer_timeout() -> void:
# Spawn a microgame window
var window_scene = preload("res://scenes/microgames/ad/ad_window.tscn")
var window_instance = window_scene.instantiate()
+
+ print(type_string(typeof(window_instance)))
+
add_child(window_instance)
# Randomize window position
diff --git a/scenes/main.tscn b/scenes/main.tscn
index c8332e0..af7a6d2 100644
--- a/scenes/main.tscn
+++ b/scenes/main.tscn
@@ -307,6 +307,7 @@ size = Vector2i(1280, 720)
[node name="Stock ticker" parent="Stock ticker window" instance=ExtResource("4_0ankd")]
[node name="Clippette" parent="." instance=ExtResource("5_6agvn")]
+visible = false
[node name="Score window" type="Node2D" parent="."]
script = ExtResource("6_gvoxs")