March 05, 2014

Sprite Sheet Generator Utility

Today I want to share the sprite generator utility we extensively in our game development projects. It is pretty simple, doesn't have much options, only generates cocos2d compatible spritesheets and only works on Mac OS X. But still we find it extremely useful. Source code is available on github and can be easily tweaked to anyone's needs.

Usage is simple:

spritesheetgen INPUT_DIR OUTPUT_DIR TEXTURE_NAME

Utility will traverse all image files (PNG and JPEG) in INPUT_DIR folder, place them on texture (power of 2 size, non-square) and write texture image to OUTPUT_DIR/TEXTURE_NAME.png as well as OUTPUT_DIR/TEXTURE_NAME.plist with sprite locations description.

Utility will remove any transparent borders on input sprites, keeping sizes by correctly setting data in resulting plist file.

We would love to hear from you.

This form sends a email right into our inbox. One of us will get back to you as soon as possible.

Thanks for contacting us!

We will respond as soon as possible - normally, within a day.

Want to get in touch even faster? Then, please, try:

Calling us at +1-424-777-2422.

Skyping factorial.complexity.

Something went wrong :(

We are very sorry. Here are some alternative ways to contact us:

Want to get in touch even faster? Then, please, try:

Phone +1-424-777-2422

Skype factorial.complexity

Email info@f17y.com