diff options
author | Zoey Kitt <zoey.kitt@outlook.com> | 2024-11-16 18:26:50 -0600 |
---|---|---|
committer | Zoey Kitt <zoey.kitt@outlook.com> | 2024-11-16 18:26:50 -0600 |
commit | 518fa16866161c569f941ea6d25e2ecbf7a41e4c (patch) | |
tree | c61c8971b6638620f295f833ed41fccccd4794fe /scenes/main.gd | |
parent | 21609e84f29ca7461d548915dc5b0acef0b82bf1 (diff) |
Fiiiiiiine I'll just make Clippette visible instead of instantiating her
Diffstat (limited to 'scenes/main.gd')
-rw-r--r-- | scenes/main.gd | 7 |
1 files changed, 7 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 |