This is a simple tool to create a spritesheet from a folder of images.
Input files :
input/
├─ mysprites1/
│ ├─ image1.png
│ ├─ image2.png
│ ├─ ...
├─ mysprites2/
│ ├─ image1.png
│ ├─ image2.png
│ ├─ ...
Output files :
output/
├─ mysprites1.png
├─ mysprites2.png
--script <script file path> : specify the path to the script file
--origin <origin path> : specify the path to the origin folder
You can configure the spritesheet builder with a script file. The script file is a JSON file with the following structure :
{
"input": "input/",
"output": "output/",
"spritesheets": [
{
"name": "mysprites1",
"files": [
"image1.png",
"image2.png",
...
]
},
{
"name": "mysprites2",
"files": [
"image1.png",
"image2.png",
...
]
}
]
}