Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

tardisx/spritesheet_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED - 2025-05-23

Due to GitHub's AI enshittification, this project has been moved to https://code.ppl.town/justin/spritesheet_generator

spritesheet_generator

This is a simple program to generate a sprite tilesheet, in png format. For use with software such as Tiled.

This gives you a template to use as a layer in your favourite image editing program, allowing you to create a tilesheet for use in your game.

Installation

Binary

https://github.com/tardisx/spritesheet_generator/releases

From source

go install github.com/tardisx/spritesheet_generator@latest

Usage

Usage of ./spritesheet_generator:
-height int
        base tile height in pixels (default 128)
-multiplier int
        tile height multiplier (default 2)
-output string
        output filename
-width int
        tile width in pixels (default 128)
-x int
        number of tiles across (default 8)
-y int
        number of tiles down (default 8)

Hopefully these options are mostly self-explanatory.

The multiplier option describes how 'tall' the tiles are. Normally you want some height to tiles to give them the illusion of depth and the ability to hide things behind them. If you are unsure, start with the default of 2.

Example output

Screenshot

About

Generates templates for isometric sprite tilesheets

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages