File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11# ![ Spritesheet Logo] ( media/spritesheet-logo.png )
22
33[ ![ Package version] ( https://flat.badgen.net/npm/v/@pencil.js/spritesheet )] ( https://www.npmjs.com/package/@pencil.js/spritesheet )
4+ [ ![ Package size] ( https://badgen.net/bundlephobia/minzip/@pencil.js/spritesheet )] ( https://bundlephobia.com/result?p=@pencil.js/spritesheet )
45
56Pack a set of images into a single spritesheet along its json description file. ([ CLI version] ( https://github.com/pencil-js/spritesheet-cli ) )
67
@@ -61,7 +62,7 @@ The returned JSON file is composed of two parts:
6162
6263Each frames gives data about itself:
6364 - ` frame ` - The ` x ` , ` y ` position on the whole image and ` w ` , ` h ` for the size
64- - ` rotated ` - Tell is the sprite have been rotated
65+ - ` rotated ` - Tell is the sprite have been rotated (not yet supported)
6566 - ` trimmed ` - Tell is the sprite have been cropped
6667 - ` spriteSourceSize ` - The relative ` x ` , ` y ` position and ` w ` , ` h ` size
6768 - ` sourceSize ` - The original ` w ` , ` h ` size
You can’t perform that action at this time.
0 commit comments