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 / Driving in Manhattan - beta version

Author
Message
Jeffrey Morris
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location:
Posted: 19th Sep 2004 06:34
This is a "driving simulator" that lets you drive a car in Manhattan (New York, NY). The area is from 14th Street to 125th Street and from York Avenue to 11th Avenue. Any suggestions for improving this code?
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 19th Sep 2004 07:05
hmm im sorry.. but. there's no collision.. no car physics an when you drive, the car his speed is calculated by the car his y angle or something :S well.. lots of work to do mate!

Do you need a complete FPS engine ?? well here it is:
http://forum.thegamecreators.com/?m=forum_view&t=38869&b=6&p=0
Jeffrey Morris
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location:
Posted: 19th Sep 2004 10:55
I'm not sure about adding car physics to my program. I looked at a few code snippets for car physics but I'm confused.
freak_oz
21
Years of Service
User Offline
Joined: 20th Jul 2004
Location: castricum
Posted: 19th Sep 2004 18:51
add traffic...
make different buildings...
uuuh choose car...
freak_oz
btw. its laggy when you drive on the long road...

uhum....
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 19th Sep 2004 21:07
hmm no car physics.. no car simulator i guess..

Do you need a complete FPS engine ?? well here it is:
http://forum.thegamecreators.com/?m=forum_view&t=38869&b=6&p=0
Jeffrey Morris
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location:
Posted: 20th Sep 2004 06:35
I don't know why it's laggy when driving on the road. The program creates 2591 boxes for the streets, sidewalks, buildings, and ocean. I'm not sure if "Set Global Collision On" command will work.
Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 20th Sep 2004 20:38
There's a little more to do than that.
And you'll probably want sliding collision.

Try instancing all the objects.

Jeffrey Morris
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location:
Posted: 20th Sep 2004 22:03
What is sliding collision? What's the best 3DS to X converter? I found out that DBC has it but not DBP. All I have is DBP.
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 21st Sep 2004 03:15
check the collision examples from dbpro help

Do you need a complete FPS engine ?? well here it is:
http://forum.thegamecreators.com/?m=forum_view&t=38869&b=6&p=0
Jeffrey Morris
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location:
Posted: 21st Sep 2004 07:20
In the basic3d6-example code, which object number is the sliding collision box?
Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 21st Sep 2004 12:28
What?

Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 22nd Sep 2004 04:52
first try 2d mate..

Do you need a complete FPS engine ?? well here it is:
http://forum.thegamecreators.com/?m=forum_view&t=38869&b=6&p=0
Bob 3456
21
Years of Service
User Offline
Joined: 1st Jun 2004
Location: In my computer chair
Posted: 24th Oct 2004 04:39
you look one way and you car goes fast, the other way and it goes slow from all the polygons of the houses
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 26th Oct 2004 04:40
Pretty pathetic I'm afraid.

Realms Of Tutopia: Rise Of Evil
http://www.freewebs.com/elbsoftware/index.htm
Vues3d on Kalimee
21
Years of Service
User Offline
Joined: 12th May 2004
Location: NYON (SWITZERLAND)
Posted: 2nd Nov 2004 21:30
How can you say that's pretty pathetic??
He's trying to create a program & you haven't the right to judge whatever.
Seems to me a good beginning... & a nice work in the contruction of the world.
Maybe needs some modifications/improvments, but it's still nicely done.

Collisions would be not a real problem.
Here is a code that controls the collision. (I didn't spent much on this, but should help to understand...)



Hope this will help

Guido
http://www.vues3d.com
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 3rd Nov 2004 04:07
Quote: "Pretty pathetic I'm afraid."


Not called for, especially when, and I quote...
Quote: "So far our projects are still in Project stage."


It's a good starting point. Before you know it, you'll have something much bigger, and you'll learn plenty from it.

My first DB app was 6 cars driving down a straight road. Now I have full landscapes with hills and obstacles, bends in the road, full collision and much more.

From small acorns...

BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 3rd Nov 2004 22:51
I didn't mean to be rude I just didn't think there was much point in putting a very basic and incomplete code snippet here.

Realms Of Tutopia: Rise Of Evil
http://www.freewebs.com/elbsoftware/index.htm
Indian Homie G
21
Years of Service
User Offline
Joined: 23rd Jan 2004
Location: San Jose, CA
Posted: 4th Nov 2004 12:19
True, this belongs in the DBP section most likely.

But anyways, it looks good, keep at it

AMD Athlon XP 3000+, S3 Deltachrome s8, 512 PC3200 RAM, 160 GB HD

Login to post a reply

Server time is: 2025-08-09 01:36:30
Your offset time is: 2025-08-09 01:36:30