spritesmith
Advanced tools
Comparing version 0.17.4 to 0.17.5
# spritesmith changelog | ||
0.17.5 - Upgraded doubleshot to latest for proper exit codes | ||
0.17.4 - Fixed bad name for pngsmith in fallback chain | ||
@@ -3,0 +5,0 @@ |
{ | ||
"name": "spritesmith", | ||
"version": "0.17.4", | ||
"version": "0.17.5", | ||
"description": "Utility that takes images and creates a spritesheet with JSON sprite data", | ||
@@ -22,3 +22,3 @@ "main": "src/smith.js", | ||
"devDependencies": { | ||
"doubleshot": "~1.0.1", | ||
"doubleshot": "~2.13.1", | ||
"underscore": "~1.4.4" | ||
@@ -25,0 +25,0 @@ }, |
// Generate basic outlines | ||
var outlines = [{ | ||
"An array of sprites": { | ||
"when processed via spritesmith": { | ||
"renders a top-down spritesheet": true, | ||
"has the proper coordinates": true, | ||
"has the proper properties": true | ||
}, | ||
"when converted from left to right": { | ||
"renders a left-right spritesheet": true, | ||
"has the proper coordinates": true, | ||
"has the proper properties": true | ||
}, | ||
"when provided with a padding parameter": { | ||
"renders a padded spritesheet": true, | ||
"has the proper coordinates": true, | ||
"has the proper properties": true | ||
} | ||
} | ||
'An array of sprites': [{ | ||
'when processed via spritesmith': [ | ||
'renders a top-down spritesheet', | ||
'has the proper coordinates', | ||
'has the proper properties' | ||
] | ||
}, { | ||
'when converted from left to right': [ | ||
'renders a left-right spritesheet', | ||
'has the proper coordinates', | ||
'has the proper properties' | ||
] | ||
}, { | ||
'when provided with a padding parameter': [ | ||
'renders a padded spritesheet', | ||
'has the proper coordinates', | ||
'has the proper properties' | ||
] | ||
}] | ||
}, { | ||
"An empty array": { | ||
"when processed via spritesmith": { | ||
"renders an empty spritesheet": true, | ||
"returns an empty coordinate mapping": true, | ||
"has the proper properties": true | ||
} | ||
} | ||
'An empty array': [{ | ||
'when processed via spritesmith': [ | ||
'renders an empty spritesheet', | ||
'returns an empty coordinate mapping', | ||
'has the proper properties' | ||
] | ||
}] | ||
}]; | ||
@@ -38,7 +40,7 @@ | ||
var outline = {}; | ||
outline[engine] = { | ||
'when processed via spritesmith': { | ||
'returns an image': true | ||
} | ||
}; | ||
outline[engine] = [{ | ||
'when processed via spritesmith': [ | ||
'returns an image' | ||
] | ||
}]; | ||
@@ -45,0 +47,0 @@ // Add it to our list |
382090
541