|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have made a script where my movie clip (named character) can move around the screen, through the keyboard.
How can i make the MC Character slow down when it is moved onto a different movie clip (named grass) or make more friction. Please help, i can send the coding if need be! Thanks Mike ![]() |
|
#2
|
|||
|
|||
|
hitest..
[code] onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { _root.man._x += 2; if (_root.girl.hitTest(_root.man)) { _root.man._x += 50; } } } [code]
__________________
please see my site http://www.f-web.net also tutorials coming soon.. I am for hire .timo@f-web.net |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > After making a movieclip move around via keyboard... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|