Cocos2D Sprite Sheet Packer 📦
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
.gitignore
LICENSE
README.md
bower.json
spriteSheetPackerParser.js

README.md

cc_spriteSheetPackerParser

Cocos2d-JS V3 SpriteSheet Packer

Usage

let sprites = spriteSheetPackerParser('res/map.txt');
sprites.then(_ => {
  let helpFrame = cc.spriteFrameCache.getSpriteFrame('help');
  let helpSprite = new cc.Sprite(helpFrame);
  this.addChild(helpSprite);
})