Compare commits

...

2 Commits

1 changed files with 23 additions and 17 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=15 format=3 uid="uid://bguqy4rmdkgcn"] [gd_scene load_steps=16 format=3 uid="uid://bguqy4rmdkgcn"]
[ext_resource type="Texture2D" uid="uid://i8naxj4e757h" path="res://sprites/CharacterSprite.png" id="1_r1rn1"] [ext_resource type="Texture2D" uid="uid://i8naxj4e757h" path="res://sprites/CharacterSprite.png" id="1_r1rn1"]
@ -34,21 +34,21 @@ region = Rect2(752, 188, 188, 188)
atlas = ExtResource("1_r1rn1") atlas = ExtResource("1_r1rn1")
region = Rect2(940, 188, 188, 188) region = Rect2(940, 188, 188, 188)
[sub_resource type="AtlasTexture" id="AtlasTexture_spv1i"] [sub_resource type="AtlasTexture" id="AtlasTexture_7hx43"]
atlas = ExtResource("1_r1rn1") atlas = ExtResource("1_r1rn1")
region = Rect2(0, 376, 188, 188) region = Rect2(0, 376, 188, 188)
[sub_resource type="AtlasTexture" id="AtlasTexture_y3b0m"] [sub_resource type="AtlasTexture" id="AtlasTexture_f6rod"]
atlas = ExtResource("1_r1rn1")
region = Rect2(188, 376, 188, 188)
[sub_resource type="AtlasTexture" id="AtlasTexture_po7hs"]
atlas = ExtResource("1_r1rn1") atlas = ExtResource("1_r1rn1")
region = Rect2(376, 376, 188, 188) region = Rect2(376, 376, 188, 188)
[sub_resource type="AtlasTexture" id="AtlasTexture_pd231"] [sub_resource type="AtlasTexture" id="AtlasTexture_o4umm"]
atlas = ExtResource("1_r1rn1") atlas = ExtResource("1_r1rn1")
region = Rect2(564, 376, 188, 188) region = Rect2(752, 376, 188, 188)
[sub_resource type="AtlasTexture" id="AtlasTexture_74s64"]
atlas = ExtResource("1_r1rn1")
region = Rect2(1128, 376, 188, 188)
[sub_resource type="SpriteFrames" id="SpriteFrames_q70xl"] [sub_resource type="SpriteFrames" id="SpriteFrames_q70xl"]
animations = [{ animations = [{
@ -93,27 +93,33 @@ animations = [{
}, { }, {
"frames": [{ "frames": [{
"duration": 1.0, "duration": 1.0,
"texture": SubResource("AtlasTexture_spv1i") "texture": SubResource("AtlasTexture_7hx43")
}, { }, {
"duration": 1.0, "duration": 1.0,
"texture": SubResource("AtlasTexture_y3b0m") "texture": SubResource("AtlasTexture_f6rod")
}, { }, {
"duration": 1.0, "duration": 1.0,
"texture": SubResource("AtlasTexture_po7hs") "texture": SubResource("AtlasTexture_o4umm")
}, { }, {
"duration": 1.0, "duration": 1.0,
"texture": SubResource("AtlasTexture_pd231") "texture": SubResource("AtlasTexture_74s64")
}], }],
"loop": true, "loop": true,
"name": &"walking", "name": &"walk",
"speed": 5.0 "speed": 8.0
}] }]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_m7kql"]
radius = 41.0
height = 174.0
[node name="player" type="CharacterBody2D"] [node name="player" type="CharacterBody2D"]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_q70xl") sprite_frames = SubResource("SpriteFrames_q70xl")
animation = &"walking" animation = &"walk"
frame_progress = 0.29238 frame_progress = 0.0296892
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(9, 7)
shape = SubResource("CapsuleShape2D_m7kql")