Skip to content

amoyjs/amoy-tool-plist2pixi-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plist converter for pixi

Overview

Use this unpacker2Pixi.py script to unpack .png sprites from the sprite atlas (providing a .plist or .json data file and a .png file) packed by TexturePacker then use texturepacker to packing these .png file export to json and png files for pixi

Use this particle2Pixi.py script to convert plist file to pixi json file (providing a .plist file) packed by ParticleDesinger then use pixiparticle plugin to play paritcle animation.

Dependencies

Usage

$ python unpacker2Pixi.py <filename> [<format>] only support plist

$ python particle2Pixi.py <filename> [<format>] only support plist 

filename

  • Filename of the sprite atlas image and data file without extensions.

format

optional

  • Data file format. Valid values are plist and json. If omitted plist format is assumed.

Examples

Use the exported json data ,need amoy-ext-PixiParticles.

example

We have a pair of sprite atlas files named Sprite.plist and Sprite.png packed by TexturePacker. Put them in the same folder as the unpacker.py script and run one of the following commands:

python unpacker2Pixi.py dir|file plist

or

python particle2Pixi.py dir|file plist

then we will see the dir named out or file if you convert a file.

some usefull particle Editor

RevoltFX

PixiParticleEditor

About

a tool for convert .plist file to pixi'json file like sprite sheet and particles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages