extends Node2D # 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_microgame_spawn_timer_timeout() -> void: print("WAAAHAHAHA MICROGAMES") var window_scene = preload("res://scenes/microgames/microgame_window.tscn") var window_instance = window_scene.instantiate() add_child(window_instance) var microgame_scene = preload("res://scenes/microgames/window_mvp.tscn") var microgame_instance = microgame_scene.instantiate() window_instance.add_child(microgame_instance)