Skip to content

teknofire/spritemapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spritemapper

Used to generate sprite maps for use in games as well as a json output to map file names to row/columns in the output png.

Build

go build -o spritemapper

Usage

Generate a sprite map from a directory of files, prints a json output with the file names and coordinates as well.

./spritemanager -out sprites/output.png PNGs/Floors/Iso_Tile_Floor_* > output.json

If you would like to have a prettier json output you can call it like this

./spritemanager -out sprites/output.png PNGs/Floors/Iso_Tile_Floor_* | jq . -rM > output.json

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages