How to use a sprite sheet from Library instead from file?
I'm more interested in making interactive animations in An using coding with CreateJS and I have to admit that more complex things aren't very clear to me, I guess because I couldn't find a book that really covers that area. From the official site of CreateJS, I copied the code of an animation in which the character of a little man runs across a meadow and with a few modifications, it really works in An. However, I'd rather know how to edit the manifest declaration so that in addition to some images it reads from the directory (here from / art) it takes a sprite / sprite sheet directly from the Library based on the name in the Linkage column (in my case the Linkage name is GRUNT). Is it possible to make it? Thank you very much for the answer.
manifest = [
{src: new lib.GRUNT, id: "grant"}, //this one does not work
{src: "sky.png", id: "sky"},
{src: "ground.png", id: "ground"},
{src: "hill1.png", id: "hill"},
{src: "hill2.png", id: "hill2"}
];
