2022-04-11 19:27:51 -04:00
|
|
|
{
|
|
|
|
"name" : "Snake",
|
|
|
|
"spriteSheetImage": "Snake.png",
|
2022-04-14 04:09:16 -04:00
|
|
|
"spriteWidth": 32,
|
|
|
|
"spriteHeight": 32,
|
2022-04-11 19:27:51 -04:00
|
|
|
"columns": 5,
|
|
|
|
"rows": 4,
|
|
|
|
"durationType": "time",
|
|
|
|
"animations": [
|
|
|
|
{
|
|
|
|
"name": "IDLE",
|
|
|
|
"repeat": true,
|
|
|
|
"frames": [
|
|
|
|
{
|
|
|
|
"index": 0,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 1,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 2,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 3,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 4,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 3,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 4,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 3,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 2,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 1,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-04-14 04:09:16 -04:00
|
|
|
{
|
|
|
|
"name": "walk",
|
|
|
|
"repeat": true,
|
|
|
|
"frames": [
|
|
|
|
{
|
|
|
|
"index": 0,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-14 04:09:16 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 1,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-14 04:09:16 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 2,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-14 04:09:16 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 3,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-14 04:09:16 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 4,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-14 04:09:16 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-04-11 19:27:51 -04:00
|
|
|
{
|
|
|
|
"name": "ATTACK",
|
|
|
|
"repeat": true,
|
|
|
|
"frames": [
|
|
|
|
{
|
|
|
|
"index": 0,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 5,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 6,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 7,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 8,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 9,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 10,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 11,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DYING",
|
|
|
|
"repeat": false,
|
|
|
|
"frames": [
|
|
|
|
{
|
|
|
|
"index": 0,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 12,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 13,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 14,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 15,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 16,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 17,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 18,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-04-14 04:09:16 -04:00
|
|
|
{
|
|
|
|
"name": "HURT",
|
|
|
|
"repeat": false,
|
|
|
|
"frames": [
|
|
|
|
{
|
|
|
|
"index": 0,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-14 04:09:16 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 12,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-14 04:09:16 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 13,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-14 04:09:16 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 14,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 5
|
2022-04-14 04:09:16 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 15,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-14 04:09:16 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 16,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-14 04:09:16 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 17,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-14 04:09:16 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 18,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-14 04:09:16 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-04-11 19:27:51 -04:00
|
|
|
{
|
|
|
|
"name": "DEAD",
|
|
|
|
"repeat": true,
|
|
|
|
"frames": [
|
|
|
|
{
|
|
|
|
"index": 18,
|
2022-04-22 16:46:29 -04:00
|
|
|
"duration": 10
|
2022-04-11 19:27:51 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|