26 lines
951 B
Plaintext
26 lines
951 B
Plaintext
[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="Script" uid="uid://b5makasbbi1ov" path="res://scenes/unit/players/player.gd" id="2_xa7el"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_etcc1"]
|
|
radius = 30.0
|
|
|
|
[node name="PlayerWellRounded" unique_id=2022554550 instance=ExtResource("1_wkafa")]
|
|
script = ExtResource("2_xa7el")
|
|
dash_duration = 0.4
|
|
dash_speed_multi = 2.7
|
|
dash_cooldown = 1.5
|
|
|
|
[node name="CollisionShape2D" parent="." index="1" unique_id=139786467]
|
|
position = Vector2(0, -31)
|
|
shape = SubResource("CircleShape2D_etcc1")
|
|
|
|
[node name="DashTimer" type="Timer" parent="." index="3" unique_id=968231365]
|
|
one_shot = true
|
|
|
|
[node name="DashCooldownTimer" type="Timer" parent="." index="4" unique_id=278610339]
|
|
one_shot = true
|
|
|
|
[connection signal="timeout" from="DashTimer" to="." method="_on_dash_timer_timeout"]
|