djtanner / SpriteCounter

This is a Python Script to create a jpg of your spritesheet with numbering for each sprite to provide easy references when creating animations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpriteCounter

This is a Python Script to create a jpg of your spritesheet with numbering for each sprite to provide easy references when creating animations.

output

To run the script, you will provide 3 command line arguments : the original filename, the sprite width, and the sprite height.

For example: python3 sprite_counter.py /path/to/original/image.png 32 32

The resulting numbered file "output.jpg" will be saved in the same directory that you are running the script from.

Spritesheet sample image above is from : https://merchant-shade.itch.io/16x16-puny-characters

About

This is a Python Script to create a jpg of your spritesheet with numbering for each sprite to provide easy references when creating animations.


Languages

Language:Python 100.0%