add final boss idle dead hurt animation

This commit is contained in:
Kelly Peng 2022-05-09 03:29:01 -04:00
parent a277509a8c
commit 403cd65ed1
3 changed files with 101 additions and 89 deletions

View File

@ -16,7 +16,7 @@
"width": 40,
"height": 20,
"bottomLayer": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, 4, 5, 6, 7, 8, 9, 9, 9, 9, 9, 10, 11, 12, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, 4, 83, 84, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 23, 24, 25, 26, 27, 28, 29, 29, 29, 29, 29, 30, 31, 32, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 23, 24, 103, 104, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 43, 44, 45, 46, 47, 48, 49, 49, 49, 49, 49, 50, 51, 52, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 43, 44, 123, 61, 61, 62, 63, 64, 65, 66, 66, 66, 66, 66, 66, 72, 63, 64, 65, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 72, 63, 64, 65, 66, 66, 66, 66, 66, 66, 72, 63, 64, 124, 61, 61, 62, 63, 64, 85, 86, 87, 88, 89, 90, 91, 92, 63, 64, 85, 86, 87, 88, 68, 69, 70, 71, 89, 90, 91, 92, 63, 64, 85, 86, 87, 88, 89, 90, 91, 92, 63, 64, 124, 61, 61, 62, 63, 64, 85, 106, 107, 108, 109, 110, 111, 112, 63, 64, 105, 106, 107, 108, 128, 129, 130, 131, 109, 110, 111, 112, 63, 64, 105, 106, 107, 108, 109, 110, 111, 112, 63, 64, 124, 61, 61, 62, 63, 64, 125, 126, 126, 126, 126, 126, 126, 132, 63, 64, 125, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 132, 63, 64, 125, 126, 126, 126, 126, 126, 126, 132, 63, 64, 124, 61, 61, 62, 63, 64, 127, 141, 142, 143, 148, 149, 150, 152, 63, 64, 127, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 152, 63, 64, 127, 141, 142, 143, 148, 149, 150, 152, 63, 64, 124, 61, 61, 62, 63, 64, 127, 161, 162, 163, 168, 169, 170, 152, 63, 64, 127, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 152, 63, 64, 127, 161, 162, 163, 168, 169, 170, 152, 63, 64, 124, 61, 61, 62, 63, 64, 127, 181, 182, 183, 188, 189, 190, 152, 63, 64, 127, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 152, 63, 64, 127, 181, 182, 183, 188, 189, 190, 152, 63, 64, 124, 61, 61, 62, 63, 64, 127, 201, 202, 203, 208, 209, 210, 152, 63, 64, 127, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 152, 63, 64, 127, 201, 202, 203, 208, 209, 210, 152, 63, 64, 124, 61, 61, 62, 63, 64, 127, 221, 222, 223, 228, 229, 230, 152, 63, 64, 127, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 152, 63, 64, 127, 221, 222, 223, 228, 229, 230, 152, 63, 64, 124, 61, 61, 62, 63, 64, 127, 241, 242, 243, 248, 249, 250, 152, 63, 64, 127, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 152, 63, 64, 127, 241, 242, 243, 248, 249, 250, 152, 63, 64, 124, 61, 61, 62, 63, 64, 127, 261, 262, 263, 268, 269, 270, 152, 63, 64, 127, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 152, 63, 64, 127, 261, 262, 263, 268, 269, 270, 152, 63, 64, 124, 61, 61, 62, 63, 64, 127, 290, 290, 290, 290, 290, 290, 152, 63, 64, 127, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 152, 63, 64, 127, 290, 290, 290, 290, 290, 290, 152, 63, 64, 124, 61, 61, 62, 63, 64, 127, 290, 290, 290, 290, 290, 290, 152, 63, 64, 127, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 152, 63, 64, 127, 290, 290, 290, 290, 290, 290, 152, 63, 64, 124, 61, 61, 62, 63, 64, 127, 290, 290, 290, 290, 290, 290, 152, 63, 64, 127, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 152, 63, 64, 127, 290, 290, 290, 290, 290, 290, 152, 63, 64, 124, 61, 61, 281, 282, 348, 349, 290, 290, 290, 290, 290, 290, 346, 347, 348, 349, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 346, 347, 348, 349, 290, 290, 290, 290, 290, 290, 346, 347, 287, 288, 61, 61, 301, 302, 368, 369, 290, 290, 290, 290, 290, 290, 366, 367, 368, 369, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 366, 367, 368, 369, 290, 290, 290, 290, 290, 290, 366, 367, 307, 308, 61, 61, 321, 322, 327, 328, 289, 289, 289, 289, 289, 61, 321, 322, 327, 328, 289, 289, 289, 289, 289, 289, 289, 289, 289, 61, 321, 322, 327, 328, 289, 289, 289, 289, 289, 61, 321, 322, 327, 328, 289],
"topLayer": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362, 363, 362, 363, 364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 341, 342, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362, 364, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362, 363, 362, 363, 364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362, 363, 364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362, 363, 364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 365, 363, 362, 363, 362, 363, 363, 365, 365, 365, 365, 363, 362, 363, 362, 363, 362, 363, 362, 363, 363, 365, 365, 365, 365, 363, 362, 363, 362, 363, 363, 365, 0, 0, 0, 0, 0, 0, 0, 0, 365, 363, 362, 363, 362, 363, 363, 365, 365, 365, 365, 363, 362, 363, 362, 363, 362, 363, 362, 363, 363, 365, 365, 365, 365, 363, 362, 363, 362, 363, 363, 365, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"topLayer": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 361, 361, 362, 362, 362, 362, 364, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362, 363, 362, 363, 364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362, 363, 364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362, 0, 0, 0, 0, 0, 0, 0, 361, 362, 363, 362, 363, 364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362, 362, 363, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 361, 361, 362, 363, 364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 361, 362, 363, 364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 365, 363, 362, 363, 362, 363, 363, 365, 365, 365, 365, 363, 362, 363, 362, 363, 362, 363, 362, 363, 363, 365, 365, 365, 365, 363, 362, 363, 362, 363, 363, 365, 0, 0, 0, 0, 0, 0, 0, 0, 365, 363, 362, 363, 362, 363, 363, 365, 365, 365, 365, 363, 362, 363, 362, 363, 362, 363, 362, 363, 363, 365, 365, 365, 365, 363, 362, 363, 362, 363, 363, 365, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"objectLayer": [
{
"x": 5,

View File

@ -3,9 +3,9 @@
"spriteSheetImage": "FinalBoss.png",
"spriteWidth": 80,
"spriteHeight": 80,
"width": 80,
"width": 800,
"height": 80,
"columns": 1,
"columns": 10,
"rows": 1,
"durationType": "time",
"animations": [
@ -15,7 +15,19 @@
"frames": [
{
"index": 0,
"duration": 20
"duration": 10
},
{
"index": 1,
"duration": 10
},
{
"index": 2,
"duration": 10
},
{
"index": 3,
"duration": 10
}
]
},
@ -44,37 +56,37 @@
"repeat": false,
"frames": [
{
"index": 0,
"index": 7,
"duration": 5
},
{
"index": 0,
"index": 8,
"duration": 5
},
{
"index": 0,
"index": 7,
"duration": 5
},
{
"index": 0,
"index": 8,
"duration": 5
},
{
"index": 10,
"index": 7,
"duration": 5
},
{
"index": 0,
"index": 8,
"duration": 5
},
{
"index": 0,
"index": 7,
"duration": 5
},
{
"index": 0,
"index": 8,
"duration": 5
}
},
]
},
{
@ -82,8 +94,8 @@
"repeat": true,
"frames": [
{
"index": 0,
"duration": 5
"index": 9,
"duration": 20
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 13 KiB