/AnimationTool

Spritesheet tool for bitmap animation 圖片資源去除透明區域、記錄動畫偏移值、最小化裁剪、拼接並產生設定檔的工具

Primary LanguageHaxe

AnimationTool

When pack image with TexturePacker,if you choose trim the transparent,the info of every image's position will lose

AnimationTool is a tool for generate animation config to pack with TexturePacker.

It trim the bitmap without transparent area,and save the offset to xml for animation to location itself.

It's wirte base on Haxe 3 and OpenFL/Lime.

demo

usage

  • Modify the ParhConfig.txt and set the tpbin to texturepacker dir,output is the dir where you wish generate file.
  • Select a folder to begin
  • You will get a xml about offset under root/effect,a xml about all animation collection under root and a png pack by texturepacker under root/effect,the processPath is temp for cut single image and should ignore

attention

  • You must enable the command mode of TexturePacker