Migrated current spawning logic to dedicated wave node.

This commit is contained in:
Henry 2026-02-13 00:20:41 +00:00
parent fd607018a3
commit 674a231847
6 changed files with 112 additions and 49 deletions

View file

@ -10,6 +10,7 @@
[ext_resource type="Texture2D" uid="uid://bubqwoum50gf8" path="res://_graphics/Mini Pixel Pack 3/UI objects/GAME_OVER (72 x 8).png" id="6_7mycd"]
[ext_resource type="PackedScene" uid="uid://cd1kwb8klcsb5" path="res://scenes/goose.tscn" id="9_85g3d"]
[ext_resource type="AudioStream" uid="uid://c3e8sdfqcikp6" path="res://sounds/welcome.wav" id="10_choun"]
[ext_resource type="PackedScene" uid="uid://drf1k1iulvy6f" path="res://scenes/wave.tscn" id="11_ya4ey"]
[sub_resource type="Animation" id="Animation_1bvp3"]
length = 0.001
@ -78,10 +79,10 @@ offset_bottom = 36.0
[node name="Title" type="TextureRect" parent="CanvasLayer" unique_id=561106216]
self_modulate = Color(0.015236704, 0.015236706, 0.0152367065, 1)
material = SubResource("ShaderMaterial_kek77")
offset_left = 50.0
offset_top = 50.0
offset_right = 146.0
offset_bottom = 117.0
offset_left = 70.0
offset_top = 58.0
offset_right = 166.0
offset_bottom = 125.0
texture = ExtResource("5_tipki")
[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer" unique_id=1787047882]
@ -119,4 +120,6 @@ position = Vector2(118, 162)
stream = ExtResource("10_choun")
volume_db = -0.5
[node name="Wave" parent="." unique_id=2117861058 instance=ExtResource("11_ya4ey")]
[connection signal="pressed" from="CanvasLayer/CenterContainer/Start" to="." method="_on_start_pressed"]