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.

Newcomers DBPro Corner / Simple Collision and Jumping

Author
Message
The Amazing O
20
Years of Service
User Offline
Joined: 21st Aug 2004
Location: South Lopham, Diss
Posted: 9th Nov 2004 01:56
Hi, I know all of these have been answered billions of times before but I just wanted a clear answer that I could easily follow.
Anyhoo, could someone please tell me a simple FPS collsion code, just so i dont walk through walls and buildings etc.
Also if there is a simple jumping piece of code that would help aswell.
Cheers, and sorry for asking answered questions.

Oli

Now have, P4 2.8Ghz, 80gb hardrive, 512ram, Gforce 5200 128mb! Whoooooooooo
Hop a long
20
Years of Service
User Offline
Joined: 12th May 2004
Location: The Code Dump
Posted: 9th Nov 2004 05:52 Edited at: 9th Nov 2004 05:57
Do you code in DBC or DBPro? Post a snippet so we can see what you have so far.

This is in DBC, it might have some of the info you are looking for:
http://www.geocities.com/hifin2003/skinny_walk.html
The Amazing O
20
Years of Service
User Offline
Joined: 21st Aug 2004
Location: South Lopham, Diss
Posted: 9th Nov 2004 22:46
I am using DB Classic, I dont really have any code as such, just a matrix and some loaded objects.

Oli

Now have, P4 2.8Ghz, 80gb hardrive, 512ram, Gforce 5200 128mb! Whoooooooooo, Soon to upgrade to 1024 MB RAM and X800 XT ATI 256MB card!!!! (yay!)
Hop a long
20
Years of Service
User Offline
Joined: 12th May 2004
Location: The Code Dump
Posted: 10th Nov 2004 06:52
OK that's a beginning. Post it in a snippet. Do you have your movement code so you can walk around on the matrix?
The Amazing O
20
Years of Service
User Offline
Joined: 21st Aug 2004
Location: South Lopham, Diss
Posted: 11th Nov 2004 00:21
I cant really put the code on here as it is on my computer upstairs (not connected to the net) and it would take a while to copy it all out. I do have a movement + mouselook controls,I copied and pasted them out of the tutorials with dark BASIC.

Oli

Now have, P4 2.8Ghz, 80gb hardrive, 512ram, Gforce 5200 128mb! Whoooooooooo, Soon to upgrade to 1024 MB RAM and X800 XT ATI 256MB card!!!! (yay!)
Hop a long
20
Years of Service
User Offline
Joined: 12th May 2004
Location: The Code Dump
Posted: 11th Nov 2004 08:34 Edited at: 11th Nov 2004 08:39
Sorry I can't tell what you need nor where you are going in detail with out seeing your code. But you should check out the Dark Basic Monster Hunt tutorial. It's a first person shooter with some collision well worth looking into.
http://developer.thegamecreators.com/?f=db_tutorials

Login to post a reply

Server time is: 2024-11-11 21:37:27
Your offset time is: 2024-11-11 21:37:27