bobonthenet / Spritility

Generate spritesheets and atlas json for Phaser from a folder of individual sprites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spritility

Sprite + Utility = Spritility!

Automate the creation of a spritesheet, sprite atlas json, and an anims file ready to be used in Phaser 3.

Setup

npm install -g spritility

Using Spritility

spritility <asset path> <target path>

To use Spritility you must specify both the source and target paths. The source path is the path where your individual sprite images are located. The target path is where the spritesheet, atlas, and anims files will be placed.

About

Generate spritesheets and atlas json for Phaser from a folder of individual sprites


Languages

Language:JavaScript 100.0%