Created
December 17, 2016 03:18
-
-
Save inspector-ambitious/6dad947d25aa8d68c6e4e6d5df40b0b1 to your computer and use it in GitHub Desktop.
Example of generated ouput
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default { | |
| assets: [ | |
| 'sprites/Level1_0.json', | |
| 'sprites/Level1_1.json' | |
| ], | |
| name: 'Level1', | |
| width: 3750, | |
| height: 1024, | |
| bounds: { | |
| left: 32, | |
| top: 32, | |
| right: 3718, | |
| bottom: 992, | |
| width: 3686, | |
| height: 960 | |
| }, | |
| sprites: [ | |
| { | |
| name: '0', | |
| frame: 'Level1_sprites_layer3_0.png', | |
| x: 1500, | |
| y: 0, | |
| width: 750, | |
| height: 419 | |
| }, | |
| { | |
| name: '1', | |
| frame: 'Level1_sprites_layer3_1.png', | |
| x: 2250, | |
| y: 0, | |
| width: 750, | |
| height: 419 | |
| }, | |
| { | |
| name: '1', | |
| frame: 'Level1_sprites_layer3_1.png', | |
| x: 750, | |
| y: 0, | |
| width: 750, | |
| height: 419 | |
| }, | |
| { | |
| name: '0', | |
| frame: 'Level1_sprites_layer3_0.png', | |
| x: 0, | |
| y: 0, | |
| width: 750, | |
| height: 419 | |
| }, | |
| { | |
| name: '2', | |
| frame: 'Level1_sprites_layer3_2.png', | |
| x: 3000, | |
| y: 0, | |
| width: 750, | |
| height: 419 | |
| }, | |
| { | |
| name: '5', | |
| frame: 'Level1_sprites_layer2_5.png', | |
| x: 0, | |
| y: 213, | |
| width: 750, | |
| height: 336 | |
| }, | |
| { | |
| name: '3', | |
| frame: 'Level1_sprites_layer2_3.png', | |
| x: 750, | |
| y: 192, | |
| width: 750, | |
| height: 356 | |
| }, | |
| { | |
| name: '2', | |
| frame: 'Level1_sprites_layer2_2.png', | |
| x: 1500, | |
| y: 266, | |
| width: 750, | |
| height: 282 | |
| }, | |
| { | |
| name: '1', | |
| frame: 'Level1_sprites_layer2_1.png', | |
| x: 2250, | |
| y: 220, | |
| width: 750, | |
| height: 335 | |
| }, | |
| { | |
| name: '0', | |
| frame: 'Level1_sprites_layer2_0.png', | |
| x: 3000, | |
| y: 296, | |
| width: 750, | |
| height: 259 | |
| }, | |
| { | |
| name: 'balloon1', | |
| frame: 'Level1_sprites_layer1_balloon1.png', | |
| x: 549, | |
| y: 166, | |
| width: 141, | |
| height: 349 | |
| }, | |
| { | |
| name: 'balloon2', | |
| frame: 'Level1_sprites_layer1_balloon2.png', | |
| x: 2625, | |
| y: 78, | |
| width: 150, | |
| height: 361 | |
| }, | |
| { | |
| name: 'balloon3', | |
| frame: 'Level1_sprites_layer1_balloon3.png', | |
| x: 727, | |
| y: 203, | |
| width: 207, | |
| height: 396 | |
| }, | |
| { | |
| name: 'tree4', | |
| frame: 'Level1_sprites_layer1_tree4.png', | |
| x: 3113, | |
| y: 17, | |
| width: 440, | |
| height: 479 | |
| }, | |
| { | |
| name: 'tree5', | |
| frame: 'Level1_sprites_layer1_tree5.png', | |
| x: 1689, | |
| y: 60, | |
| width: 232, | |
| height: 441 | |
| }, | |
| { | |
| name: '0', | |
| frame: 'Level1_sprites_layer1_0.png', | |
| x: 0, | |
| y: 430, | |
| width: 750, | |
| height: 238 | |
| }, | |
| { | |
| name: '0 copy 3', | |
| frame: 'Level1_sprites_layer1_0 copy 3.png', | |
| x: 750, | |
| y: 430, | |
| width: 750, | |
| height: 238 | |
| }, | |
| { | |
| name: '0 copy', | |
| frame: 'Level1_sprites_layer1_0 copy.png', | |
| x: 1500, | |
| y: 430, | |
| width: 750, | |
| height: 238 | |
| }, | |
| { | |
| name: '0 copy 2', | |
| frame: 'Level1_sprites_layer1_0 copy 2.png', | |
| x: 3000, | |
| y: 430, | |
| width: 750, | |
| height: 238 | |
| }, | |
| { | |
| name: 'Group 13', | |
| frame: 'Level1_sprites_layer1_Group 13.png', | |
| x: 2250, | |
| y: 430, | |
| width: 750, | |
| height: 238 | |
| }, | |
| { | |
| name: '0', | |
| frame: 'Level1_sprites_layer0_0.png', | |
| x: 0, | |
| y: 655, | |
| width: 750, | |
| height: 369 | |
| }, | |
| { | |
| name: '2', | |
| frame: 'Level1_sprites_layer0_2.png', | |
| x: 1500, | |
| y: 655, | |
| width: 750, | |
| height: 369 | |
| }, | |
| { | |
| name: '5', | |
| frame: 'Level1_sprites_layer0_5.png', | |
| x: 3000, | |
| y: 655, | |
| width: 750, | |
| height: 369 | |
| }, | |
| { | |
| name: '1', | |
| frame: 'Level1_sprites_layer0_1.png', | |
| x: 750, | |
| y: 622, | |
| width: 750, | |
| height: 402 | |
| }, | |
| { | |
| name: '4', | |
| frame: 'Level1_sprites_layer0_4.png', | |
| x: 2250, | |
| y: 622, | |
| width: 750, | |
| height: 402 | |
| }, | |
| { | |
| name: 'hero', | |
| frame: 'Level1_sprites_hero.png', | |
| x: 255, | |
| y: 289, | |
| width: 247, | |
| height: 417 | |
| } | |
| ], | |
| path: { | |
| minX: 0, | |
| maxX: 3750, | |
| minY: 670, | |
| maxY: 705.5, | |
| xRange: 3750, | |
| yRange: 35.5, | |
| segments: [ | |
| { | |
| p0x: 0, | |
| p0y: 705.5, | |
| p1x: 0, | |
| p1y: 705.5, | |
| p3x: 723.5, | |
| p3y: 705.5, | |
| p2x: 723.5, | |
| p2y: 705.5, | |
| xRange: 723.5, | |
| yRange: 0 | |
| }, | |
| { | |
| p0x: 723.5, | |
| p0y: 705.5, | |
| p1x: 723.5, | |
| p1y: 705.5, | |
| p3x: 1120.5, | |
| p3y: 670, | |
| p2x: 723.5, | |
| p2y: 705.5, | |
| xRange: 397, | |
| yRange: -35.5 | |
| }, | |
| { | |
| p0x: 1120.5, | |
| p0y: 670, | |
| p1x: 992.5, | |
| p1y: 670, | |
| p3x: 1591, | |
| p3y: 705.5, | |
| p2x: 1248.5, | |
| p2y: 670, | |
| xRange: 470.5, | |
| yRange: 35.5 | |
| }, | |
| { | |
| p0x: 1591, | |
| p0y: 705.5, | |
| p1x: 1591, | |
| p1y: 705.5, | |
| p3x: 2204.5, | |
| p3y: 705.5, | |
| p2x: 2204.5, | |
| p2y: 705.5, | |
| xRange: 613.5, | |
| yRange: 0 | |
| }, | |
| { | |
| p0x: 2204.5, | |
| p0y: 705.5, | |
| p1x: 2204.5, | |
| p1y: 705.5, | |
| p3x: 2624.5, | |
| p3y: 672, | |
| p2x: 2204.5, | |
| p2y: 705.5, | |
| xRange: 420, | |
| yRange: -33.5 | |
| }, | |
| { | |
| p0x: 2624.5, | |
| p0y: 672, | |
| p1x: 2454.00478, | |
| p1y: 672.247095, | |
| p3x: 3028.5, | |
| p3y: 705.5, | |
| p2x: 2794.99522, | |
| p2y: 671.752905, | |
| xRange: 404, | |
| yRange: 33.5 | |
| }, | |
| { | |
| p0x: 3028.5, | |
| p0y: 705.5, | |
| p1x: 3028.5, | |
| p1y: 705.5, | |
| p3x: 3750, | |
| p3y: 705.5, | |
| p2x: 3750, | |
| p2y: 705.5, | |
| xRange: 721.5, | |
| yRange: 0 | |
| } | |
| ] | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment