VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

DirectX7 Dropship Carrier (YES collision detection IS possible

Phil Grossman  (4 Submissions)   DirectX   Visual Basic 5.0   Advanced   Wed 3rd February 2021

I've been labouring to achieve collision detection in directX and I'm pretty sure this is the best method so far, try it out! The answer was to draw a plan (or footprint) of the directX world in greyscale on a bitmap & use the picpoint method to create collision detection, sounds dodgy? check the code out.. It's fast (about 30fps for this example) & at least does away with inefficient tables & indicies.
Now you can stop yourself walking through walls, clib stairs & open doors (try the blue door).
Any comments would be greatly received.
BTW this is a pretty pleasant looking (if a bit grey - to save .zip space) little directX world to show a few examples of the method. Quick note, press 'I' to see information, 'ESC' to quit the program.
VERY IMPORTANT!!!!!!!!!
The texture files wouldn't upload to VBC so I've published them on the following web addresses, I know its a pain, but I just couldn't upload (made the zip file too big)
Go to the address, download the image to the 'textures' folder and rename them as below
https://photos.bravenet.com/921/451/014/143B7131BF.jpg
PLAN000001.jpg
https://photos.bravenet.com/921/451/014/69083C6148.jpg
PLAN000002.jpg
https://photos.bravenet.com/921/451/014/121339B6A5.jpg
starfield1.jpg
https://photos.bravenet.com/921/451/014/CEF4E68296.jpg
TEXTGUNB01.jpg
https://photos.bravenet.com/921/451/014/7AEBE60E7B.jpg
TEXTRUST11.jpg
https://photos.bravenet.com/921/451/014/E94BC0BD56.jpg
TEXTRUST01.jpg
https://photos.bravenet.com/921/451/014/E0703FA361.jpg
TEXTRUST02.jpg
https://photos.bravenet.com/921/451/014/00A4C47A44.jpg
TEXTRUST03.jpg
----------------------
I'm
really sorry about that, but I tried over 50 times to upload them and it just wouldn't work, maybe I can update the zip file when the sites in a more robust state.

Rate DirectX7 Dropship Carrier (YES collision detection IS possible (4(4 Vote))

Download DirectX7 Dropship Carrier (YES collision detection IS possible

DirectX7 Dropship Carrier (YES collision detection IS possible Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters