[gd_scene load_steps=11 format=3 uid="uid://l4mybb2dw107"] [ext_resource type="PackedScene" uid="uid://cwkcf8h5rspoh" path="res://scenes/objects/player.tscn" id="1_nq1ke"] [ext_resource type="PackedScene" uid="uid://cxlgt8h33u7os" path="res://scenes/objects/tower.tscn" id="2_betjv"] [ext_resource type="PackedScene" uid="uid://cppmks4ln28yd" path="res://scenes/objects/attacker.tscn" id="3_jg22m"] [ext_resource type="PackedScene" uid="uid://cy2xpilh8v7vx" path="res://scenes/farms/enemy_farm.tscn" id="3_ogjsq"] [ext_resource type="PackedScene" uid="uid://2tqfm73cc4id" path="res://scenes/manager/statistics.tscn" id="5_qd3ww"] [ext_resource type="PackedScene" uid="uid://cjam63kp5sg2o" path="res://scenes/ui/stats_overlay.tscn" id="5_rymed"] [ext_resource type="PackedScene" uid="uid://dy51uqtr2ng32" path="res://scenes/ui/finish_screen.tscn" id="6_b264x"] [ext_resource type="PackedScene" uid="uid://5mt7abqkbpei" path="res://scenes/ui/reward_claim_screen.tscn" id="6_t43s0"] [ext_resource type="JSON" path="res://behaviours/rewards.json" id="7_yubu4"] [sub_resource type="Curve2D" id="Curve2D_gwd20"] _data = { "points": PackedVector2Array(0, 0, 0, 0, -174, -153, 0, 0, 0, 0, -170, 795, 0, 0, 0, 0, 1362, 801, 0, 0, 0, 0, 1358, -153, 0, 0, 0, 0, -174, -151) } point_count = 5 [node name="Main" type="Node2D"] [node name="EnemyFarm" parent="." node_paths=PackedStringArray("path_follow", "common_target") instance=ExtResource("3_ogjsq")] path_follow = NodePath("../EnemySpawnPath/EnemySpawnPoint") target = ExtResource("3_jg22m") common_target = NodePath("../Player") [node name="BulletFarm" type="Node2D" parent="."] [node name="Player" parent="." node_paths=PackedStringArray("weapon_bullet_parent", "statistics") instance=ExtResource("1_nq1ke")] weapon_bullet_parent = NodePath("../BulletFarm") statistics = NodePath("../Statistics") [node name="Tower" parent="." instance=ExtResource("2_betjv")] [node name="EnemySpawnPath" type="Path2D" parent="."] curve = SubResource("Curve2D_gwd20") [node name="EnemySpawnPoint" type="PathFollow2D" parent="EnemySpawnPath"] position = Vector2(-174, -153) rotation = 1.56658 [node name="StatsOverlay" parent="." node_paths=PackedStringArray("stats") instance=ExtResource("5_rymed")] stats = NodePath("../Statistics") [node name="RewardClaimScreen" parent="." node_paths=PackedStringArray("tower", "player") instance=ExtResource("6_t43s0")] visible = false tower = NodePath("../Tower") player = NodePath("../Player") behaviour_asset = ExtResource("7_yubu4") [node name="FinishScreen" parent="." node_paths=PackedStringArray("stats") instance=ExtResource("6_b264x")] visible = false stats = NodePath("../Statistics") [node name="Statistics" parent="." instance=ExtResource("5_qd3ww")] [connection signal="enemy_defeat" from="EnemyFarm" to="Statistics" method="_on_enemy_defeated"] [connection signal="tower_broken" from="Tower" to="FinishScreen" method="_show"] [connection signal="wave_finished" from="Statistics" to="EnemyFarm" method="_on_wave_finished"] [connection signal="wave_finished" from="Statistics" to="Player" method="_on_wave_finished"] [connection signal="wave_finished" from="Statistics" to="RewardClaimScreen" method="_show"] [connection signal="wave_started" from="Statistics" to="EnemyFarm" method="_on_wave_started"]