moar waves
This commit is contained in:
parent
8344c034e4
commit
10655aed3a
18 changed files with 229 additions and 13 deletions
37
main.tscn
37
main.tscn
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=111 format=3 uid="uid://bmd4m7lqj4v0x"]
|
||||
[gd_scene load_steps=115 format=3 uid="uid://bmd4m7lqj4v0x"]
|
||||
|
||||
[ext_resource type="Script" path="res://main.gd" id="1_3dydx"]
|
||||
[ext_resource type="Script" path="res://Spawner.gd" id="1_ifu8g"]
|
||||
|
@ -12,6 +12,7 @@
|
|||
[ext_resource type="Texture2D" uid="uid://yvrhlh04k8w1" path="res://background space.png" id="6_yg4g1"]
|
||||
[ext_resource type="Script" path="res://wave_enemy.gd" id="7_54h7d"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwquv3mq5kk1d" path="res://countdown-spritesheet.png" id="8_e1eub"]
|
||||
[ext_resource type="Resource" uid="uid://dd8me0deake37" path="res://eptagon_enemy.tres" id="9_q67ak"]
|
||||
[ext_resource type="AudioStream" uid="uid://dn65uapn0wsok" path="res://impactMetal_002.ogg" id="11_acuni"]
|
||||
[ext_resource type="Script" path="res://CollisionCheck.gd" id="11_ryeyk"]
|
||||
[ext_resource type="FontFile" uid="uid://bnguin7bsyx6e" path="res://Kenney Future.ttf" id="11_s4q6p"]
|
||||
|
@ -108,6 +109,30 @@ spawning_duration = 5.0
|
|||
wait = 15.0
|
||||
wait_for_killed = true
|
||||
|
||||
[sub_resource type="Resource" id="Resource_82qld"]
|
||||
script = ExtResource("4_um0x7")
|
||||
enemies = Array[ExtResource("7_54h7d")]([ExtResource("3_xmk5u"), ExtResource("5_xdrk0"), ExtResource("5_e24vf")])
|
||||
quantities = Array[int]([10, 10, 10])
|
||||
spawning_duration = 20.0
|
||||
wait = 2.0
|
||||
wait_for_killed = true
|
||||
|
||||
[sub_resource type="Resource" id="Resource_61v84"]
|
||||
script = ExtResource("4_um0x7")
|
||||
enemies = Array[ExtResource("7_54h7d")]([ExtResource("9_q67ak")])
|
||||
quantities = Array[int]([1])
|
||||
spawning_duration = 1.0
|
||||
wait = 5.0
|
||||
wait_for_killed = true
|
||||
|
||||
[sub_resource type="Resource" id="Resource_2j32b"]
|
||||
script = ExtResource("4_um0x7")
|
||||
enemies = Array[ExtResource("7_54h7d")]([ExtResource("5_e24vf"), ExtResource("9_q67ak")])
|
||||
quantities = Array[int]([2, 2])
|
||||
spawning_duration = 10.0
|
||||
wait = 3.0
|
||||
wait_for_killed = true
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7w8g6"]
|
||||
size = Vector2(328, 185.333)
|
||||
|
||||
|
@ -641,7 +666,7 @@ script = ExtResource("1_3dydx")
|
|||
|
||||
[node name="Spawner" type="Node2D" parent="." node_paths=PackedStringArray("wave_label")]
|
||||
script = ExtResource("1_ifu8g")
|
||||
waves = Array[ExtResource("4_um0x7")]([SubResource("Resource_ur7l5"), SubResource("Resource_kupyp"), SubResource("Resource_o8cet"), SubResource("Resource_0cevq"), SubResource("Resource_eppj0"), SubResource("Resource_rpu1y"), SubResource("Resource_4b1vo"), SubResource("Resource_gg7kj"), SubResource("Resource_fjkob"), SubResource("Resource_5sdy5")])
|
||||
waves = Array[ExtResource("4_um0x7")]([SubResource("Resource_ur7l5"), SubResource("Resource_kupyp"), SubResource("Resource_o8cet"), SubResource("Resource_0cevq"), SubResource("Resource_eppj0"), SubResource("Resource_rpu1y"), SubResource("Resource_4b1vo"), SubResource("Resource_gg7kj"), SubResource("Resource_fjkob"), SubResource("Resource_5sdy5"), SubResource("Resource_82qld"), SubResource("Resource_61v84"), SubResource("Resource_2j32b")])
|
||||
wave_label = NodePath("../UI/Wave Count")
|
||||
|
||||
[node name="Timer" type="Timer" parent="Spawner"]
|
||||
|
@ -708,6 +733,7 @@ rotation = -1.5708
|
|||
shape = SubResource("WorldBoundaryShape2D_rmvst")
|
||||
|
||||
[node name="UI" type="Control" parent="."]
|
||||
z_index = 10
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 1920.0
|
||||
|
@ -730,14 +756,15 @@ anchors_preset = 2
|
|||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 44.0
|
||||
offset_top = -137.0
|
||||
offset_top = -175.0
|
||||
offset_right = 279.0
|
||||
offset_bottom = -38.0
|
||||
grow_vertical = 0
|
||||
theme_override_constants/line_spacing = 0
|
||||
theme_override_fonts/font = ExtResource("11_s4q6p")
|
||||
theme_override_font_sizes/font_size = 50
|
||||
text = "2 Quares
|
||||
1 Exagon"
|
||||
text = "Gun"
|
||||
vertical_alignment = 2
|
||||
|
||||
[node name="Stopwatch" type="Label" parent="UI"]
|
||||
layout_mode = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue