We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello there, I am in the works of programming a simple game and am a little stumped with some steps. Some Details: I am programming a game where two objects cannot touch each other. Whenever they touch, you lose a point. I know that the if() reference can be used, I just can't get it to work correctly. Can somehow help me with a code? Thank you!
Answers
Look at the dist command in the reference
dist()
works well if both objects are round.If they aren't, use collision detection.