34 lines
1.5 KiB
Plaintext
34 lines
1.5 KiB
Plaintext
[gd_scene load_steps=6 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"]
|
|
|
|
[sub_resource type="Curve2D" id="Curve2D_gwd20"]
|
|
_data = {
|
|
"points": PackedVector2Array(0, 0, 0, 0, -309, -271, 0, 0, 0, 0, -309, 850, 0, 0, 0, 0, 1369, 849, 0, 0, 0, 0, 1368, -272, 0, 0, 0, 0, -309, -271)
|
|
}
|
|
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") instance=ExtResource("1_nq1ke")]
|
|
weapon_bullet_parent = NodePath("../BulletFarm")
|
|
|
|
[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(-309, -271)
|
|
rotation = 1.5708
|