VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

MJD Simple Collision Detection

MDavis  (1 Submission)   Graphics   Visual Basic 3.0   Beginner   Wed 3rd February 2021

Very Simple Collision Detection.
The intent here is for simple collision detection between two shapes only. Speed and precision were not needed, nor considered.
Mostly Written by MDavis, with credit given to Rosh Mendis (very cool soccer game post on VBC!) for the actual collision function.
I'm fairly new to VB and I needed a collision detection for a small game I am writing.
My web searches led me to complicated (to me, anyway:)) posts that had a lot more than just collision, which confused me.
So, I wrote this to learn more for myself, and now that I understand it better, I thought I'd post it to possibly help someone else.

Inputs
N/A

Assumes
N/A

Returns
N/A

Side Effects
Laughing at the simplicity, perhaps?

API Declarations
N/A

Rate MJD Simple Collision Detection (2(2 Vote))

Download MJD Simple Collision Detection

MJD Simple Collision Detection Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters