Buggy starting point
This commit is contained in:
@@ -1,34 +1,79 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://dr8qdk10uy0o4"]
|
||||
[gd_scene load_steps=22 format=3 uid="uid://dr8qdk10uy0o4"]
|
||||
|
||||
[ext_resource type="Texture2D" path="res://Assets/Sprites/PlayerWalk.png" id="1_3e2tf"]
|
||||
[ext_resource type="Script" uid="uid://batcpr6rxhyb2" path="res://Assets/Scripts/PlayerScripts/PlayerMover.cs" id="1_b2ifw"]
|
||||
[ext_resource type="Texture2D" uid="uid://c0pno0ac25r7i" path="res://Assets/Sprites/knight.png" id="2_b2ifw"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b2ifw"]
|
||||
size = Vector2(12, 28)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_b2ifw"]
|
||||
atlas = ExtResource("1_3e2tf")
|
||||
region = Rect2(0, 0, 16, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_aee6e"]
|
||||
atlas = ExtResource("1_3e2tf")
|
||||
region = Rect2(16, 0, 16, 32)
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(0, 64, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_e5q2x"]
|
||||
atlas = ExtResource("1_3e2tf")
|
||||
region = Rect2(32, 0, 16, 32)
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(32, 64, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_mifcl"]
|
||||
atlas = ExtResource("1_3e2tf")
|
||||
region = Rect2(48, 0, 16, 32)
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(64, 64, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2thea"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(96, 64, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jqe1p"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(128, 64, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_n6g26"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(160, 64, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_twodr"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(192, 64, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_y63lr"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(224, 64, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jjopo"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(0, 96, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_evjpc"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(32, 96, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_o5e1w"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(64, 96, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6t18s"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(96, 96, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3iaiu"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(128, 96, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ausrs"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(160, 96, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ca55u"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(192, 96, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_uxm8m"]
|
||||
atlas = ExtResource("2_b2ifw")
|
||||
region = Rect2(224, 96, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_2thea"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_b2ifw")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_aee6e")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
@@ -36,10 +81,49 @@ animations = [{
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_mifcl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_2thea")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jqe1p")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_n6g26")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_twodr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_y63lr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jjopo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_evjpc")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_o5e1w")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6t18s")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3iaiu")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ausrs")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ca55u")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_uxm8m")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 8.0
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0ccr5"]
|
||||
@@ -59,7 +143,6 @@ shape = SubResource("RectangleShape2D_b2ifw")
|
||||
[node name="WalkingAnimation" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(0, -16)
|
||||
sprite_frames = SubResource("SpriteFrames_2thea")
|
||||
frame_progress = 0.24983363
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-1, -14)
|
||||
|
||||
Reference in New Issue
Block a user