27 lines
708 B
JSON
27 lines
708 B
JSON
{
|
|
"name": "PlatformerPlayer",
|
|
"spriteSheetImage": "player.png",
|
|
"spriteWidth": 16,
|
|
"spriteHeight": 16,
|
|
"columns": 5,
|
|
"rows": 1,
|
|
"durationType": "time",
|
|
"animations": [
|
|
{
|
|
"name": "IDLE",
|
|
"frames": [ {"index": 0, "duration": 1} ]
|
|
},
|
|
{
|
|
"name": "WALK",
|
|
"frames": [ {"index": 0, "duration": 16}, {"index": 1, "duration": 16}, {"index": 2, "duration": 16}, {"index": 3, "duration": 16} ]
|
|
},
|
|
{
|
|
"name": "JUMP",
|
|
"frames":[ {"index": 4, "duration": 32}]
|
|
},
|
|
{
|
|
"name": "FALL",
|
|
"frames":[ {"index": 4, "duration": 32}]
|
|
}
|
|
]
|
|
} |