Texture atlas generation library for LÖVE
coz 496209962d Initial commit | 1 年之前 | |
---|---|---|
out | 1 年之前 | |
.gitattributes | 1 年之前 | |
LICENSE | 1 年之前 | |
README.md | 1 年之前 | |
atlas.lua | 1 年之前 | |
conf.lua | 1 年之前 | |
main.lua | 1 年之前 |
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: