Texture atlas generation library for LÖVE
coz 496209962d Initial commit | 1 year ago | |
---|---|---|
out | 1 year ago | |
.gitattributes | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
atlas.lua | 1 year ago | |
conf.lua | 1 year ago | |
main.lua | 1 year ago |
Texture atlas generation library for LÖVE
Notes on usage:
Create new atlas object using Atlas() or AtlasCL() (Command Line version) functions:
atlas = Atlas(w, h, po2, path, file, info, silent)
where:
example:
atlas = Atlas(32, 32, true, "images", "atlas01", true, false) -- atlas01.png and atlas01.txt will be created
If you omit path to images, then you should use atlas.build(path) function later. You can also use atlas.out(filename, format) function to save atlas.
If you don't want to create output files but use it internally then: