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: