[gd_scene format=3 uid="uid://bwhlkliwp13p4"] [ext_resource type="Script" uid="uid://6s0lxctks3qn" path="res://player.gd" id="1"] [ext_resource type="Texture2D" uid="uid://b2aofu01vxvea" path="res://art/playerGrey_walk1.png" id="2"] [ext_resource type="Texture2D" uid="uid://ddjou2q6gxlfr" path="res://art/playerGrey_walk2.png" id="3"] [ext_resource type="Texture2D" uid="uid://bcow5c46vixno" path="res://art/playerGrey_up1.png" id="4"] [ext_resource type="Texture2D" uid="uid://dw3lwgwhpbfx8" path="res://art/playerGrey_up2.png" id="5"] [sub_resource type="SpriteFrames" id="1"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("2") }, { "duration": 1.0, "texture": ExtResource("3") }], "loop": 1, "name": &"right", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("4") }, { "duration": 1.0, "texture": ExtResource("5") }], "loop": 1, "name": &"up", "speed": 5.0 }] [sub_resource type="CapsuleShape2D" id="2"] radius = 27.0 height = 68.0 [node name="Player" type="Area2D" unique_id=2141725708] z_index = 10 script = ExtResource("1") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1437394421] scale = Vector2(0.5, 0.5) sprite_frames = SubResource("1") animation = &"right" [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1954506745] shape = SubResource("2") [connection signal="body_entered" from="." to="." method="_on_body_entered"]