This Blender add-on will compile all rendered frames from your animation into a very nice and configurable sprite sheet, that's usable for sprite-based video games and websites. It can also generate animated gifs, allowing you to easily showcase animations without needing to use any code.
There is a Spritify panel in Render Properties where you configure some of the attributes of the sprite sheet as well as enable/disable the ability to automatically generate a sprite sheet each time an animation render completes.
Originally developed for use in the amazing Ancient Beast game project.
This add-on requires that you have ImageMagick installed on your computer and the montage command is in your system path. It also assumes that you're rendering a sequence of still frames. Video renders will not work.
- User Preferences → Add-ons → Install...
- Use the File Browser to find spritify.py on your hard drive
- Double-click or select the file and click Install Add on...
- Use the Add-on browser to find and enable Spritify (from Render category)