mkv25.net games Open Menu Banner Image Cells

flash as3 cell tweening blur and glow effects causing framerate to drop when scaling

Scrapbook / Cells
-0001/11/30 00:11:00

Blurs and fitlers in flash can create some smart effects, but as I found out with this demo it doesn't take much to cause the framerate to die and drop horribly. Five cells with random scaling it can just about handle. Baring in mind its having to redraw and reapply all the blur filters every frame is acceptable I guess.

The problem grows worse when several cells expand at once crossing over. Got to try out the my new improved Animator library, so I can do cool stuff like Animator.scaleClipTo(cell, swellAmount, 3.0).scaleClipTo(cell, start_scale, 2.0); to chain up two tweens and have it bounce between the two statess.

For additional pain open in a new window and maximise. FEEL THE LAG.

Flash Disabled

Please enable flash player to view this content.

Related