123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- [gd_scene load_steps=14 format=3 uid="uid://c483fkssc36s"]
- [ext_resource type="Script" path="res://screens/game.gd" id="1_4dd0q"]
- [ext_resource type="Texture2D" uid="uid://ceelbowk0q0rl" path="res://assets/textures/room/Light_Overlay.png" id="2_px5xi"]
- [ext_resource type="PackedScene" uid="uid://odwutyui6q5g" path="res://assets/scenes/health_bar.tscn" id="2_x77og"]
- [ext_resource type="PackedScene" uid="uid://c27ceu18q8eyr" path="res://assets/scenes/room.tscn" id="3_hm7l7"]
- [ext_resource type="PackedScene" uid="uid://ce8cu4romympf" path="res://assets/scenes/transition.tscn" id="4_yc6k4"]
- [ext_resource type="LabelSettings" uid="uid://dcy2uk6m62egc" path="res://screens/ui_label_settings.tres" id="5_wbjut"]
- [ext_resource type="PackedScene" uid="uid://cbmr1tbvbheda" path="res://assets/scenes/survivor_spot.tscn" id="6_c1csp"]
- [ext_resource type="PackedScene" uid="uid://bw0opjv1ewa8b" path="res://assets/scenes/player_spawn_zone.tscn" id="7_k4x0x"]
- [ext_resource type="AudioStream" uid="uid://evkshq2p1b3t" path="res://assets/audio/Begin_V2.wav" id="9_eq4qn"]
- [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_yhw6y"]
- blend_mode = 1
- light_mode = 1
- [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lc6c4"]
- content_margin_left = 3.0
- content_margin_top = 3.0
- content_margin_right = 3.0
- content_margin_bottom = 3.0
- bg_color = Color(0.23697, 0.708244, 0.318218, 1)
- border_width_left = 1
- border_width_top = 1
- border_width_right = 1
- border_width_bottom = 1
- [sub_resource type="LabelSettings" id="LabelSettings_hn3kd"]
- font_size = 23
- outline_size = 3
- outline_color = Color(0, 0, 0, 1)
- [sub_resource type="RectangleShape2D" id="RectangleShape2D_p2163"]
- size = Vector2(472, 288)
- [node name="Game" type="Node2D"]
- script = ExtResource("1_4dd0q")
- [node name="Room" parent="." instance=ExtResource("3_hm7l7")]
- [node name="Light-Overlay" type="Sprite2D" parent="."]
- visible = false
- material = SubResource("CanvasItemMaterial_yhw6y")
- position = Vector2(640, 360)
- scale = Vector2(0.5, 0.5)
- texture = ExtResource("2_px5xi")
- [node name="HealthBar" parent="." instance=ExtResource("2_x77og")]
- position = Vector2(640, 73)
- [node name="Timer" type="Timer" parent="."]
- [node name="UI" type="CanvasLayer" parent="."]
- layer = 9
- [node name="Root" type="Control" parent="UI"]
- layout_mode = 3
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- mouse_filter = 2
- [node name="WaveLabel" type="Label" parent="UI/Root"]
- layout_mode = 1
- anchors_preset = 2
- anchor_top = 1.0
- anchor_bottom = 1.0
- offset_left = 10.0
- offset_top = -52.0
- offset_right = 234.0
- offset_bottom = -6.0
- grow_vertical = 0
- text = "WAVE: 9999"
- label_settings = ExtResource("5_wbjut")
- vertical_alignment = 1
- [node name="PhaseLabel" type="Label" parent="UI/Root"]
- layout_mode = 1
- anchors_preset = 7
- anchor_left = 0.5
- anchor_top = 1.0
- anchor_right = 0.5
- anchor_bottom = 1.0
- offset_left = -123.5
- offset_top = -52.0
- offset_right = 123.5
- offset_bottom = -6.0
- grow_horizontal = 2
- grow_vertical = 0
- text = "PHASE: SETUP"
- label_settings = ExtResource("5_wbjut")
- horizontal_alignment = 1
- vertical_alignment = 1
- [node name="NextPhaseButton" type="Button" parent="UI/Root"]
- layout_mode = 1
- anchors_preset = 3
- anchor_left = 1.0
- anchor_top = 1.0
- anchor_right = 1.0
- anchor_bottom = 1.0
- offset_left = -218.0
- offset_top = -58.0
- offset_right = -10.0
- offset_bottom = -5.0
- grow_horizontal = 0
- grow_vertical = 0
- theme_override_font_sizes/font_size = 34
- theme_override_styles/normal = SubResource("StyleBoxFlat_lc6c4")
- theme_override_styles/hover = SubResource("StyleBoxFlat_lc6c4")
- theme_override_styles/focus = SubResource("StyleBoxFlat_lc6c4")
- text = "NEXT PHASE"
- [node name="LeftEnemyLabel" type="Label" parent="UI/Root"]
- layout_mode = 1
- anchors_preset = 4
- anchor_top = 0.5
- anchor_bottom = 0.5
- offset_left = 24.0
- offset_top = 50.0
- offset_right = 70.0
- offset_bottom = 78.0
- grow_vertical = 2
- text = "9999"
- label_settings = SubResource("LabelSettings_hn3kd")
- horizontal_alignment = 1
- [node name="RightEnemyLabel" type="Label" parent="UI/Root"]
- layout_mode = 1
- anchors_preset = 4
- anchor_top = 0.5
- anchor_bottom = 0.5
- offset_left = 1206.0
- offset_top = 48.0
- offset_right = 1258.0
- offset_bottom = 80.0
- grow_vertical = 2
- text = "9999"
- label_settings = SubResource("LabelSettings_hn3kd")
- horizontal_alignment = 1
- [node name="TopEnemyLabel" type="Label" parent="UI/Root"]
- layout_mode = 1
- anchors_preset = 5
- anchor_left = 0.5
- anchor_right = 0.5
- offset_left = -26.0
- offset_top = 190.0
- offset_right = 26.0
- offset_bottom = 222.0
- grow_horizontal = 2
- text = "9999"
- label_settings = SubResource("LabelSettings_hn3kd")
- horizontal_alignment = 1
- [node name="Overlay" type="CanvasLayer" parent="."]
- layer = 10
- visible = false
- [node name="Transition" parent="Overlay" instance=ExtResource("4_yc6k4")]
- [node name="Base" type="Area2D" parent="." groups=["base"]]
- collision_mask = 12
- [node name="CollisionShape2D" type="CollisionShape2D" parent="Base"]
- position = Vector2(639, 509)
- shape = SubResource("RectangleShape2D_p2163")
- [node name="PlayerSpawnZone" parent="." instance=ExtResource("7_k4x0x")]
- position = Vector2(635, 572)
- [node name="EnemySpawns" type="Node2D" parent="."]
- [node name="EnemySpawn_Left" type="Marker2D" parent="EnemySpawns" groups=["spawner"]]
- position = Vector2(48, 426)
- [node name="EnemySpawn_Right" type="Marker2D" parent="EnemySpawns" groups=["spawner"]]
- position = Vector2(1234, 424)
- [node name="EnemySpawn_Top" type="Marker2D" parent="EnemySpawns" groups=["spawner"]]
- position = Vector2(641, 207)
- [node name="SurvivorSpots" type="Node2D" parent="."]
- [node name="SurvivorSpot" parent="SurvivorSpots" instance=ExtResource("6_c1csp")]
- position = Vector2(497, 451)
- rotation = -1.5708
- [node name="SurvivorSpot7" parent="SurvivorSpots" instance=ExtResource("6_c1csp")]
- position = Vector2(575, 451)
- [node name="SurvivorSpot8" parent="SurvivorSpots" instance=ExtResource("6_c1csp")]
- position = Vector2(637, 451)
- [node name="SurvivorSpot9" parent="SurvivorSpots" instance=ExtResource("6_c1csp")]
- position = Vector2(701, 451)
- [node name="SurvivorSpot2" parent="SurvivorSpots" instance=ExtResource("6_c1csp")]
- position = Vector2(497, 511)
- rotation = -1.5708
- [node name="SurvivorSpot3" parent="SurvivorSpots" instance=ExtResource("6_c1csp")]
- position = Vector2(497, 570)
- rotation = -1.5708
- [node name="SurvivorSpot4" parent="SurvivorSpots" instance=ExtResource("6_c1csp")]
- position = Vector2(778, 451)
- rotation = 1.5708
- [node name="SurvivorSpot5" parent="SurvivorSpots" instance=ExtResource("6_c1csp")]
- position = Vector2(778, 511)
- rotation = 1.5708
- [node name="SurvivorSpot6" parent="SurvivorSpots" instance=ExtResource("6_c1csp")]
- position = Vector2(778, 570)
- rotation = 1.5708
- [node name="Sounds" type="Node" parent="."]
- [node name="CombatStartSound" type="AudioStreamPlayer" parent="Sounds"]
- stream = ExtResource("9_eq4qn")
- [connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
- [connection signal="pressed" from="UI/Root/NextPhaseButton" to="." method="_on_next_phase_button_pressed"]
- [connection signal="area_entered" from="Base" to="." method="_on_base_area_entered"]
|