00:00
00:00
Newgrounds Background Image Theme

DarkApostle97 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Reviews for "race car tutorial"

thanks for the shit

fuck face, you wasted my life, now i must go kill my self, your the worst.

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.

Im sorry man But that really stunk

Im Sorry but that really Stunk , even the car dident move properly , if u cant even make a good flash tuturial why bother making a game.

Hrm...

I'll give you a 9 for good music. That's about it...

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