
-----------------------------------
jrblast
Wed Jan 18, 2006 11:14 pm

[Tutorial] Troubleshooting collision detection
-----------------------------------
Okay, well troubleshooting is very important, and though I have noticed alot of people (mostly at school) couldn't detect colision if their lif depended on it.... But it is much easier to use these methods than it is to try to get someone else to fix it for you, because this way is:

A) Faster

And 

B) More educational (Since you notice the problem on your own, always better to do that than get someone else to)

Anyways, there are multiple ways to troubleshoot, I'll post em in whichever order I think of em.

The first way is, if you are doing collision detection, and your if statement is faulty, but you dont know in what way, just use the drawbox thing

Copy the parts of the if statement that have the boundry information into a drawbox procedure, I.E.

if x >= wallX and x = wallY and y 