Sprite - NieneB/mgi_workshop GitHub Wiki

Making custom Sprite with Inkscape and SpriteZero

https://github.com/mapbox/spritezero-cli

Installation

npm install -g spritezero-cli

npm install -g @mapbox/spritezero-cli

Usage

spritezero [output filename] [input directory]

--retina      shorthand for --ratio=2
--ratio=[n]   pixel ratio
--unique      map identical images to multiple names

Example Files