I was trying to fix the HuckDunt click detection problem and I guess I need some help narrowing down what the problem could be.
I'm using 64x64 tiles and there's some kind of dead space in the NPC thats moving around. As it's moving around, I can consistently click the dead space as seen by the x's.
___________
| |
| |
|xx xx|
| |
|_________|
I swapped out the image for another and had the same problem.
My code is pretty simple. In client,
Click()
// play shoot noise
..();
In the NPC that's moving around,
Click()
// Kill()
..();
The NPC uses a .5 tick based move system where it picks a random location and walk-to's it. Once it reaches the location, it will pick a new location and repeat until dead.
Am I running into some type of 32x32 edge problem? Any ideas?