[QUOTE=lemo]Also being able to apply basic transformations (crop, offset, mask?) afterwards sounds to me like a natural evolution to the "Load image from url" feature[/QUOTE]
Okay so here is a demo capx if anyone is interested in a temporary workaround for dynamic sprite animations!SpriteAnimDemo.capx
I'm using the blend modes to create a mask around the sprite sheet, then animate it with a few events. Then anyone can use a regular "load image from url" to replace the sprite at runtime. In my case I have to work with random and unknown sizes of sheets, and you have that in the example too.
Here's a recap of the layer structure from top to bottom:
- props sprites unaffected by the mask
MASK LAYER (+ force own texture YES)
- bg sprite (+ SOURCE OUT blend mode)
- mask area
- character sprite
- bg sprite
@Ashley I'm still interested in a lighter method though
Also all the masking seems to affect the overall performance a bit from what I understand.
So again, instead of a one-click "Load Image from URL as Sprite Strip" big feature, we could use just a few simple options on the sprite element to crop or offset the image at runtime (and deal with the animation ourselves)
There could be a lot of other uses to theses params :)lemo2013-02-19 06:24:20