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