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

[ext_resource type="PackedScene" uid="uid://d2l68snnemcet" path="res://scenes/unit/unit.tscn" id="1_wkafa"]
[ext_resource type="Texture2D" uid="uid://cproxhccob85g" path="res://assets/sprites/Players/Player_1.png" id="2_etcc1"]
[ext_resource type="Script" uid="uid://b5makasbbi1ov" path="res://scenes/unit/players/player.gd" id="2_xa7el"]
[ext_resource type="Resource" uid="uid://btnfef0ui2ju8" path="res://resources/units/players/stats_player_well_rounded.tres" id="3_xa7el"]
[ext_resource type="Script" uid="uid://bkfe6nn8yxhbq" path="res://scenes/unit/players/trail.gd" id="4_0kki1"]
[ext_resource type="Script" uid="uid://cxkyieqijftcu" path="res://scenes/unit/players/weapon_container.gd" id="6_viu20"]

[sub_resource type="Curve" id="Curve_ht2l1"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
point_count = 2

[sub_resource type="CircleShape2D" id="CircleShape2D_etcc1"]
radius = 2.236068

[sub_resource type="CircleShape2D" id="CircleShape2D_ht2l1"]
radius = 33.0

[node name="PlayerWellRounded" unique_id=2022554550 instance=ExtResource("1_wkafa")]
collision_mask = 2
script = ExtResource("2_xa7el")
dash_duration = 0.4
dash_speed_multi = 2.7
dash_cooldown = 1.5
stats = ExtResource("3_xa7el")

[node name="Trail" type="Line2D" parent="Visuals" parent_id_path=PackedInt32Array(395976388) index="0" unique_id=1482185349 node_paths=PackedStringArray("player")]
unique_name_in_owner = true
top_level = true
position = Vector2(0, -31)
width = 40.0
width_curve = SubResource("Curve_ht2l1")
script = ExtResource("4_0kki1")
player = NodePath("../..")

[node name="Shadow" parent="Visuals" parent_id_path=PackedInt32Array(395976388) index="1" unique_id=2136480859]
z_index = 1

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

[node name="CollisionShape2D" parent="." index="1" unique_id=139786467]
z_index = 1
position = Vector2(0, -31)
shape = SubResource("CircleShape2D_etcc1")

[node name="WeaponContainer" type="Node2D" parent="." index="3" unique_id=1247020101]
script = ExtResource("6_viu20")

[node name="One" type="Node2D" parent="WeaponContainer" index="0" unique_id=539007369]
visible = false

[node name="Marker2D" type="Marker2D" parent="WeaponContainer/One" index="0" unique_id=831356380]
position = Vector2(0, -15)

[node name="Two" type="Node2D" parent="WeaponContainer" index="1" unique_id=289812867]
visible = false

[node name="Marker2D" type="Marker2D" parent="WeaponContainer/Two" index="0" unique_id=128089457]
position = Vector2(40, 20)

[node name="Marker2D2" type="Marker2D" parent="WeaponContainer/Two" index="1" unique_id=617036328]
position = Vector2(-40, 20)

[node name="Three" type="Node2D" parent="WeaponContainer" index="2" unique_id=629421449]
visible = false

[node name="Marker2D" type="Marker2D" parent="WeaponContainer/Three" index="0" unique_id=739257802]
position = Vector2(40, 20)

[node name="Marker2D2" type="Marker2D" parent="WeaponContainer/Three" index="1" unique_id=855050328]
position = Vector2(-40, 20)

[node name="Marker2D3" type="Marker2D" parent="WeaponContainer/Three" index="2" unique_id=472814416]
position = Vector2(0, -115)

[node name="Four" type="Node2D" parent="WeaponContainer" index="3" unique_id=506537805]
visible = false

[node name="Marker2D" type="Marker2D" parent="WeaponContainer/Four" index="0" unique_id=1255805561]
position = Vector2(40, 20)

[node name="Marker2D2" type="Marker2D" parent="WeaponContainer/Four" index="1" unique_id=878895749]
position = Vector2(-40, 20)

[node name="Marker2D3" type="Marker2D" parent="WeaponContainer/Four" index="2" unique_id=1295456195]
position = Vector2(40, -115)

[node name="Marker2D4" type="Marker2D" parent="WeaponContainer/Four" index="3" unique_id=1608558685]
position = Vector2(-40, -115)

[node name="Five" type="Node2D" parent="WeaponContainer" index="4" unique_id=1785938762]
visible = false

[node name="Marker2D" type="Marker2D" parent="WeaponContainer/Five" index="0" unique_id=996744656]
position = Vector2(40, 20)

[node name="Marker2D2" type="Marker2D" parent="WeaponContainer/Five" index="1" unique_id=1613414350]
position = Vector2(-40, 20)

[node name="Marker2D3" type="Marker2D" parent="WeaponContainer/Five" index="2" unique_id=41036492]
position = Vector2(60, -40)

[node name="Marker2D4" type="Marker2D" parent="WeaponContainer/Five" index="3" unique_id=1569055213]
position = Vector2(-60, -40)

[node name="Marker2D5" type="Marker2D" parent="WeaponContainer/Five" index="4" unique_id=658888569]
position = Vector2(0, -115)

[node name="Six" type="Node2D" parent="WeaponContainer" index="5" unique_id=212814573]
visible = false

[node name="Marker2D" type="Marker2D" parent="WeaponContainer/Six" index="0" unique_id=1448136568]
position = Vector2(35, 20)

[node name="Marker2D2" type="Marker2D" parent="WeaponContainer/Six" index="1" unique_id=1295815397]
position = Vector2(-35, 20)

[node name="Marker2D3" type="Marker2D" parent="WeaponContainer/Six" index="2" unique_id=604337112]
position = Vector2(35, -115)

[node name="Marker2D4" type="Marker2D" parent="WeaponContainer/Six" index="3" unique_id=395392856]
position = Vector2(-35, -115)

[node name="Marker2D5" type="Marker2D" parent="WeaponContainer/Six" index="4" unique_id=1176036243]
position = Vector2(60, -45)

[node name="Marker2D6" type="Marker2D" parent="WeaponContainer/Six" index="5" unique_id=1779481566]
position = Vector2(-60, -45)

[node name="DashTimer" type="Timer" parent="." index="4" unique_id=968231365]
one_shot = true

[node name="DashCooldownTimer" type="Timer" parent="." index="5" unique_id=278610339]
one_shot = true

[node name="TrailTimer" type="Timer" parent="." index="6" unique_id=2006934730]
unique_name_in_owner = true

[node name="HurtboxComponent" parent="." index="7" unique_id=1155790880]
collision_layer = 32
collision_mask = 4

[node name="CollisionShape2D" type="CollisionShape2D" parent="HurtboxComponent" index="0" unique_id=1411044109]
z_index = 1
position = Vector2(0, -32)
shape = SubResource("CircleShape2D_ht2l1")

[node name="HealthBar" parent="." index="9" unique_id=1540037291]
back_color = Color(0.13725491, 0.019607844, 0.02745098, 1)
fill_color = Color(1, 0.2901961, 0.45490196, 1)

[connection signal="timeout" from="DashTimer" to="." method="_on_dash_timer_timeout"]
[connection signal="timeout" from="TrailTimer" to="Visuals/Trail" method="_on_trail_timer_timeout"]
