Quick title-screen thrown together, all textures are on one spritesheet (ground, title, imp, soul and random junk that I added in to test the system)
Credits to my colleagues Wilbefast and Shapter who are working on Soul Harvest
For those of you who do sprite-heavy games and would like to use some sweet, sweet spritebatching, or just more flexible animation and stuff, you might find yourself wanting to have nicely packed textures and a juicy way to manipulate them.
So I started a project during Mini-Ludum Dare #51 "Tool Jam", with this in mind.
It's far from stable API, and further from feature-complete, but you can get it here, and I'll let you guys know when it's a bit tighter: https://github.com/Bradshaw/Fudge
This is the kind of image it outputs, alongside all the metadata necessary to be useful :
Image produced by dumping images from a bunch of different projects into fudge
Features:
- Smart (enough) packing for efficient graphics-memory usage
- Monkey-patched love.graphics.draw for sweet easy code
- Automatic quad and spritebatch management
- Automatic animation management
- Optional NPOT canvases for modern hardware <3
- Export to image and LON (Lua had a baby with JSON)
- Export to JSON and XML for use with other engines
- A standalone texture packer
- More animation tools (generate from filenames, dedicated methods, etc...)
- Anti-texturebleed padding for scaled/rotated drawing
I don't think this is quite ready to be used in a big project, and it'll need documenting too, but take a look at the main.lua and see if you think that this kind of thing would be fun to use