Compare commits
No commits in common. "f03f45a7d990a99fb5272b90cf744bc28e8d653d" and "d394279be22c4c8d243c87b960c7297f4d46dedf" have entirely different histories.
f03f45a7d9
...
d394279be2
40
player.tscn
40
player.tscn
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://bguqy4rmdkgcn"]
|
||||
[gd_scene load_steps=15 format=3 uid="uid://bguqy4rmdkgcn"]
|
||||
|
||||
[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")
|
||||
region = Rect2(940, 188, 188, 188)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7hx43"]
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_spv1i"]
|
||||
atlas = ExtResource("1_r1rn1")
|
||||
region = Rect2(0, 376, 188, 188)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_f6rod"]
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_y3b0m"]
|
||||
atlas = ExtResource("1_r1rn1")
|
||||
region = Rect2(188, 376, 188, 188)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_po7hs"]
|
||||
atlas = ExtResource("1_r1rn1")
|
||||
region = Rect2(376, 376, 188, 188)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_o4umm"]
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pd231"]
|
||||
atlas = ExtResource("1_r1rn1")
|
||||
region = Rect2(752, 376, 188, 188)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_74s64"]
|
||||
atlas = ExtResource("1_r1rn1")
|
||||
region = Rect2(1128, 376, 188, 188)
|
||||
region = Rect2(564, 376, 188, 188)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_q70xl"]
|
||||
animations = [{
|
||||
|
@ -93,33 +93,27 @@ animations = [{
|
|||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_7hx43")
|
||||
"texture": SubResource("AtlasTexture_spv1i")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_f6rod")
|
||||
"texture": SubResource("AtlasTexture_y3b0m")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_o4umm")
|
||||
"texture": SubResource("AtlasTexture_po7hs")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_74s64")
|
||||
"texture": SubResource("AtlasTexture_pd231")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"walk",
|
||||
"speed": 8.0
|
||||
"name": &"walking",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_m7kql"]
|
||||
radius = 41.0
|
||||
height = 174.0
|
||||
|
||||
[node name="player" type="CharacterBody2D"]
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_q70xl")
|
||||
animation = &"walk"
|
||||
frame_progress = 0.0296892
|
||||
animation = &"walking"
|
||||
frame_progress = 0.29238
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(9, 7)
|
||||
shape = SubResource("CapsuleShape2D_m7kql")
|
||||
|
|
Loading…
Reference in New Issue