Be a Supporter!

V CAM slows down my animation

  • 866 Views
  • 13 Replies
New Topic Respond to this Topic
Vitty
Vitty
  • Member since: Oct. 4, 2006
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
V CAM slows down my animation 2009-10-30 10:19:41 Reply

Hi, So i started to do an animation.. and so far ive just been concentrating on the scene backgrounds.. After i did 3 scenes backgrounds i decided to add the vcam to see how it looks all together with a lil camera movement... And once i did so I seen the absolute terror.. I mean my computer isnt the fastest but it always handles flash stuff... but i mean this was insanely slow! I tried running it on my mates brand new macbook pro which improved the quality speed but was still terrible... i dont undetstand what it is i need to do to sort that out.. ive never had that problem before =/

Any ideas would be appritiated! Heres a quick link.....

http://spamtheweb.com/ul/upload/4009/509 39_Start.php

UknownXL
UknownXL
  • Member since: May. 22, 2005
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to V CAM slows down my animation 2009-10-30 12:17:09 Reply

How many fps is it? Is there any code involved? Is there alot of mc's or graphics?

Vitty
Vitty
  • Member since: Oct. 4, 2006
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to V CAM slows down my animation 2009-10-30 14:32:00 Reply

At 10/30/09 12:17 PM, UknownXL wrote: How many fps is it? Is there any code involved? Is there alot of mc's or graphics?

a fair amount of graphics, but not too much.. the only code really is on the play button and the vcam code... i guess the vcam code could slow it down but even if it was that how would i sort that out?

Vitty
Vitty
  • Member since: Oct. 4, 2006
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to V CAM slows down my animation 2009-10-30 14:37:53 Reply

and its 20 fps.

UknownXL
UknownXL
  • Member since: May. 22, 2005
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to V CAM slows down my animation 2009-10-30 14:43:16 Reply

It has got to be something else. Idk why it would do that. Any sounds? Whats the file size?

Innermike
Innermike
  • Member since: Sep. 11, 2009
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to V CAM slows down my animation 2009-10-30 15:00:13 Reply

Theres nothing wrong with your camera.

I suggest you cache as much as you can as a bitmap and use as little filters and alphas as you can.

Iff i REALLY need a speed up i export a background as a PNG and reimport it , little extra size but the speed is awesome.

Also if its an AS2 vcam dont expect much, The AS3 one runs pretty damn smoothly


nobody

Vitty
Vitty
  • Member since: Oct. 4, 2006
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to V CAM slows down my animation 2009-10-30 16:06:00 Reply

Its AS3 im using CS4... its really weird why it does that, and on the second scene (inside the building) it more or less crashes =/ its rly weird... i really dont know what causes it... i havnt done anything out of ordinary =/ I guess ill try using them as bitmaps and see how it works

Vitty
Vitty
  • Member since: Oct. 4, 2006
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to V CAM slows down my animation 2009-10-30 16:08:09 Reply

And theres no sounds as of yet... and the swf file size is only 61kb =/ so theres no reason for it to be slow =/

Innermike
Innermike
  • Member since: Sep. 11, 2009
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to V CAM slows down my animation 2009-10-30 16:20:41 Reply

At 10/30/09 04:08 PM, Vitty wrote: And theres no sounds as of yet... and the swf file size is only 61kb =/ so theres no reason for it to be slow =/

Bullshit , not in the mean sense but i have made flashes around 10kb or even 5 that lag like hell , filesize doesnt directly correlate with speed, i gave some suggestions but i still find it odd, maybe you should script your own camera or convert the tweens to FBF also modify > shape > optimize > random %

It will reduce the amount of vectors in your flash which means less calculation , of course converting to bitmap gets rid of vectors completley


nobody

Vitty
Vitty
  • Member since: Oct. 4, 2006
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to V CAM slows down my animation 2009-10-30 16:24:22 Reply

Yer, ill try optimizing it... if not ill try to convert to bitmap.. the funny thing is.. is that when the vcam isnt there the small tweens like clouds work fine without any lag =/ really weird =/

Randomini
Randomini
  • Member since: Jul. 7, 2006
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to V CAM slows down my animation 2009-10-30 16:36:47 Reply

YOUR V-CAM IS SCALING EVERYTHING
IT IS REDRAWING EVERYTHING ON THE SCREEN BUT SCALED
THIS INCLUDES RECALCULATING THE DIRECTIONS AND SPEEDS OF TWEENS
IF YOU DON'T THINK THIS WILL LAG A BIT YOU ARE TOO NAIVE
</rant>

Try an AS2 VCam and see if they have the same results. If it goes faster in AS2, its a problem with the VCam. If not, it's a problem with your detail level and you'll have to redraw as bitmaps (as said before).


BBS Signature
Deadclever23
Deadclever23
  • Member since: Nov. 27, 2006
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to V CAM slows down my animation 2009-10-30 16:39:10 Reply

Make sure you're not making the v-cam rotate or skew in anyway.


"To live is the rarest thing in the world. Most people exist, that is all."
- Oscar Wilde

BBS Signature
zrb
zrb
  • Member since: Aug. 8, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to V CAM slows down my animation 2009-10-30 18:35:23 Reply

Try putting all your backgrounds in a movie clip and check the "Cache as bitmap" box.


School Sux ! || As :Main || As3: Main || Animation: Main || Flash Tutorials ||

BBS Signature
jakex09
jakex09
  • Member since: Feb. 21, 2009
  • Offline.
Forum Stats
Member
Level 07
Filmmaker
Response to V CAM slows down my animation 2009-10-30 21:55:24 Reply

i have the same problem. But it went away. I deleted a really really detailed scene with lots of movieclips.


Jakex09 is not responsible for any damages left in your brain. If you start to see signs such as "Stop" and "Yeild" you may need to see a doctor. Dont do drugs kidz!

BBS Signature