> since it's completely standalone and not part of the animator family of > classes, that might have > implications down the road. The class is ment to animate a series (of large) maps at almost zero cpu costs. Its the fire of your torche, the moving water etc... Its not ment to animate a small portion of a region as movieMaterial is doing in 3.x like passing a clipRect . So unless you paste a simple rect to the sources where/if animation needs to be updated, or you map a mesh especially for your animation: you hang. (You can feed with either movieclip or an array of bitmapdata's. I have uploaded an example for it.)
UVanimator would allow you to alter uv's, but you would hang if 2 explosions would need to overlap. SpriteSheet animation would limit you in terms of cell size, based on map size and cell count. you still need to combine with a good mapping as in two above cases, if not: you might hang :) In short all these class are handy for the stuff they were designed to do, as Richard suggest, but not the answers to all animation and projection problems, chances are that what you need is a mix of these concepts, and a dedicated class will probably be necessary. Note that they also could fit 100% your needs as well ;) More classes/functionality will surely follow soon as this kind of low cost animation is ideal on mobiles and pretty handy for sceneries with loads of gismos, thinking here of the interactive panel of a nuclear plants, aircraft etc... Fabrice On May 10, 2011, at 4:35 PM, richardolsson wrote: > @John: > The purpose of the UVAnimator is to smoothly animate UV transforms > (full 2D transforms, including rotation and scale.) > > There will likely be a SpriteSheetAnimator added at some point soon, > which will do what you're after. You can also use the > AnimatedBitmapMaterial of course, but since it's completely standalone > and not part of the animator family of classes, that might have > implications down the road. > > > Cheers > /R > > On May 10, 4:23 pm, John Brookes <[email protected]> wrote: >> Yeah, it was the opening Cs4 thang and creating a movieclip that put me off. >> But just noticed you can pass an array of bitmaps though. >> >> Just playing with the animator class, seeing what it does.
