Well I suddenly felt like doing some ting nice. So I decided to post this
free car engine.
The controls are:
Arrow keys to move the car
Space to use nitro.
Please post about tings that can be improved.
Well I suddenly felt like doing some ting nice. So I decided to post this
free car engine.
The controls are:
Arrow keys to move the car
Space to use nitro.
Please post about tings that can be improved.
At 10/7/07 04:29 PM, mathiasnat wrote:
Please post about tings that can be improved.
How about when you press down the car goes into reverse.
Flash is happy and it knows it.
Stolen. You just threw in a v-cam
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_rotation += 4;
}
if (Key.isDown(Key.LEFT)) {
_rotation -= 4;
}
}
onClipEvent (load) {
//When the movie clip first loads
Speed = 0;
Speedd = 0;
//Set speed variable to be zero.
}
onClipEvent (enterFrame) {
//At every frame,
Speed *= .9;
/*Decrease the speed.
(Keep making it 90% of what it currently is)*/
if (Key.isDown(Key.UP)) {
//When you press UP,
Speed++;
Speed++;
Speed++;
Speed++;
Speed++;
//Add more speed.
}
if (Key.isDown(Key.RIGHT)) {
//When you press RIGHT,
_rotation += 4;
//Rotate RIGHT
}
if (Key.isDown(Key.LEFT)) {
//When you press LEFT,
_rotation -= 4;
//Rotate LEFT
}
Angle = _rotation*(Math.PI/180);
//Degree of rotation in radians.
_x += Math.sin(Angle)*Speed;
//Explained later.
_y -= Math.cos(Angle)*Speed;
}
I bet a hhalf hour of scouring as:main will find it.
How about when you press down the car goes into reverse.
Yea, I thought about it.
At 10/7/07 04:52 PM, mathiasnat wrote:How about when you press down the car goes into reverse.Yea, I thought about it.
Explain this block.
Angle = _rotation*(Math.PI/180);
_x += Math.sin(Angle)*Speed;
_y -= Math.cos(Angle)*Speed;
}
I bet you dont even know what math.sin math.cos does.
At 10/7/07 04:52 PM, sandypaw wrote: Stolen. You just threw in a v-cam
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_rotation += 4;
}
if (Key.isDown(Key.LEFT)) {
_rotation -= 4;
:...
Well, I didn't say I made this!
I think I fond it at flashkit or something.
Its not on AS: Main. Only car one on there is my one. Which is pretty much stolen from a tutorial, yes - i was a fool back then.
But i have just been working on a script for a car for my game. Much better than yours. To start your car rotates when its static. Even thought it probably isn't yours. Stolen most likely because of the comments.
At 10/7/07 04:54 PM, mathiasnat wrote:At 10/7/07 04:52 PM, sandypaw wrote: Stolen. You just threw in a v-camWell, I didn't say I made this!
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_rotation += 4;
}
if (Key.isDown(Key.LEFT)) {
_rotation -= 4;
...
I think I fond it at flashkit or something.
You just made my hall of fame. You didnt link to the ut. you didnt explain it. you didnt understand it you didnt EVEN remove the comments/change them.
At 10/7/07 04:29 PM, mathiasnat wrote: Well I suddenly felt like doing some ting nice. So I decided to post this
free car engine.
Wow. thanks why not just link us to the tutorial, because all you did was download the .fla
The controls are:
Arrow keys to move the car
Space to use nitro.
OMGF!!!!1aco11!! You figured out the controlzes!!11!!!1 Heresz400$sponzershipp $500 extraz
Please post about tings that can be improved.
One word. Originality.
At 10/7/07 04:59 PM, sandypaw wrote:At 10/7/07 04:54 PM, mathiasnat wrote:You just made my hall of fame. You didnt link to the ut. you didnt explain it. you didnt understand it you didnt EVEN remove the comments/change them.At 10/7/07 04:52 PM, sandypaw wrote: Stolen. You just threw in a v-camWell, I didn't say I made this!
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_rotation += 4;
}
if (Key.isDown(Key.LEFT)) {
_rotation -= 4;
...
I think I fond it at flashkit or something.
Hell, it's not like he's trying to take credit for someones work other then his own. Maybe he's just trying to spread the engine around because he thought it was useful. No use bitching at him when he probably doesn't even know what he did wrong.
At 10/7/07 05:48 PM, Skeik-Sprite wrote:At 10/7/07 04:59 PM, sandypaw wrote:Hell, it's not like he's trying to take credit for someones work other then his own. Maybe he's just trying to spread the engine around because he thought it was useful. No use bitching at him when he probably doesn't even know what he did wrong.At 10/7/07 04:54 PM, mathiasnat wrote:You just made my hall of fame. You didnt link to the ut. you didnt explain it. you didnt understand it you didnt EVEN remove the comments/change them.At 10/7/07 04:52 PM, sandypaw wrote: Stolen. You just threw in a v-camWell, I didn't say I made this!
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_rotation += 4;
}
if (Key.isDown(Key.LEFT)) {
_rotation -= 4;
...
I think I fond it at flashkit or something.
He is trying to claim it for his own. Look at 'his' RPG tutorial. He clearly didn't understand it. I'm pretty damnn sure by the way he's acting he probably took it TOO from flash kit.