[gd_scene format=3 uid="uid://bfuqhhe8r8asg"]

[ext_resource type="PackedScene" uid="uid://d2l68snnemcet" path="res://scenes/unit/unit.tscn" id="1_dd0vi"]
[ext_resource type="Script" uid="uid://b5j2awtdd1a4a" path="res://scenes/unit/enemy/enemy.gd" id="2_lmqbh"]
[ext_resource type="Texture2D" uid="uid://d1ou504pylric" path="res://assets/sprites/Enemies/Enemy_1.png" id="2_oo7ju"]
[ext_resource type="Resource" uid="uid://bn4dskgwnahaq" path="res://resources/units/enemies/stats_enemy_chaser_slow.tres" id="3_lmqbh"]
[ext_resource type="PackedScene" uid="uid://c0fyx8gj5uexl" path="res://scenes/components/hitbox_component.tscn" id="5_e15k4"]

[sub_resource type="CircleShape2D" id="CircleShape2D_e15k4"]
radius = 4.0

[sub_resource type="CircleShape2D" id="CircleShape2D_lmqbh"]
radius = 150.0

[sub_resource type="CircleShape2D" id="CircleShape2D_03rrj"]
radius = 38.0

[sub_resource type="CircleShape2D" id="CircleShape2D_421q1"]
radius = 40.0

[node name="EnemyChaserSlow" unique_id=2092979720 instance=ExtResource("1_dd0vi")]
collision_layer = 2
script = ExtResource("2_lmqbh")
flock_push = 20.0
stats = ExtResource("3_lmqbh")

[node name="Sprite" parent="Visuals" parent_id_path=PackedInt32Array(395976388) index="1" unique_id=1925870318]
texture = ExtResource("2_oo7ju")

[node name="CollisionShape2D" parent="." index="1" unique_id=139786467]
position = Vector2(0, -30)
shape = SubResource("CircleShape2D_e15k4")
debug_color = Color(0.97292477, 0.10649621, 0.32710177, 0.41960785)

[node name="VisionArea" type="Area2D" parent="." index="3" unique_id=466967301]
collision_layer = 0
collision_mask = 2

[node name="CollisionShape2D" type="CollisionShape2D" parent="VisionArea" index="0" unique_id=715489053]
position = Vector2(0, -25)
shape = SubResource("CircleShape2D_lmqbh")

[node name="HurtboxComponent" parent="." index="4" unique_id=1155790880]
collision_layer = 8
collision_mask = 16

[node name="CollisionShape2D" type="CollisionShape2D" parent="HurtboxComponent" index="0" unique_id=880029571]
position = Vector2(0, -30)
shape = SubResource("CircleShape2D_03rrj")
debug_color = Color(0.59981126, 0.5382401, 0.22537157, 0.41960785)

[node name="HitboxComponent" parent="." index="5" unique_id=151235566 instance=ExtResource("5_e15k4")]
collision_layer = 4
collision_mask = 32

[node name="CollisionShape2D" type="CollisionShape2D" parent="HitboxComponent" index="0" unique_id=906401181]
position = Vector2(0, -30)
shape = SubResource("CircleShape2D_421q1")
debug_color = Color(0.95670325, 0.056883797, 0.5071302, 0.41960785)

[node name="HealthBar" parent="." index="7" unique_id=1540037291]
offset_top = -95.0
offset_bottom = -75.0
back_color = Color(0.015686275, 0.05490196, 0.16862746, 1)
fill_color = Color(0.37254903, 0.5372549, 0.75686276, 1)
