Director-like multi-image "sprite" animation

J. Landman Gay jacque at hyperactivesw.com
Tue Jan 27 14:25:58 EST 2009


Richard Gaskin wrote:
> I may have a need soon to try my hand at putting together some 
> mult-image sprite animations like the sort of thing we commonly see done 
> in Director.
> 
> But since Director's engine is well optimized for that sort of thing and 
> Rev isn't, I'm not sure Rev is up to the task.
> 
> For example, one of these "sprites" is a 900-frame animation of a 
> walking figure that needs to be anti-aliased against an image 
> background.  The figure itself is about 200px by 200px.
> 
> That's a lot of images, and I can't imagine that swapping those out of a 
> button icon while also moving the button will be all that smooth.
> 
> Or can it be?
> 
> And what if I need to have two or three of those running at once?
> 
> Should I give it up, or have any of you had success doing this sort of 
> thing in Rev?

I've done something similar using animated gifs. Run the gif and move 
the image around the card. I had no problem running several gifs 
simultaneously on a single card, though none were quite as large as 900 
frames (I think the biggest was about 200 frames.) Would that work?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list