Forum Topic: Vcam Help

(207 views • 6 replies)

This topic is 1 page long.

<< < > >>
None

ApeLord

Reply To Post Reply & Quote

Posted at: 9/2/06 12:47 AM

ApeLord EVIL LEVEL 15

Sign-Up: 12/24/04

Posts: 1,562

Hello all,

Im having trouble getting my vcam to follow the movieclip like in super soiler and stuff when the camera follows the person and even shakes when a bomb or something drops next to it?

Can anyone help me get the follow thing working please?

Ive asked my brother to help but he started stressing with me about going on newgrounds.com and said it wasnt for newbs. Thanks.


None

Tyrant12

Reply To Post Reply & Quote

Posted at: 9/2/06 12:50 AM

Tyrant12 LIGHT LEVEL 23

Sign-Up: 10/27/05

Posts: 2,650

Not sure how to make it shake but use this to make it follow the player.

onClipEvent (enterFrame) { if (_root.stick._x > _x) { _x += 10; }}onClipEvent (enterFrame) { if (_root.stick._x<_x) { _x -= 10; }}onClipEvent (enterFrame) { if (_root.stick._y>_y) { _y += 10; }}onClipEvent (enterFrame) { if (_root.stick._y<_y) { _y -= 10; }}

Change stick to your movie clip instance name and change the x and y numbers to however fast you want the camera to move. If the camera looks jittery change the speed of the camera to match your player.

You sir, are a cock juggling thunder cunt.
Gamertag: Kit Kat NG
Kitty Krew


None

ApeLord

Reply To Post Reply & Quote

Posted at: 9/2/06 12:53 AM

ApeLord EVIL LEVEL 15

Sign-Up: 12/24/04

Posts: 1,562

Thank you:D

but its too lets say.. solid. is there a way to ease the camera?


None

Tyrant12

Reply To Post Reply & Quote

Posted at: 9/2/06 01:00 AM

Tyrant12 LIGHT LEVEL 23

Sign-Up: 10/27/05

Posts: 2,650

At 9/2/06 12:53 AM, ApeLord wrote: Thank you:D

but its too lets say.. solid. is there a way to ease the camera?

Not sure what you mean by ease the camera.

You sir, are a cock juggling thunder cunt.
Gamertag: Kit Kat NG
Kitty Krew


Questioning

ApeLord

Reply To Post Reply & Quote

Posted at: 9/2/06 01:01 AM

ApeLord EVIL LEVEL 15

Sign-Up: 12/24/04

Posts: 1,562

nevermind, ive fixed it:D thank you

could you help me on another small problem?


None

ApeLord

Reply To Post Reply & Quote

Posted at: 9/2/06 01:04 AM

ApeLord EVIL LEVEL 15

Sign-Up: 12/24/04

Posts: 1,562

sorry for the double post but ive forgotten to post my other problem :P

Well the thing is that i want to load things from the library, i know how to do it. but i want to load them randomly, for example

_root.attachMovie("cary", "cary", 1000000);
_root.driver._x = 166.0;
_root.driver._y = 266.0;

Now the problem is that i want another car to be added randomly, yet i dont want them to be added so that they touch each other. you get me?


None

Tyrant12

Reply To Post Reply & Quote

Posted at: 9/2/06 01:08 AM

Tyrant12 LIGHT LEVEL 23

Sign-Up: 10/27/05

Posts: 2,650

At 9/2/06 01:04 AM, ApeLord wrote: Well the thing is that i want to load things from the library, i know how to do it. but i want to load them randomly, for example

_root.attachMovie("cary", "cary", 1000000);
_root.driver._x = 166.0;
_root.driver._y = 266.0;

Now the problem is that i want another car to be added randomly, yet i dont want them to be added so that they touch each other. you get me?

I only know basic action script so I don't know how to do that. If people saw the type of things I do to get around doing complicated things they would laugh.

You sir, are a cock juggling thunder cunt.
Gamertag: Kit Kat NG
Kitty Krew


All times are Eastern Standard Time (GMT -5) | Current Time: 09:33 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!