Axel icon indicating copy to clipboard operation
Axel copied to clipboard

Add Support For Atlases (AxAtlas)

Open arkeus opened this issue 12 years ago • 2 comments

Implement AxAtlas such that it supports loading texture atlases in format(s) that popular tools export to. Also support manually creating the atlas via code.

Most likely you will construct it as follows:

var atlas:AxAtlas = new AxAtlas(xmlFormat);

And it will load from formats such as the one TexturePacker exports to. You'll also be able to add your own via code (so you can create the manually):

atlas.add("player_stand", 50, 72, 32, 32); atlas.add("player_walk", 50, 84, 32, 32, 5, 10);

Then in AxSprite you can load from an atlas. This will add all the relevant animations also.

arkeus avatar Jun 22 '12 04:06 arkeus

Super! Glad to see this feature is in! :)

chamberlainpi avatar Jul 30 '12 19:07 chamberlainpi

Hello. When you finish Atlases? I really need this feature for a mobile game. Thank you.

elmortem avatar Jun 24 '14 12:06 elmortem