simple texture atlas generator
| .gitignore | ||
| bun.lock | ||
| index.ts | ||
| package.json | ||
| readme.md | ||
| tsconfig.json | ||
sillypacker
a simple wrapper for free-tex-packer-core that generates sprite atlas
Usage
sillypacker [input_folder] [output_folder]
File Format
sillyatl 1.2.0
[pages_count] [items_count]
[page_0_name]
[page_1_name]
...
[item_name] [page_id] [x] [y] [width] [height] [offset_x] [offset_y] [real_width] [real_height] [is_rotated]
Example Output
sillyatl 1.2.0
3 26
cat-0.png
cat-1.png
cat-2.png
Fall1 0 2 2 13 20 9 8 32 32 0
Fall2 0 2 26 13 20 9 8 32 32 0
Fall3 1 25 2 13 20 9 8 32 32 1
...
Run10 2 21 2 19 15 5 13 32 32 0
Dependencies
License
MIT