[gd_scene load_steps=8 format=3 uid="uid://b67uwwuoqaj8k"] [ext_resource type="Script" path="res://scenes/player/player.gd" id="1_dqs50"] [ext_resource type="Texture2D" uid="uid://blnfsjbjj5027" path="res://art/playerGrey_up1.png" id="1_p1pgv"] [ext_resource type="Texture2D" uid="uid://b3snl7ecix3gw" path="res://art/playerGrey_up2.png" id="2_yvyxf"] [ext_resource type="Texture2D" uid="uid://bply3mtijfqjw" path="res://art/playerGrey_walk1.png" id="3_qoqvm"] [ext_resource type="Texture2D" uid="uid://dx8sxdl3n3wiy" path="res://art/playerGrey_walk2.png" id="4_0jjgm"] [sub_resource type="SpriteFrames" id="SpriteFrames_by15q"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("1_p1pgv") }, { "duration": 1.0, "texture": ExtResource("2_yvyxf") }], "loop": true, "name": &"up", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": ExtResource("3_qoqvm") }, { "duration": 1.0, "texture": ExtResource("4_0jjgm") }], "loop": true, "name": &"walk", "speed": 5.0 }] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_kmbv5"] radius = 27.0 height = 68.0 [node name="Player" type="Area2D"] position = Vector2(70, 76) script = ExtResource("1_dqs50") metadata/_edit_group_ = true [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] scale = Vector2(0.5, 0.5) sprite_frames = SubResource("SpriteFrames_by15q") animation = &"up" [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CapsuleShape2D_kmbv5") [connection signal="body_entered" from="." to="." method="_on_body_entered"]