Skip to content

将TexturePacker打包的纹理大图(plist+图片)还原为每一张小图(this script use to unpack png files in the plist file packed by TexturePacker)

Notifications You must be signed in to change notification settings

SongCF/tool-TextureUnpacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

TextureUnpacker

  • 将TexturePacker打包的纹理大图(plist+图片)还原为每一张小图
  • 剔除加密后生成的无效的片
  • 剔除加密后出现的重复图片
  • 重对小图命名排序

#说明 使用cocos2d-x引擎实现

  • proj目录下为项目文件
  • win32.exe目录下为编译好的可执行文件(win7)

#如何使用

  1. 首先新建一个cocos2d-x工程(使用的3.x版本)
  2. 将2dx_file目录下的文件用于替换原cocos2dx引擎的文件(SpriteFrameCache只是多加了一个函数SpriteFrameCache::getSpriteframes())
  3. 替换Classes 和 Resource
  4. 编译运行即可

About

将TexturePacker打包的纹理大图(plist+图片)还原为每一张小图(this script use to unpack png files in the plist file packed by TexturePacker)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages