Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / I'm tied in a engine revving code

Author
Message
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 19th Dec 2006 20:44 Edited at: 19th Dec 2006 20:46
I'm trying to duplicate the sound a car engine makes when gearing.
but I'm stuck at this point, here is the code

the problem occurs when you tap the up key. I know why that is caused, but I don't know how to fix it.
General advice is also appreciated
thank you

Don't look at my sig!

Attachments

Login to view attachments
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 20th Dec 2006 14:19
you should look at some of TMC's codes, he was very talented at car physics.

i'll see if i can find one of his old codes.

Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 20th Dec 2006 16:36
i have attached his "Arcade Car Physics" simulation code to this post, i hope it helps.

Attachments

Login to view attachments
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 20th Dec 2006 22:16
I wil take a looksy. Does his guy have a site?
thank you

Don't look at my sig!
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 21st Dec 2006 08:36
no, his site isn't online anymore.
i think he moved on to blitzbasic or sometihng, leaving his db codes to die. (luckily i downloaded most of his free codes from his website when i was a noob)

Login to post a reply

Server time is: 2025-05-26 05:04:30
Your offset time is: 2025-05-26 05:04:30