Be a Supporter!

Vector Vs Bitmap Bg Plus Filter Lag

  • 546 Views
  • 4 Replies
New Topic Respond to this Topic
Aleque
Aleque
  • Member since: Jun. 2, 2004
  • Offline.
Forum Stats
Member
Level 05
Animator
Vector Vs Bitmap Bg Plus Filter Lag 2007-08-11 19:07:12 Reply

Hi

I worked with Flash for over 7 years, but I still haven't decided what to use - bitmap or vector backgrounds, for my latest and biggest Flash animation series project.

When I think of bitmaps, I think of www.ninjai.com - very nice animations, though it bothers me, that some backgrounds are too squary and flicker when they move/zoom. Plus the loading times are enormous. However no lag, and it runs smoothly

When I think vector, I think of www.weebls-stuff.com - very simple animations/backgrounds. No squares, and no lag, but that is because backgrounds are simple.

Now my project is going to have some detailed backgrounds, but already it kinda lags, especially when I use filters like Blur.

Any suggesions or tips? And what about filters? How to prevent lag and make it look good?

I appreciate constructive answers


A really cool signature!

BoMToons
BoMToons
  • Member since: Nov. 29, 2005
  • Offline.
Forum Stats
Moderator
Level 38
Game Developer
Response to Vector Vs Bitmap Bg Plus Filter Lag 2007-08-11 19:16:53 Reply

At 8/11/07 07:07 PM, Aleque wrote: I appreciate constructive answers

Try using cacheAsBitmap on your detailed vector BGs if you have flash 8. It basically turns them into bitmaps at run-time and as long as you're just moving them side to side (not scaling) then it works out great.

Aleque
Aleque
  • Member since: Jun. 2, 2004
  • Offline.
Forum Stats
Member
Level 05
Animator
Response to Vector Vs Bitmap Bg Plus Filter Lag 2007-08-11 19:43:56 Reply

At 8/11/07 07:16 PM, BoMToons wrote:
At 8/11/07 07:07 PM, Aleque wrote: I appreciate constructive answers
Try using cacheAsBitmap on your detailed vector BGs if you have flash 8. It basically turns them into bitmaps at run-time and as long as you're just moving them side to side (not scaling) then it works out great.

Hey, thanks for your answer, but the problem is that I use alot of scaling/zooming in and out. Maybe I could use Optimize? Or any other trick maybe?


A really cool signature!

Kuoke
Kuoke
  • Member since: May. 25, 2006
  • Offline.
Forum Stats
Member
Level 28
Artist
Response to Vector Vs Bitmap Bg Plus Filter Lag 2007-08-11 19:48:13 Reply

I think if you double click on the object in the library, you can tick the box that says 'Allow Smoothing'.
I'm pretty sure that lets retain its detail when zoomed.


BBS Signature
Glaiel-Gamer
Glaiel-Gamer
  • Member since: Dec. 28, 2004
  • Offline.
Forum Stats
Member
Level 28
Game Developer
Response to Vector Vs Bitmap Bg Plus Filter Lag 2007-08-11 19:55:13 Reply

use bitmaps then.

Export it at a large enough size so you can still see the detail when zoomed in.

CacheAsBitmap is useful for situations that don't involve scaling, rotating, or animated objects.