|
@@ -1,133 +1,139 @@
|
|
|
-[gd_scene load_steps=31 format=2]
|
|
|
+[gd_scene load_steps=32 format=2]
|
|
|
|
|
|
[ext_resource path="res://art/1/character 1__Idle.png" type="Texture" id=1]
|
|
|
[ext_resource path="res://art/1/character 1__WALK.png" type="Texture" id=2]
|
|
|
[ext_resource path="res://art/1/character 1__roll.png" type="Texture" id=3]
|
|
|
+[ext_resource path="res://weapons/sword1.tscn" type="PackedScene" id=4]
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
|
-atlas = ExtResource( 3 )
|
|
|
+atlas = ExtResource( 1 )
|
|
|
region = Rect2( 0, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
|
-atlas = ExtResource( 3 )
|
|
|
+atlas = ExtResource( 1 )
|
|
|
region = Rect2( 120, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
|
-atlas = ExtResource( 3 )
|
|
|
+atlas = ExtResource( 1 )
|
|
|
region = Rect2( 240, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=4]
|
|
|
-atlas = ExtResource( 3 )
|
|
|
+atlas = ExtResource( 1 )
|
|
|
region = Rect2( 360, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=5]
|
|
|
atlas = ExtResource( 3 )
|
|
|
-region = Rect2( 480, 0, 120, 80 )
|
|
|
+region = Rect2( 0, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=6]
|
|
|
atlas = ExtResource( 3 )
|
|
|
-region = Rect2( 600, 0, 120, 80 )
|
|
|
+region = Rect2( 120, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=7]
|
|
|
atlas = ExtResource( 3 )
|
|
|
-region = Rect2( 720, 0, 120, 80 )
|
|
|
+region = Rect2( 240, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=8]
|
|
|
atlas = ExtResource( 3 )
|
|
|
-region = Rect2( 840, 0, 120, 80 )
|
|
|
+region = Rect2( 360, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=9]
|
|
|
atlas = ExtResource( 3 )
|
|
|
-region = Rect2( 960, 0, 120, 80 )
|
|
|
+region = Rect2( 480, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=10]
|
|
|
atlas = ExtResource( 3 )
|
|
|
-region = Rect2( 1080, 0, 120, 80 )
|
|
|
+region = Rect2( 600, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=11]
|
|
|
atlas = ExtResource( 3 )
|
|
|
-region = Rect2( 1200, 0, 120, 80 )
|
|
|
+region = Rect2( 720, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=12]
|
|
|
atlas = ExtResource( 3 )
|
|
|
-region = Rect2( 1320, 0, 120, 80 )
|
|
|
+region = Rect2( 840, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=13]
|
|
|
-atlas = ExtResource( 2 )
|
|
|
-region = Rect2( 0, 0, 120, 80 )
|
|
|
+atlas = ExtResource( 3 )
|
|
|
+region = Rect2( 960, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=14]
|
|
|
-atlas = ExtResource( 2 )
|
|
|
-region = Rect2( 120, 0, 120, 80 )
|
|
|
+atlas = ExtResource( 3 )
|
|
|
+region = Rect2( 1080, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=15]
|
|
|
-atlas = ExtResource( 2 )
|
|
|
-region = Rect2( 240, 0, 120, 80 )
|
|
|
+atlas = ExtResource( 3 )
|
|
|
+region = Rect2( 1200, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=16]
|
|
|
-atlas = ExtResource( 2 )
|
|
|
-region = Rect2( 360, 0, 120, 80 )
|
|
|
+atlas = ExtResource( 3 )
|
|
|
+region = Rect2( 1320, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=17]
|
|
|
atlas = ExtResource( 2 )
|
|
|
-region = Rect2( 480, 0, 120, 80 )
|
|
|
+region = Rect2( 0, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=18]
|
|
|
atlas = ExtResource( 2 )
|
|
|
-region = Rect2( 600, 0, 120, 80 )
|
|
|
+region = Rect2( 120, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=19]
|
|
|
atlas = ExtResource( 2 )
|
|
|
-region = Rect2( 720, 0, 120, 80 )
|
|
|
+region = Rect2( 240, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=20]
|
|
|
atlas = ExtResource( 2 )
|
|
|
-region = Rect2( 840, 0, 120, 80 )
|
|
|
+region = Rect2( 360, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=21]
|
|
|
atlas = ExtResource( 2 )
|
|
|
-region = Rect2( 960, 0, 120, 80 )
|
|
|
+region = Rect2( 480, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=22]
|
|
|
atlas = ExtResource( 2 )
|
|
|
-region = Rect2( 1080, 0, 120, 80 )
|
|
|
+region = Rect2( 600, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=23]
|
|
|
-atlas = ExtResource( 1 )
|
|
|
-region = Rect2( 0, 0, 120, 80 )
|
|
|
+atlas = ExtResource( 2 )
|
|
|
+region = Rect2( 720, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=24]
|
|
|
-atlas = ExtResource( 1 )
|
|
|
-region = Rect2( 120, 0, 120, 80 )
|
|
|
+atlas = ExtResource( 2 )
|
|
|
+region = Rect2( 840, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=25]
|
|
|
-atlas = ExtResource( 1 )
|
|
|
-region = Rect2( 240, 0, 120, 80 )
|
|
|
+atlas = ExtResource( 2 )
|
|
|
+region = Rect2( 960, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=26]
|
|
|
-atlas = ExtResource( 1 )
|
|
|
-region = Rect2( 360, 0, 120, 80 )
|
|
|
+atlas = ExtResource( 2 )
|
|
|
+region = Rect2( 1080, 0, 120, 80 )
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id=27]
|
|
|
animations = [ {
|
|
|
-"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ) ],
|
|
|
+"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 2 ), SubResource( 3 ) ],
|
|
|
+"loop": true,
|
|
|
+"name": "idle",
|
|
|
+"speed": 4.0
|
|
|
+}, {
|
|
|
+"frames": [ SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ) ],
|
|
|
"loop": true,
|
|
|
"name": "roll",
|
|
|
"speed": 15.0
|
|
|
}, {
|
|
|
-"frames": [ SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ), SubResource( 20 ), SubResource( 21 ), SubResource( 22 ) ],
|
|
|
+"frames": [ SubResource( 17 ), SubResource( 18 ), SubResource( 19 ), SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ), SubResource( 24 ), SubResource( 25 ), SubResource( 26 ) ],
|
|
|
"loop": true,
|
|
|
"name": "walk",
|
|
|
"speed": 15.0
|
|
|
-}, {
|
|
|
-"frames": [ SubResource( 23 ), SubResource( 24 ), SubResource( 25 ), SubResource( 26 ), SubResource( 24 ), SubResource( 25 ) ],
|
|
|
-"loop": true,
|
|
|
-"name": "idle",
|
|
|
-"speed": 4.0
|
|
|
} ]
|
|
|
|
|
|
[node name="playersprite" type="AnimatedSprite"]
|
|
|
frames = SubResource( 27 )
|
|
|
animation = "idle"
|
|
|
+frame = 2
|
|
|
playing = true
|
|
|
offset = Vector2( 3.72692, -21.0081 )
|
|
|
+
|
|
|
+[node name="weapon" parent="." instance=ExtResource( 4 )]
|
|
|
+position = Vector2( 0, -8.0534 )
|
|
|
+scale = Vector2( 0.75, 0.75 )
|