update hiro jump animationand add dash animation

This commit is contained in:
Kelly Peng 2022-04-24 02:15:13 -04:00
parent b59dc3e585
commit 3afed99959
2 changed files with 31 additions and 5 deletions

View File

@ -3,7 +3,7 @@
"spriteSheetImage": "Hiro.png", "spriteSheetImage": "Hiro.png",
"spriteWidth": 64, "spriteWidth": 64,
"spriteHeight": 64, "spriteHeight": 64,
"columns": 7, "columns": 8,
"rows": 7, "rows": 7,
"durationType": "time", "durationType": "time",
"animations": [ "animations": [
@ -75,12 +75,12 @@
] ]
}, },
{ {
"name": "JUMP", "name": "JUMP2",
"repeat": false, "repeat": false,
"frames": [ "frames": [
{ {
"index": 30, "index": 30,
"duration": 10 "duration": 5
}, },
{ {
"index": 31, "index": 31,
@ -96,12 +96,12 @@
}, },
{ {
"index": 30, "index": 30,
"duration": 10 "duration": 5
} }
] ]
}, },
{ {
"name": "JUMP_RIGHT", "name": "JUMP",
"repeat": false, "repeat": false,
"frames": [ "frames": [
{ {
@ -303,6 +303,32 @@
"duration": 10 "duration": 10
} }
] ]
},
{
"name": "DASH",
"repeat": false,
"frames": [
{
"index": 46,
"duration": 5
},
{
"index": 47,
"duration": 5
},
{
"index": 48,
"duration": 5
},
{
"index": 49,
"duration": 5
},
{
"index": 50,
"duration": 10
}
]
} }
] ]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 21 KiB