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 / New Cool Free Car Game

Author
Message
Stig Design Stig Magne
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location: Norway
Posted: 26th Apr 2006 14:07
My Stunt Car V0.2
Created by:StigDesign
read all the readme for licens&information`s

Stig Magne Risnes Berger

Attachments

Login to view attachments
General Sephiro
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location:
Posted: 26th Apr 2006 15:39 Edited at: 26th Apr 2006 15:55
double post, and should this not be in work in progress board?

Suggestions:
a.) collistion wasn't done well... car appeared to get stuck allot inside objects... Trying a bouncing collistion, something that repels the car.

b.) no sound? what's up with that...

c.) no one to run over

d.) you should only be able to turn the car if your going over the speed of 0

Stora tomtefar
20
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 26th Apr 2006 22:02
When I am to install the game it sais "File contains invalid data".

However, a rather OK car-turning-thing you could use would be something like

Quote: "
Do
If upkey()=1 then inc speed#,1
Move object 1,speed#
If upkey()=0 and speed#>0 then dec speed#,0.5

If leftkey()=1 then yrotate object 1,wrapvalue(object angle Y(1)-speed#)
If rightkey()=1 then yrotate object 1,wrapvalue(object angle Y(1)+speed#)


Sync
Loop
"


I belive it could work.

www.godhatessweden.com

Good laughter!
General Sephiro
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location:
Posted: 27th Apr 2006 01:58
Stora tomtefar, I believe that will only work for a short time. If the speed keeps increasing it wont stop the turning curve meaning.. unrealistic.

Have it capped at a certain speed.

Also, if left / right is held on for too long have the car skid - heck flip the car

Stora tomtefar
20
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 27th Apr 2006 20:51
General Sephiro

Well, that shouldn't be to difficult, I belive that "Stig Design Stig Magne" could manage to fix that aswell. After all, he said he was a newbie, and we should belive in that ^^,




(Look! I used the "code"-thing! Wohoo!)
I don't have the energy to write an all to complex car physics. I haven't written one before, so I don't really know how to do it in a good way.

www.godhatessweden.com

Good laughter!
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 28th Apr 2006 13:58
no-no-no-no-norway!!!11oneoneoen

my forum - still in development
Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 4th May 2006 22:11
Good advice for everyone:

"If it says cool on the label, don't open it."



Uncle Sam
Nvidia Geforce 7600 GS 256MB PCIEx, 2.66 GHZ Pentium 4 proccessor, 768MB RAM
Need particles? Click here!

Login to post a reply

Server time is: 2025-05-23 15:05:57
Your offset time is: 2025-05-23 15:05:57