24 lines
901 B
Plaintext
24 lines
901 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://cwkcf8h5rspoh"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/PlayerMovement.gd" id="1_e1gjl"]
|
|
[ext_resource type="Texture2D" uid="uid://b4daomndc1ag" path="res://assets/player.svg" id="2_3pad2"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_k56cq"]
|
|
radius = 52.0096
|
|
|
|
[node name="Player" type="CharacterBody2D" node_paths=PackedStringArray("dash_cooldown_timer")]
|
|
script = ExtResource("1_e1gjl")
|
|
dash_cooldown_timer = NodePath("DashCooldown")
|
|
|
|
[node name="DashCooldown" type="Timer" parent="."]
|
|
|
|
[node name="PlayerSprite" type="Sprite2D" parent="."]
|
|
position = Vector2(1.90735e-06, 1.78814e-06)
|
|
scale = Vector2(0.1, 0.1)
|
|
texture = ExtResource("2_3pad2")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_k56cq")
|
|
|
|
[connection signal="timeout" from="DashCooldown" to="." method="_on_cooled_down"]
|