145 lines
1.8 KiB
JSON
145 lines
1.8 KiB
JSON
{
|
|
"name": "player_spaceship",
|
|
"spriteSheetImage": "player_spaceship.png",
|
|
"spriteWidth": 256,
|
|
"spriteHeight": 256,
|
|
"leftBuffer": 0,
|
|
"rightBuffer": 0,
|
|
"topBuffer": 0,
|
|
"bottomBuffer": 0,
|
|
"columns": 5,
|
|
"rows": 5,
|
|
"animations": [
|
|
{
|
|
"name": "idle",
|
|
"repeat": true,
|
|
"frames": [
|
|
{
|
|
"index": 0,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 1,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 2,
|
|
"duration": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "boost",
|
|
"repeat": true,
|
|
"frames": [
|
|
{
|
|
"index": 3,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 4,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 5,
|
|
"duration": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "shield",
|
|
"repeat": false,
|
|
"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
|
|
},
|
|
{
|
|
"index": 12,
|
|
"duration": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "explode",
|
|
"repeat": false,
|
|
"frames": [
|
|
{
|
|
"index": 13,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 14,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 15,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 16,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 17,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 18,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 19,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 20,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 21,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 22,
|
|
"duration": 10
|
|
},
|
|
{
|
|
"index": 23,
|
|
"duration": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "explode",
|
|
"repeat": false,
|
|
"onEnd": "dead",
|
|
"frames": [
|
|
{
|
|
"index": 24,
|
|
"duration": 1
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |