a little tip for creating 2d animated sprite sheets

Hi there,
I wanted to share a little method for creating animated sprite sheets.
I had trouble creating them for RastaMonkey so I made a little research for the best tools and I found the amazing imagemagick.

first you’ll need to install imagemagick -
http://www.smudge-it.co.uk/pub/imagemagick/www/binary-releases.html#macosx
then after following the instructions there.

  1. Open terminal

  2. type these commands :

export MAGICK_HOME="$HOME/ImageMagick-6.4.3"
export PATH="$MAGICK_HOME/bin:$PATH"
export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib"

just to make it find to correct path (I am sure there is a way to skip this step but I never bothered looking)

  1. paste an image sequence to a folder , f.e folder “convert” under the username, name the files with a prefix and a follow number, like img001.jpg , img002.jpg…

  2. type

cd convert

5.then type: (change “-geometry 256x256” “-tile 8x8” if neccesary)

montage -background "transparent" -depth 8 -type TrueColorMatte *.png -geometry 256x256 -tile 8x8 -matte -transparent "transparent" -type TrueColorMatte -depth 8 spriteSheet1.png

That’s it, you’ll have a spriteSheet file there all ready.
you can repeat phase 5 over and over if you just replace the files inside the “convert” folder.

I hope this will come in handy to some of you ,
Good luck

Awesome, thanks!

Very nice! This will come in handy.