Skip to content

ydinkov/SpriteCombiner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sprite Combiner

Icon

A small example project used to combine a set of images into a sprite sheet

Setting up your images

  • Your Images must have the same dimensions
  • They must follow this naming convention indicating their XY-indexes on the map:
$"<FileName>_{xCoordinate}_{yCoordinate}.<filetype>";
  • put all your imges in the same directory

Download

You can download latest release release and start using the application

Or Build from source

  1. Download .net sdk
  2. Run: dotnet publish -r linux-x64 -p:PublishSingleFile=true --self-contained false --output <YOUR OUTPUT DIRECTORY>
  3. Navigate to your output directory and you will find SpriteCombWiner.exe
  4. Congrats you built it! 🥳

Running the application

Find the exe

First you need to copy SpriteCombiner.exe to the directory coning your sprites

Then, run:

SpriteCombiner.exe

IMPORTANT: Make sure that the images that contain your frames are all the same resolution.

You should now see an output.png

Supported filetypes:

  • Bmp
  • Emf
  • Exif
  • Gif
  • Icon
  • Jpeg
  • MemoryBmp
  • Png
  • Tiff Wmf

Advanced usage

To customise input and output paths and filetypes, use:

SpriteCombiner.exe -h

About

A small .net project used to combine sprites into spritesheets, and be an example for using some dotnet6 desktop development features

Topics

Resources

License

Stars

Watchers

Forks

Languages