Play: Example 2 - Including Rotation and AccelerationTutorials
|
||||||
|
Disconnected
|
|
|
|
|
Play: Example 2 - Including Rotation and Acceleration
|
||||||
Click star to add your rating.
2008-11-30
This is my second example using 45 lines of code. As you can tell the coding is a lot more advanced and includes rotation and friction.
Thanks people and send me money . Ill use it wisely :)
After comments im including the code i put on the car to enable the movement
onClipEvent(load){
var speed = 0;
}
onClipEvent (enterFrame) {
if(Key.isDown(Key.UP)){
speed += 1.5;
}
if (Key.isDown (Key.RIG…
Up, Down, Left, Right