update tiger animation with hurt and dead

This commit is contained in:
Kelly Peng 2022-04-28 16:11:36 -04:00
parent 7f9805da0e
commit 3511dbae8b
2 changed files with 49 additions and 1 deletions

View File

@ -3,7 +3,7 @@
"spriteSheetImage": "Tiger.png", "spriteSheetImage": "Tiger.png",
"spriteWidth": 64, "spriteWidth": 64,
"spriteHeight": 64, "spriteHeight": 64,
"columns": 3, "columns": 4,
"rows": 3, "rows": 3,
"durationType": "time", "durationType": "time",
"animations": [ "animations": [
@ -105,6 +105,54 @@
} }
] ]
},
{
"name": "HURT",
"repeat": false,
"frames": [
{
"index": 0,
"duration": 5
},
{
"index": 10,
"duration": 5
},
{
"index": 0,
"duration": 5
},
{
"index": 10,
"duration": 5
},
{
"index": 0,
"duration": 5
},
{
"index": 10,
"duration": 5
},
{
"index": 0,
"duration": 5
},
{
"index": 10,
"duration": 5
}
]
},
{
"name": "DEAD",
"repeat": true,
"frames": [
{
"index": 10,
"duration": 10
}
]
} }
] ]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB