A downloadable tool for Windows, macOS, and Linux

Download NowName your own price

A set of CLI tools for building pixel art asset pipelines for games, with first-class support for the Phaser game engine. Full source code is available on GitHub under MIT license.

Overview

  • Atlaspack — Packs multiple PNG images into a single optimized texture atlas with support for nineslice and spritesheets
  • Fontpack — Creates packed texture atlases and BMFont descriptor files from pixel art font sheets
  • Tilepack — Repacks and optimizes Tiled map files (TMX) and their tilesets, outputting Phaser-compatible JSON tilemaps
  • Recolor — Converts image colors using a color lookup table (LUT) built from example image pairs

All tools are written in Go and distributed as standalone binaries. They are also available as an npm package with an included Vite plugin for automatic asset processing during development and production builds.

Installation

Manually from release archive

  1. Download the latest release archive for your platform (Windows, Linux, or macOS) from itch.io or the GitHub releases page.
  2. Extract the archive to a folder of your choice.
  3. Add the folder containing the binaries to your system's PATH to use them from any directory.

Using npm

npm install --save-dev pixel-tools 

For an example of integration into build pipeline with Vite, including configuring dev environment with hot reload, see the phaser-example folder in the repository.

Terms of use

Code

All tools are free to download, use, modify, and redistribute for any purpose, including commercial projects. Full source code is available on GitHub under the MIT license.

Example art assets

Example assets included in this repository were created by Gabriel Lima aka tiopalada, with small modifications by me. Big thanks to him for creating beautiful pixel art and putting it into the public domain. His work is licensed partially under CC0 1.0 Universal, and partially under CC BY 4.0, for details please see LICENSE files in corresponding example folders.

Download

Download NowName your own price

Click download now to get access to the following files:

pixel-tools-mac-m1.zip 4.5 MB
Version v0.9.11
pixel-tools-mac-intel.zip 4.9 MB
Version v0.9.11
pixel-tools-windows.zip 4.9 MB
Version v0.9.11
pixel-tools-linux.zip 4.7 MB
Version v0.9.11

Development log

Comments

Log in with itch.io to leave a comment.

(+1)

Hi, how do I exactly use this tools? the instructions are really not clear for me or maybe im just being silly.

(+2)

I needed to play around with the tool as well, since the documentation is a little shallow:

This is a Command Line Tool (CLI), that means that you have to open it via console/terminal. The .yaml file controls the behaviour of the tools. For the recolor tool (the one I've used) the application will look for two folders by default. "_reference" for the source images the data will be constructed from and "_recolor" where the items to be recolored and the result images are placed. Since this was written with Time Fantasy in mind, the suffix (file name ending) the tool is looking for is "_tf.png" and converted images will have "_e.png" in the end. If you want all images in your "_recolor"-folder to be converted, set the originalSuffix to ".png".

If you just start the recolor-tool, it will create the necessary files and folders you can fill then later.

I hope this helped a little :)

(1 edit) (+2)

Hey, thank you for chiming in! I'll try to improve documentation soon by recording short videos on its usage, hope that will help better.

(+1)

No worries, I just figured it out and thought I share my experiences :D I think videos would be overkill. A short pdf or a section "usage" in the readme should do the trick :) And maybe clarify in the description that this is not an application with GUI. And also awesome job! This is exactly how I wanted to tackle the problem but never had the time to implement it XD

(+2)

Thank you!

(+2)

Sorry for delay with response - was mostly offline during weekend. For more detailed instructions on recolor tool you can check comment from Estraban. I'm also planning soon to record short videos to show example usage, hope that will help as well.

(+2)

Thanks!