Miss any of our Open RFC calls?Watch the recordings here! »

tp-helper

0.0.4 • Public • Published

tp-helper

tp-helper based TexturePacker

How to use

var tp = require('tp');
var opts = {
  maxSize: 2048,  // spritesheet最大尺寸[1024]
  scale: 1 // 缩放 [1] , 0 - 1
};
tp.create(srcDir, destDir, opts, function(err, code) {
});

Installation

npm install --save tp-helper

Tests

npm install
npm test

Install

npm i tp-helper

DownloadsWeekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • avatar