AnimatedBitmapMaterial might be something for you...
as its made to do this ;)
you also of course can combine with any other uv modifiers.

Fabrice

On May 10, 2011, at 2:56 PM, John Brookes wrote:

> Quick question can UVanimator play frame by frame?
> 
> Just playing with the UVanimator, seeing if I can get it to work with a 
> sprite sheet like this.
> http://www.shrewballooba.co.uk/UVSS/
> which uses
> 
> spriteBmm.scaleU = 1/32;
> spriteBmm.scaleV = 1 / 32;
> 
> //renderloop
> if (isExploding && explosionStep < 33)
> {
>     spriteBmm.offsetU = explosionStep / 32 //per frame
>     explosionStep++
> }
> 
> 
> 
> Using the UVanimation test example
> clip = new UVAnimationSequence('test');
> for (i=1; i<33; i++) {
>     clip.arcane::addFrame(new UVAnimationFrame(i/31, 0, 1 / 32, 1 / 32, 0), 
> 600);
> }
> 
> But that doesn't seem to play frame by frame. It just looks like calling 
> _mat.offsetU +=0.1

Reply via email to