gulp-texturepacker
Gulp plugin for TexturePacker
Installation
npm install gulp-texturepacker
Examples
var tps = ; gulp; // output .tps with his setup
With options
gulp;
Options
sheet
Destination of spritesheet image (png, jpg, etc)
data
Destination of data file (json, plist, etc)
textureFormat
Sets the format for the textures.
The format type is automatically derived from the sheet
format
TexturePacker format e.g. cocos2d, phaser-json-array
Full list at TexturePacker --help
backgroundColor
background color format FFFFFF
.
log
Type Boolean
Default false
Display logs
The MIT License