Be a Supporter!

Vcam lagging my life away

  • 1,083 Views
  • 17 Replies
New Topic Respond to this Topic
Sound-O-Vision
Sound-O-Vision
  • Member since: Apr. 19, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Vcam lagging my life away 2008-07-25 18:58:15 Reply

Hey,

I'm using an AS3 vCam i found in my flash movie adnit's making the FPS like 2 in some scenes and just making everything really slow (when I export it as a SWF).

I've got some glows and some blend modes, but nothing over the top.

Anyone ever had this problem? Know a workaround? Know a better vCam? Any help would be greatly appreciated.

Jimp
Jimp
  • Member since: Aug. 5, 2005
  • Offline.
Forum Stats
Member
Level 17
Blank Slate
Response to Vcam lagging my life away 2008-07-25 19:05:32 Reply

At 7/25/08 06:58 PM, Sound-O-Vision wrote: Hey,

I'm using an AS3 vCam i found in my flash movie adnit's making the FPS like 2 in some scenes and just making everything really slow (when I export it as a SWF).

I've got some glows and some blend modes, but nothing over the top.

Anyone ever had this problem? Know a workaround? Know a better vCam? Any help would be greatly appreciated.

You tried optimising your shapes?if you have complicated drawings, optimising them can make it take up a fraction of the memory and loose almost no image quality (in fact some times it makes things look better).


BBS Signature
Sound-O-Vision
Sound-O-Vision
  • Member since: Apr. 19, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to Vcam lagging my life away 2008-07-26 16:27:25 Reply

At 7/25/08 07:05 PM, J1mp wrote:
At 7/25/08 06:58 PM, Sound-O-Vision wrote: Hey,

I'm using an AS3 vCam i found in my flash movie adnit's making the FPS like 2 in some scenes and just making everything really slow (when I export it as a SWF).

I've got some glows and some blend modes, but nothing over the top.

Anyone ever had this problem? Know a workaround? Know a better vCam? Any help would be greatly appreciated.
You tried optimising your shapes?if you have complicated drawings, optimising them can make it take up a fraction of the memory and loose almost no image quality (in fact some times it makes things look better).

Good suggestion. I've done that on some, but it's still lag-tastic. It's strange because if I manually tween everything, it looks great, but if i utalize the vCam, even for straight cuts, things start to lag.

Can anyone recommend a good AS3 vcam? Maybe mine is just wack.

Super-Yombario
Super-Yombario
  • Member since: Mar. 16, 2007
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to Vcam lagging my life away 2008-07-26 16:31:00 Reply

Dude, it's not the Vcam... You could have a stick movie, and with enough sticks, a Vcam will lag it.

GustTheASGuy
GustTheASGuy
  • Member since: Nov. 2, 2005
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to Vcam lagging my life away 2008-07-26 16:38:46 Reply

Post the vcam code?


BBS Signature
Sound-O-Vision
Sound-O-Vision
  • Member since: Apr. 19, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to Vcam lagging my life away 2008-07-26 16:46:53 Reply

At 7/26/08 04:38 PM, GustTheASGuy wrote: Post the vcam code?

vCam Code (txt)

Ansel
Ansel
  • Member since: Sep. 2, 2006
  • Offline.
Forum Stats
Member
Level 24
Blank Slate
Response to Vcam lagging my life away 2008-07-26 16:57:50 Reply

At 7/26/08 04:31 PM, Super-Yombario wrote: Dude, it's not the Vcam... You could have a stick movie, and with enough sticks, a Vcam will lag it.

KINDLY LEARN TO READ BEFORE POSTING AGAIN THANKS

anyway, I don't know much about AS3. If tweening everything onstage doesn't lag and the Vcam does, there's probably something tripping up the Cam for some reason. Try using different versions of it. There's a downloadable CS3 extension that lets you create a cam instantly in AS2 or AS3. I'd suggest using that one.


BBS Signature
Super-Yombario
Super-Yombario
  • Member since: Mar. 16, 2007
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to Vcam lagging my life away 2008-07-26 17:05:44 Reply

Yes, you should. like i said, lagging is a fallback of the vcam.

Objection
Objection
  • Member since: Oct. 16, 2007
  • Offline.
Forum Stats
Member
Level 17
Blank Slate
Response to Vcam lagging my life away 2008-07-26 17:12:11 Reply

I'm sure that it would be possible to get the same effects of the flash without a vcam. I've managed it for quite a while.

Sound-O-Vision
Sound-O-Vision
  • Member since: Apr. 19, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to Vcam lagging my life away 2008-07-26 17:34:32 Reply

anyway, I don't know much about AS3. If tweening everything onstage doesn't lag and the Vcam does, there's probably something tripping up the Cam for some reason. Try using different versions of it. There's a downloadable CS3 extension that lets you create a cam instantly in AS2 or AS3. I'd suggest using that one.

where can I find said extension?

Ansel
Ansel
  • Member since: Sep. 2, 2006
  • Offline.
Forum Stats
Member
Level 24
Blank Slate
Response to Vcam lagging my life away 2008-07-26 17:39:11 Reply

At 7/26/08 05:34 PM, Sound-O-Vision wrote:
anyway, I don't know much about AS3. If tweening everything onstage doesn't lag and the Vcam does, there's probably something tripping up the Cam for some reason. Try using different versions of it. There's a downloadable CS3 extension that lets you create a cam instantly in AS2 or AS3. I'd suggest using that one.
where can I find said extension?

I think this is the one I downloaded.


BBS Signature
mayoarm11
mayoarm11
  • Member since: Jun. 13, 2007
  • Offline.
Forum Stats
Member
Level 17
Blank Slate
Response to Vcam lagging my life away 2008-07-26 17:41:49 Reply

I'm sorry if this is off-topic or what not, but would anyone please explain to me what a v-cam is / does?

thank you.


Awesome turret game in the making, featuring 85 uniqe turrets: News post

BBS Signature
BoxMaster
BoxMaster
  • Member since: Jun. 30, 2008
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to Vcam lagging my life away 2008-07-26 19:02:34 Reply

At 7/26/08 05:41 PM, mayoarm11 wrote: I'm sorry if this is off-topic or what not, but would anyone please explain to me what a v-cam is / does?

thank you.

It's a MovieClip with actionscript that overrides the stage.

Basicly, it's a rectangle that you can put anywhere in your flash movie and have whatever it's over be what you see.

ghost741
ghost741
  • Member since: Oct. 8, 2007
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to Vcam lagging my life away 2008-07-26 19:58:04 Reply

I made a Vcam (I called an Fcam :p), with much less code than that. Its good for basic zooming, panning, and rotating.

onEnterFrame = function () {
var CamX;
var CamY;
CamX = CamX+(_x-CamX)/50;
_root._x = Stage.width/2-CamX;
CamY = CamY+(_y-CamY)/50;
_root._y = Stage.height/2-CamY;
}
ghost741
ghost741
  • Member since: Oct. 8, 2007
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to Vcam lagging my life away 2008-07-26 20:06:23 Reply

Crap sorry for the double post.

I guess I should read the whole thing before replying. Didn't realize your working in AS3.
Sorry.

mayoarm11
mayoarm11
  • Member since: Jun. 13, 2007
  • Offline.
Forum Stats
Member
Level 17
Blank Slate
Response to Vcam lagging my life away 2008-07-26 21:10:40 Reply

At 7/26/08 07:02 PM, BoxMaster wrote:
At 7/26/08 05:41 PM, mayoarm11 wrote: I'm sorry if this is off-topic or what not, but would anyone please explain to me what a v-cam is / does?

thank you.
It's a MovieClip with actionscript that overrides the stage.

Basicly, it's a rectangle that you can put anywhere in your flash movie and have whatever it's over be what you see.

very useful I suppose. But why bother w/ all of this coding and stuff? flash should provide this for us, like boomtoons' software does.


Awesome turret game in the making, featuring 85 uniqe turrets: News post

BBS Signature
Phable
Phable
  • Member since: May. 22, 2007
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to Vcam lagging my life away 2012-12-19 13:35:06 Reply

At 7/26/08 05:39 PM, Ansel wrote:
At 7/26/08 05:34 PM, Sound-O-Vision wrote:
anyway, I don't know much about AS3. If tweening everything onstage doesn't lag and the Vcam does, there's probably something tripping up the Cam for some reason. Try using different versions of it. There's a downloadable CS3 extension that lets you create a cam instantly in AS2 or AS3. I'd suggest using that one.
where can I find said extension?
I think this is the one I downloaded.

DUDE. This works perfectly. I was having the same problem on a new high-end computer. I used zero filters, zero bitmaps, and had a small file size. The V-Cam you suggested works perfectly!

Sam
Sam
  • Member since: Oct. 1, 2005
  • Offline.
Forum Stats
Moderator
Level 19
Programmer
Response to Vcam lagging my life away 2012-12-19 14:53:09 Reply

At 12/19/12 01:35 PM, Phable wrote: DUDE. This works perfectly. I was having the same problem on a new high-end computer. I used zero filters, zero bitmaps, and had a small file size. The V-Cam you suggested works perfectly!

Check the dates on threads before you post.