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 / FPS collision

Author
Message
Guitarman
21
Years of Service
User Offline
Joined: 31st Jan 2004
Location:
Posted: 1st Feb 2004 05:02
I have been programming for about a year now and have made several FPS style games. the only problem with these games is that the collision in DB Classic is extremely slow; it will often take me several shots before the computer reconizes that it is hit. If anyone knows how to do mre accurate collision that the one here, let me know!
P.S. It does req. media, but it all comes with DB classic
nuclear glory
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location:
Posted: 1st Feb 2004 05:40
There is our collision DLL (link below)

Although, it doesn't handle matrix objects. A 3D mesh terrain it will handle nicely though.

Lead Programmer/Director
Powerful Collision DLL for DBPro and DBC: http://www.nuclearglory.com
Travis
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: West Aust.
Posted: 1st Feb 2004 09:55
its not hard to do it urself
just do things like if bullet x position < object x position + 3 and > object x position - 3 then its a hit
(see code box)


p.s. how much in the ng dll in australian $'s ?
nuclear glory
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location:
Posted: 1st Feb 2004 10:18
According to the online currency converter it's roughly: 19.6233 AUD

Lead Programmer/Director
Powerful Collision DLL for DBPro and DBC: http://www.nuclearglory.com
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 1st Feb 2004 11:58
its only slow if used incorrectly.


Login to post a reply

Server time is: 2025-05-22 12:01:42
Your offset time is: 2025-05-22 12:01:42