CSE380/hw4/dist/demo_assets/spritesheets/platformer/player.json

27 lines
708 B
JSON
Raw Normal View History

2022-05-23 06:00:37 -04:00
{
"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}]
}
]
}