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 | |
parent | 21609e84f29ca7461d548915dc5b0acef0b82bf1 (diff) |
Fiiiiiiine I'll just make Clippette visible instead of instantiating her
Diffstat (limited to 'scenes')
-rw-r--r-- | scenes/main.gd | 7 | ||||
-rw-r--r-- | scenes/main.tscn | 1 |
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") |