huh?
Where are the wheels located on this car?
huh?
Where are the wheels located on this car?
bha
I could not see everything.
Onley half of the text that were in the uper midle screen.
Make a new one, that is bether and smaler.
khj
That was terrible, what a shitty action script. It's nowhere close to contolling like an actual car;you can't even move the car foward or backwards.
Well done dude
You successfully learnt how to make a car that moves around (even though it moves round very shit) then decided you wanted to display this car moving around by putting it in a movie without actually doing ANY work on it so you just made a crappy little tutorial that wasn't even your own anyway and put it on NG. I praise your great work.
Maybe i can help--use this action script instead
USE THIS INSTEAD
onClipEvent (enterFrame) {
speed = 0;
if (Key.isDown(Key.UP)) {
speed = 25;
}
if (Key.isDown(Key.DOWN)) {
speed -= 5;
}
if (Math.abs(speed)>75) {
speed *= .7;
}
if (Key.isDown(Key.LEFT)) {
_rotation -= 15;
}
if (Key.isDown(Key.RIGHT)) {
_rotation += 15;
}
speed *= .60;
x = Math.sin(_rotation*(Math.PI/180))*speed;
y = Math.cos(_rotation*(Math.PI/180))*speed*-1;
if (!_root.land.hitTest(_x+x, _y+y, true)) {
_x += x;
_y += y;
} else {
speed *= -.8;
}
if (_x>550) {
_x = 0;
}
if (_x<0) {
_x = 550;
}
if (_y>400) {
_y = 0;
}
if (_y<0) {
_y = 400;
}
}
No thanks needed :D