Skip to content

breadboardharry/spritesheet-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spritesheet Builder

This is a simple tool to create a spritesheet from a folder of images.

Usage

Input files :

input/
├─ mysprites1/
│  ├─ image1.png
│  ├─ image2.png
│  ├─ ...
├─ mysprites2/
│  ├─ image1.png
│  ├─ image2.png
│  ├─ ...

Output files :

output/
├─ mysprites1.png
├─ mysprites2.png

Command line

Specify script file

--script <script file path> : specify the path to the script file

Specify a path origin

--origin <origin path> : specify the path to the origin folder

Script file

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",
                ...
            ]
        }
    ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published