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.

Code Snippets / [DBPro] Arcade style car 'physics' controlling code

Author
Message
Dennuz666 v2
20
Years of Service
User Offline
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.

Philip
20
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 13th Mar 2004 09: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

What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home
Dennuz666 v2
20
Years of Service
User Offline
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.

Cyberflame
20
Years of Service
User Offline
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...

DANGIT NEO, YOU CHANGED THE CODE AND NOW THE MATRIX WONT TEXTURE RIGHT.
himynameisali
20
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 26th Mar 2004 12:39
hmmmmmmmmmm dont work for me

ali - nukesoft



( KA-BOOM! ) Nukesoft Interactive
sponge008
20
Years of Service
User Offline
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.
UnderLord
20
Years of Service
User Offline
Joined: 2nd Aug 2003
Location:
Posted: 28th Mar 2004 07: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.

The search continues.

Current project - A space game
mR n
20
Years of Service
User Offline
Joined: 25th Jun 2003
Location:
Posted: 8th Apr 2004 06: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!

Quote: " ...the fact is you got them started. "


exactly!
himynameisali
20
Years of Service
User Offline
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!


( KA-BOOM! ) Nukesoft Interactive
Major Payn
20
Years of Service
User Offline
Joined: 16th Dec 2003
Location: United States of America
Posted: 14th Apr 2004 02: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?

P4 3.2Ghz/Alienware area 51/radeon 9800 pro 256mb/sound blaster audigy 2/5.1 surround sound speakers.
zamfir
20
Years of Service
User Offline
Joined: 4th Nov 2003
Location:
Posted: 14th Apr 2004 06:16
Your "SKIDDING" text was not displaying properly, this seemed to work, though.

zamfir
master_aesthete@earthlink.net
DarkSin
20
Years of Service
User Offline
Joined: 23rd Jul 2003
Location: Under your bed
Posted: 14th Apr 2004 08:54
Thats really cool... defenitly have to say it is worth the codebase!


Dennuz666 v2
20
Years of Service
User Offline
Joined: 21st Jan 2004
Location: Netherlands
Posted: 14th Apr 2004 09:17 Edited at: 14th Apr 2004 10:45
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

Login to post a reply

Server time is: 2024-05-13 15:53:34
Your offset time is: 2024-05-13 15:53:34