simple texture atlas generator
Find a file
2025-11-05 09:12:36 +07:00
.gitignore add script 2025-05-21 03:31:15 +07:00
bun.lock first commit 2025-05-21 03:24:35 +07:00
index.ts update to new format 2025-11-05 09:12:36 +07:00
package.json update to new format 2025-11-05 09:12:36 +07:00
readme.md update to new format 2025-11-05 09:12:36 +07:00
tsconfig.json first commit 2025-05-21 03:24:35 +07:00

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