Add NPC and items walking.
This commit is contained in:
@@ -38,183 +38,183 @@ region = Rect2( 420, 220, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=9]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 360, 0, 60, 110 )
|
||||
region = Rect2( 0, 110, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=10]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 180, 0, 60, 110 )
|
||||
region = Rect2( 60, 110, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=11]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 0, 660, 60, 110 )
|
||||
region = Rect2( 120, 110, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=12]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 60, 660, 60, 110 )
|
||||
region = Rect2( 180, 110, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=13]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 120, 660, 60, 110 )
|
||||
region = Rect2( 240, 110, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=14]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 180, 660, 60, 110 )
|
||||
region = Rect2( 300, 110, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=15]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 240, 660, 60, 110 )
|
||||
region = Rect2( 360, 110, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=16]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 300, 660, 60, 110 )
|
||||
region = Rect2( 420, 110, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=17]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 360, 660, 60, 110 )
|
||||
region = Rect2( 120, 0, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=18]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 420, 660, 60, 110 )
|
||||
region = Rect2( 0, 440, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=19]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 60, 0, 60, 110 )
|
||||
region = Rect2( 60, 440, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=20]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 0, 110, 60, 110 )
|
||||
region = Rect2( 120, 440, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=21]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 60, 110, 60, 110 )
|
||||
region = Rect2( 180, 440, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=22]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 120, 110, 60, 110 )
|
||||
region = Rect2( 240, 440, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=23]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 180, 110, 60, 110 )
|
||||
region = Rect2( 300, 440, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=24]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 240, 110, 60, 110 )
|
||||
region = Rect2( 360, 440, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=25]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 300, 110, 60, 110 )
|
||||
region = Rect2( 420, 440, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=26]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 360, 110, 60, 110 )
|
||||
region = Rect2( 420, 0, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=27]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 420, 110, 60, 110 )
|
||||
region = Rect2( 0, 880, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=28]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 120, 0, 60, 110 )
|
||||
region = Rect2( 60, 880, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=29]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 0, 440, 60, 110 )
|
||||
region = Rect2( 120, 880, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=30]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 60, 440, 60, 110 )
|
||||
region = Rect2( 180, 880, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=31]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 120, 440, 60, 110 )
|
||||
region = Rect2( 240, 880, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=32]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 180, 440, 60, 110 )
|
||||
region = Rect2( 300, 880, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=33]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 240, 440, 60, 110 )
|
||||
region = Rect2( 360, 880, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=34]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 300, 440, 60, 110 )
|
||||
region = Rect2( 420, 880, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=35]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 360, 440, 60, 110 )
|
||||
region = Rect2( 0, 550, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=36]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 420, 440, 60, 110 )
|
||||
region = Rect2( 60, 550, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=37]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 420, 0, 60, 110 )
|
||||
region = Rect2( 120, 550, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=38]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 0, 880, 60, 110 )
|
||||
region = Rect2( 180, 550, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=39]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 60, 880, 60, 110 )
|
||||
region = Rect2( 240, 550, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=40]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 120, 880, 60, 110 )
|
||||
region = Rect2( 300, 550, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=41]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 180, 880, 60, 110 )
|
||||
region = Rect2( 360, 550, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=42]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 240, 880, 60, 110 )
|
||||
region = Rect2( 420, 550, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=43]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 300, 880, 60, 110 )
|
||||
region = Rect2( 360, 0, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=44]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 360, 880, 60, 110 )
|
||||
region = Rect2( 180, 0, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=45]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 420, 880, 60, 110 )
|
||||
region = Rect2( 0, 660, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=46]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 0, 550, 60, 110 )
|
||||
region = Rect2( 60, 660, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=47]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 60, 550, 60, 110 )
|
||||
region = Rect2( 120, 660, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=48]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 120, 550, 60, 110 )
|
||||
region = Rect2( 180, 660, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=49]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 180, 550, 60, 110 )
|
||||
region = Rect2( 240, 660, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=50]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 240, 550, 60, 110 )
|
||||
region = Rect2( 300, 660, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=51]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 300, 550, 60, 110 )
|
||||
region = Rect2( 360, 660, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=52]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 360, 550, 60, 110 )
|
||||
region = Rect2( 420, 660, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=53]
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 420, 550, 60, 110 )
|
||||
region = Rect2( 60, 0, 60, 110 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=54]
|
||||
atlas = ExtResource( 3 )
|
||||
@@ -299,56 +299,56 @@ animations = [ {
|
||||
"name": "walk_down",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 9 ) ],
|
||||
"loop": true,
|
||||
"name": "idle_right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 10 ) ],
|
||||
"loop": true,
|
||||
"name": "idle_up_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ) ],
|
||||
"loop": true,
|
||||
"name": "walk_up_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 19 ) ],
|
||||
"loop": true,
|
||||
"name": "idle_down_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ), SubResource( 24 ), SubResource( 25 ), SubResource( 26 ), SubResource( 27 ) ],
|
||||
"frames": [ SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ) ],
|
||||
"loop": true,
|
||||
"name": "walk_down_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 28 ) ],
|
||||
"frames": [ SubResource( 17 ) ],
|
||||
"loop": true,
|
||||
"name": "idle_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 29 ), SubResource( 30 ), SubResource( 31 ), SubResource( 32 ), SubResource( 33 ), SubResource( 34 ), SubResource( 35 ), SubResource( 36 ) ],
|
||||
"frames": [ SubResource( 18 ), SubResource( 19 ), SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ), SubResource( 24 ), SubResource( 25 ) ],
|
||||
"loop": true,
|
||||
"name": "walk_left",
|
||||
"speed": 8.0
|
||||
}, {
|
||||
"frames": [ SubResource( 37 ) ],
|
||||
"frames": [ SubResource( 26 ) ],
|
||||
"loop": true,
|
||||
"name": "idle_down_right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 38 ), SubResource( 39 ), SubResource( 40 ), SubResource( 41 ), SubResource( 42 ), SubResource( 43 ), SubResource( 44 ), SubResource( 45 ) ],
|
||||
"frames": [ SubResource( 27 ), SubResource( 28 ), SubResource( 29 ), SubResource( 30 ), SubResource( 31 ), SubResource( 32 ), SubResource( 33 ), SubResource( 34 ) ],
|
||||
"loop": true,
|
||||
"name": "walk_up_right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 46 ), SubResource( 47 ), SubResource( 48 ), SubResource( 49 ), SubResource( 50 ), SubResource( 51 ), SubResource( 52 ), SubResource( 53 ) ],
|
||||
"frames": [ SubResource( 35 ), SubResource( 36 ), SubResource( 37 ), SubResource( 38 ), SubResource( 39 ), SubResource( 40 ), SubResource( 41 ), SubResource( 42 ) ],
|
||||
"loop": true,
|
||||
"name": "walk_right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 43 ) ],
|
||||
"loop": true,
|
||||
"name": "idle_right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 44 ) ],
|
||||
"loop": true,
|
||||
"name": "idle_up_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 45 ), SubResource( 46 ), SubResource( 47 ), SubResource( 48 ), SubResource( 49 ), SubResource( 50 ), SubResource( 51 ), SubResource( 52 ) ],
|
||||
"loop": true,
|
||||
"name": "walk_up_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 53 ) ],
|
||||
"loop": true,
|
||||
"name": "idle_down_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 54 ) ],
|
||||
"loop": true,
|
||||
"name": "idle_down",
|
||||
|
||||
Reference in New Issue
Block a user