add assassin walking animation

This commit is contained in:
Kelly Peng 2022-05-09 15:48:30 -04:00
parent 9f33647d2f
commit 21387377cc
2 changed files with 140 additions and 118 deletions

View File

@ -1,122 +1,144 @@
{ {
"name" : "Assassin", "name" : "Assassin",
"spriteSheetImage": "Assassin.png", "spriteSheetImage": "Assassin.png",
"spriteWidth": 64, "spriteWidth": 64,
"spriteHeight": 64, "spriteHeight": 64,
"columns": 13, "columns": 16,
"rows": 1, "rows": 1,
"durationType": "time", "durationType": "time",
"animations": [ "animations": [
{ {
"name": "IDLE", "name": "IDLE",
"repeat": true, "repeat": true,
"frames": [ "frames": [
{ {
"index": 0, "index": 0,
"duration": 10 "duration": 10
}, },
{ {
"index": 1, "index": 1,
"duration": 10 "duration": 10
}, },
{ {
"index": 2, "index": 2,
"duration": 10 "duration": 10
}, },
{ {
"index": 1, "index": 1,
"duration": 10 "duration": 10
} }
] ]
}, },
{ {
"name": "CHARGE", "name": "CHARGE",
"repeat": false, "repeat": false,
"frames": [ "frames": [
{ {
"index": 3, "index": 3,
"duration": 10 "duration": 10
}, },
{ {
"index": 4, "index": 4,
"duration": 10 "duration": 10
}, },
{ {
"index": 5, "index": 5,
"duration": 10 "duration": 10
} }
] ]
}, },
{ {
"name": "ATTACK", "name": "ATTACK",
"repeat": false, "repeat": false,
"frames": [ "frames": [
{ {
"index": 6, "index": 6,
"duration": 10 "duration": 10
}, },
{ {
"index": 7, "index": 7,
"duration": 10 "duration": 10
}, },
{ {
"index": 8, "index": 8,
"duration": 10 "duration": 10
}, },
{ {
"index": 9, "index": 9,
"duration": 10 "duration": 10
} }
] ]
}, },
{ {
"name": "HURT", "name": "HURT",
"repeat": false, "repeat": false,
"frames": [ "frames": [
{ {
"index": 10, "index": 10,
"duration": 5 "duration": 5
}, },
{ {
"index": 11, "index": 11,
"duration": 5 "duration": 5
}, },
{ {
"index": 10, "index": 10,
"duration": 5 "duration": 5
}, },
{ {
"index": 11, "index": 11,
"duration": 5 "duration": 5
}, },
{ {
"index": 10, "index": 10,
"duration": 5 "duration": 5
}, },
{ {
"index": 11, "index": 11,
"duration": 5 "duration": 5
}, },
{ {
"index": 10, "index": 10,
"duration": 5 "duration": 5
}, },
{ {
"index": 11, "index": 11,
"duration": 5 "duration": 5
} }
] ]
}, },
{ {
"name": "DEAD", "name": "DEAD",
"repeat": true, "repeat": true,
"frames": [ "frames": [
{ {
"index": 12, "index": 12,
"duration": 20 "duration": 20
} }
] ]
} },
{
"name": "WALK",
"repeat": true,
"frames": [
{
"index": 13,
"duration": 15
},
{
"index": 14,
"duration": 15
},
{
"index": 13,
"duration": 15
},
{
"index": 15,
"duration": 15
}
]
}
] ]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB