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: