WOuld it be effective to use the distance formula to test for collision detection between two moving images (characters)? or is there some other more efficient method. I figured this wouldnt be too hard to implement

However, if your characters are circles, then yes. You can use the distance formula and check if the distance returned is less than the radius of both circles added together. Then there is a collision.

However, if your characters are circles, then yes. You can use the distance formula and check if the distance returned is less than the radius of both circles added together. Then there is a collision.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org