---
title: "Sprite Sheet Generator Utility"
description: "We 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."
url: https://manytomany.co/blog/sprite-sheet-generator-utility/
published: 2014-03-05
---

# Sprite Sheet Generator Utility

5 March 2014

This is an archived article from the website of Factorial Complexity Ltd., an older incarnation of many-to-many. Information may be outdated or inaccurate.

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](https://github.com/wicharek/spritesheetgen) and can be easily tweaked to anyone’s needs.

Usage is simple:

```bash
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.

![Vitalii](https://manytomany.co/vitalii-yellow.png)

## Hi. I'm Vitalii.

I’m a software developer, technical manager and solo entrepreneur. I have been building software products all my life. I am offering **CTO as a Service** at many-to-many.

## Contact me

Let me know what are you looking for. I will reach out to you via the provided email with quote and follow up questions. Alternatively, [book a call](https://calendly.com/many-to-many/intro) or reach me directy by email [hello@manytomany.co](mailto:hello@manytomany.co).

Or using your preferred messaging app:

 [![WhatsApp QR Code](https://manytomany.co/qr/qr-whatsapp.png)](https://wa.me/qr/QH6GQNCO5CZEO1)[WhatsApp](https://wa.me/qr/QH6GQNCO5CZEO1)

 [![Telegram QR Code](https://manytomany.co/qr/qr-telegram.png)](https://t.me/wicharek)[Telegram](https://t.me/wicharek)
