UNPKG

spritesmith

Version:

Utility that takes images and creates a spritesheet with JSON sprite data

20 lines 315 B
{ "sprite3.png": { "x": 0, "y": 0, "width": 100, "height": 200 }, "sprite1.png": { "x": 100, "y": 0, "width": 50, "height": 50 }, "sprite2.jpg": { "x": 100, "y": 50, "width": 50, "height": 50 } }