[gd_scene load_steps=14 format=3 uid="uid://dfbomt0l6b1o4"] [ext_resource type="Script" uid="uid://dxvslwwnnlosy" path="res://scripts/player.gd" id="1_3vyb7"] [ext_resource type="Texture2D" uid="uid://c12v1hnrbfjr4" path="res://assets/textures/spritesheets/hood_player.png" id="2_g2els"] [sub_resource type="AtlasTexture" id="AtlasTexture_g2els"] atlas = ExtResource("2_g2els") region = Rect2(0, 0, 33, 33) [sub_resource type="AtlasTexture" id="AtlasTexture_qhqgy"] atlas = ExtResource("2_g2els") region = Rect2(34, 0, 33, 33) [sub_resource type="AtlasTexture" id="AtlasTexture_dqkch"] atlas = ExtResource("2_g2els") region = Rect2(68, 0, 33, 33) [sub_resource type="AtlasTexture" id="AtlasTexture_qlg0r"] atlas = ExtResource("2_g2els") region = Rect2(0, 34, 33, 33) [sub_resource type="AtlasTexture" id="AtlasTexture_tuyoq"] atlas = ExtResource("2_g2els") region = Rect2(34, 34, 33, 33) [sub_resource type="AtlasTexture" id="AtlasTexture_fjrip"] atlas = ExtResource("2_g2els") region = Rect2(68, 34, 33, 33) [sub_resource type="AtlasTexture" id="AtlasTexture_smehm"] atlas = ExtResource("2_g2els") region = Rect2(0, 68, 33, 33) [sub_resource type="AtlasTexture" id="AtlasTexture_ur7pv"] atlas = ExtResource("2_g2els") region = Rect2(34, 68, 33, 33) [sub_resource type="AtlasTexture" id="AtlasTexture_y4r1p"] atlas = ExtResource("2_g2els") region = Rect2(68, 68, 33, 33) [sub_resource type="SpriteFrames" id="SpriteFrames_qhqgy"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_g2els") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_qhqgy") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_g2els") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_dqkch") }], "loop": true, "name": &"down", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_qlg0r") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tuyoq") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_qlg0r") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fjrip") }], "loop": true, "name": &"side", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_smehm") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ur7pv") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_smehm") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_y4r1p") }], "loop": true, "name": &"up", "speed": 5.0 }] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_3vyb7"] radius = 3.0 height = 14.0 [node name="Player" type="CharacterBody2D"] script = ExtResource("1_3vyb7") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] sprite_frames = SubResource("SpriteFrames_qhqgy") animation = &"down" [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, 13) rotation = -1.5707964 shape = SubResource("CapsuleShape2D_3vyb7") [node name="Camera2D" type="Camera2D" parent="."] process_callback = 0 drag_horizontal_enabled = true drag_vertical_enabled = true