Awesome, thanks! I feared that I didn't get my point across. If I can
help with anything (testcase or similar), let me know.
Arne
On Sun, 14 Jul 2013 01:18:01 -0700 hyperandroid
<
hypera...@gmail.com> wrote:
> Into this already.
> Thanks.
>
> On Friday, July 12, 2013, Arne Brutschy wrote:
>
> > Hello,
> >
> > we're using sprite maps with CAAT: on startup, we load a
> > 2048x2048px map with the preloader and initialize it using the
> > initializeFromMap function. Works like a charm.
> >
> > In order to use the sprites of the map, we would need to do
> > something along these lines:
> >
> > var sprite = spriteMap.getRef().**setSpriteIndex('name');
> > var actor = new CAAT.Actor();
> > actor.setBackgroundImage(**sprite, false);
> > actor.setSize(sprite.getWidth(**), sprite.getHeight());
> >
> > This is obviously quite uncomfortable. Preferably, one would use
> > something like this:
> >
> > var actor = new CAAT.Actor();
> > actor.setBackgroundImage(**spriteMap.setSpriteIndex('**name'),
> >
https://groups.google.com/**groups/opt_out<
https://groups.google.com/groups/opt_out> .
> >
> >
> >
>