CSE380/hw3/dist/hw3_assets/spritesheets/car.json

140 lines
3.1 KiB
JSON
Raw Normal View History

2022-05-23 06:00:37 -04:00
{
"name": "cars",
"spriteSheetImage": "cars.png",
"spriteWidth": 256,
"spriteHeight": 256,
"leftBuffer": 0,
"rightBuffer": 0,
"topBuffer": 0,
"bottomBuffer": 0,
"columns": 3,
"rows": 4,
"animations": [
{
"name": "driving",
"repeat": true,
"frames": [
{
"index": 0,
"duration": 10
},
{
"index": 1,
"duration": 10
}
]
},
{
"name": "firing",
"repeat": true,
"frames": [
{
"index": 0,
"duration": 10
},
{
"index": 2,
"duration": 10
},
{
"index": 3,
"duration": 10
}
]
},
{
"name": "damage",
"repeat": true,
"frames": [
{
"index": 4,
"duration": 6
},
{
"index": 5,
"duration": 6
},
{
"index": 4,
"duration": 6
},
{
"index": 5,
"duration": 6
},
{
"index": 4,
"duration": 6
}, {
"index": 5,
"duration": 6
},
{
"index": 4,
"duration": 6
},
{
"index": 5,
"duration": 6
},
{
"index": 4,
"duration": 6
},
{
"index": 5,
"duration": 6
},
{
"index": 4,
"duration": 6
}, {
"index": 5,
"duration": 6
}
]
},
{
"name": "dying",
"repeat": false,
"next": "dead",
"frames": [
{
"index": 6,
"duration": 10
},
{
"index": 7,
"duration": 10
},
{
"index": 8,
"duration": 10
},
{
"index": 9,
"duration": 10
},
{
"index": 10,
"duration": 10
},
{
"index": 11,
"duration": 10
}
]
},
{
"name": "dead",
"repeat": true,
"frames": [
{
"index": 11,
"duration": 20
}
]
}
]
}