Forum Topic: mc moving?

(74 views • 8 replies)

This topic is 1 page long.

<< < > >>
None

biohasard

Reply To Post Reply & Quote

Posted at: 11/30/08 06:49 PM

biohasard NEUTRAL LEVEL 10

Sign-Up: 04/11/08

Posts: 1,188

how would i make an mc move across the screen and rotate (as i move they arrow keys)...? im kinda stuck here please help.

Biohasard, Staying neutral since 2009!

BBS Signature

None

OctoFlash

Reply To Post Reply & Quote

Posted at: 11/30/08 07:25 PM

OctoFlash DARK LEVEL 17

Sign-Up: 12/02/06

Posts: 839

At 11/30/08 06:49 PM, biohasard wrote: how would i make an mc move across the screen and rotate

motion tween. maybe take a look at some tutorials.

(as i move they arrow keys)...?

what? do you mean my pressing an arrow key? you'll need actionscript. take a look at some tutorials again.

im kinda stuck here please help.

yeah.

BLAM DAMN SPAM. That rhymes! So what do we learn?
the right answer for the most bbs-posts: THE FREAKIN' COLLAB RULES!!!

BBS Signature

None

biohasard

Reply To Post Reply & Quote

Posted at: 11/30/08 07:35 PM

biohasard NEUTRAL LEVEL 10

Sign-Up: 04/11/08

Posts: 1,188

At 11/30/08 07:25 PM, OctoFlash wrote:
At 11/30/08 06:49 PM, biohasard wrote: how would i make an mc move across the screen and rotate
motion tween. maybe take a look at some tutorials.

(as i move they arrow keys)...?
what? do you mean my pressing an arrow key? you'll need actionscript. take a look at some tutorials again.

im kinda stuck here please help.
yeah.

can you mabey point me out to tutorials? (don't link me to the newgrounds tutorial page.... i've looked at them all.)

Biohasard, Staying neutral since 2009!

BBS Signature

None

OctoFlash

Reply To Post Reply & Quote

Posted at: 11/30/08 07:38 PM

OctoFlash DARK LEVEL 17

Sign-Up: 12/02/06

Posts: 839

so which kind or tutorials do you need? actionscript or animation? are you sure that you checked all the tutorials? i mean. there ARE some useful ones which explain what you need to know

BLAM DAMN SPAM. That rhymes! So what do we learn?
the right answer for the most bbs-posts: THE FREAKIN' COLLAB RULES!!!

BBS Signature

None

biohasard

Reply To Post Reply & Quote

Posted at: 11/30/08 07:41 PM

biohasard NEUTRAL LEVEL 10

Sign-Up: 04/11/08

Posts: 1,188

At 11/30/08 07:38 PM, OctoFlash wrote: so which kind or tutorials do you need? actionscript or animation? are you sure that you checked all the tutorials? i mean. there ARE some useful ones which explain what you need to know

i need to know how to make a movie clip move/rotate while i press the arrow keys. that would be as.... and i have checked all of the tutorials and nothing is suitable for what i am doing. please help anyone?

Biohasard, Staying neutral since 2009!

BBS Signature

None

OctoFlash

Reply To Post Reply & Quote

Posted at: 11/30/08 07:48 PM

OctoFlash DARK LEVEL 17

Sign-Up: 12/02/06

Posts: 839

code on the MC (= movieclip):

onClipEvent (load){ // when the MC appears on the stage
moveSpeed = 5; // i define the move speed
rotSpeed = 10; // and the rotation speed. you can name the speed variables just like you want.
}
onClipEvent (enterFrame){ // everytime (12fps means that following codes will work 12 times a second)
if (Key.isDown (Key.RIGHT)){ // when you press the right arrowkey
_x += moveSpeed; // this object moves on the x-axis what the move speed variable is
_rotation += rotSpeed; // this object rotates according to the rotation speed
}
}

i hope this helped, i'm sorry, i can't explain it better because i gotta leave now. bye

BLAM DAMN SPAM. That rhymes! So what do we learn?
the right answer for the most bbs-posts: THE FREAKIN' COLLAB RULES!!!

BBS Signature

None

biohasard

Reply To Post Reply & Quote

Posted at: 11/30/08 07:55 PM

biohasard NEUTRAL LEVEL 10

Sign-Up: 04/11/08

Posts: 1,188

that's not working and im having trouble fixing it...

Biohasard, Staying neutral since 2009!

BBS Signature

Mad as Hell

biohasard

Reply To Post Reply & Quote

Posted at: 11/30/08 08:53 PM

biohasard NEUTRAL LEVEL 10

Sign-Up: 04/11/08

Posts: 1,188

anyone else willing to help (bump)

Biohasard, Staying neutral since 2009!

BBS Signature

Questioning

OctoFlash

Reply To Post Reply & Quote

Posted at: 12/1/08 02:18 AM

OctoFlash DARK LEVEL 17

Sign-Up: 12/02/06

Posts: 839

okay, back again. about the code: is HAS to work, it works for me... what are you using? AS3?

BLAM DAMN SPAM. That rhymes! So what do we learn?
the right answer for the most bbs-posts: THE FREAKIN' COLLAB RULES!!!

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 08:21 PM

<< 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!