2022-04-12 00:08:57 -04:00
|
|
|
{
|
|
|
|
"name" : "Snake",
|
2022-04-16 20:09:50 -04:00
|
|
|
"spriteSheetImage": "snake.png",
|
2022-04-12 00:08:57 -04:00
|
|
|
"spriteWidth": 160,
|
|
|
|
"spriteHeight": 128,
|
|
|
|
"columns": 5,
|
|
|
|
"rows": 4,
|
|
|
|
"durationType": "time",
|
|
|
|
"animations": [
|
|
|
|
{
|
|
|
|
"name": "IDLE",
|
|
|
|
"repeat": true,
|
|
|
|
"frames": [
|
|
|
|
{
|
|
|
|
"index": 0,
|
|
|
|
"duration": 150
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 1,
|
|
|
|
"duration": 150
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 2,
|
|
|
|
"duration": 150
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 3,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 4,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 3,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 4,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 3,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 2,
|
|
|
|
"duration": 150
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 1,
|
|
|
|
"duration": 150
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ATTACK",
|
|
|
|
"repeat": true,
|
|
|
|
"frames": [
|
|
|
|
{
|
|
|
|
"index": 0,
|
|
|
|
"duration": 150
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 5,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 6,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 7,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 8,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 9,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 10,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 11,
|
|
|
|
"duration": 150
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DYING",
|
|
|
|
"repeat": false,
|
|
|
|
"frames": [
|
|
|
|
{
|
|
|
|
"index": 0,
|
|
|
|
"duration": 150
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 12,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 13,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 14,
|
|
|
|
"duration": 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 15,
|
|
|
|
"duration": 150
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 16,
|
|
|
|
"duration": 150
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 17,
|
|
|
|
"duration": 150
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"index": 18,
|
|
|
|
"duration": 150
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DEAD",
|
|
|
|
"repeat": true,
|
|
|
|
"frames": [
|
|
|
|
{
|
|
|
|
"index": 18,
|
|
|
|
"duration": 150
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|