PT
Developer Forums
Register
Login
[Archived] [Archived] Code Snippets
->
[DBPro] Arcade style car 'physics' controlling code
<
1
>
D
Dennuz666 v2
Joined:
21st Jan 2004
Location:
Netherlands
Posted:
10th Mar 2004 20:36
Sorry for the weird subject. But this isn't really any physics at al. It is just a car controlling code for an arcade racer. Very simple but i think it's effective and good enough to be in my game.
P
Philip
Joined:
15th Jun 2003
Location:
United Kingdom
Posted:
13th Mar 2004 9:18
This is good - I like it. I can't help notice that you haven't put it into the codebase. Please can I invite you to do so?
Philip
D
Dennuz666 v2
Joined:
21st Jan 2004
Location:
Netherlands
Posted:
20th Mar 2004 10:21
Hmm... i don't think my code is good enough for the codebase. Most of the time it's cpu hungry and sloppy coded. And i discovered a weird thing in my code when i added my game model to it which i try to fix.
C
Cyberflame
Joined:
4th Sep 2003
Location:
Im not sure....
Posted:
21st Mar 2004 16:45
Thats a nice bit o code. It would work nicely for my tank game...
H
himynameisali
Joined:
9th Nov 2003
Location:
England, You...Rastards!
Posted:
26th Mar 2004 12:39
hmmmmmmmmmm dont work for me
ali - nukesoft
S
sponge008
Joined:
8th Feb 2004
Location:
MA, USA
Posted:
27th Mar 2004 18:33
This is good-add it to the codebase. It works very well on my horrible computer.
U
UnderLord
Joined:
2nd Aug 2003
Location:
Posted:
28th Mar 2004 7:06
It dosnt make a diffrence weather or not your code is good i pulled some movement code off the codebase and cleaned it up nicely theres no reason you should have to do all the work if someone really wants the code to work well for them then let them clean it up the fact is you got them started.
M
mR n
Joined:
25th Jun 2003
Location:
Posted:
8th Apr 2004 6:02
YES! finally! i've been trying to work out realistic controls and skidding for my racing game for a while now! this will definitely do the trick. ill have to tinker with it a little but its a lot simpler than i thought it would be! Thanks! you are my games savior!
...the fact is you got them started.
exactly!
H
himynameisali
Joined:
9th Nov 2003
Location:
England, You...Rastards!
Posted:
8th Apr 2004 13:28
hang on a minute, it does! Very good! If you don't mind I'll add that to my source code collection folder in dark basic classic, its still works in there! YOU ARE COOL!
M
Major Payn
Joined:
16th Dec 2003
Location:
United States of America
Posted:
14th Apr 2004 2:09
Dont work for me in DBC when I try to drive the car it gives me the runtime error "specified angle must be from 0 to 360 degrees" darn this sounded great. Hey Nukesoft howd you get it workin?
Z
zamfir
Joined:
4th Nov 2003
Location:
Posted:
14th Apr 2004 6:16
Your "SKIDDING" text was not displaying properly, this seemed to work, though.
D
DarkSin
Joined:
23rd Jul 2003
Location:
Under your bed
Posted:
14th Apr 2004 8:54
Thats really cool... defenitly have to say it is worth the codebase!
D
Dennuz666 v2
Joined:
21st Jan 2004
Location:
Netherlands
Posted:
14th Apr 2004 9:17
I'm back (again!!! should i change my nick to v3
?) after buying my new computer i had serious memory problems (AMD64 3.2 doesn't want Twinmos memory). I used the code in my current project with added a wheelbase etc.
Little crosspost here but you can download a demo at
http://www.dennuz666.com/index.php?page=darkbasic