posted by Sylpher @ 10:15pm, Wednesday 11 March 2009.
My proto-engine has been going well.
That is the sentence I would say had I made a post yesterday. Today is another story. Not to suggest that things are going bad in code land, on the contrary I have made good progress. But I ran into one of those bugs that you should probably walk away, take a break, relax a while, but I CANNOT! I know it is some small detail I am overlooking in my math, as is often the case, but my brain will not work through it.
For some reason my collision detection has this halo of 1 pixel around it that when the hitbox collides with something they get fused together like dogs in heat. My collision detection is nothing fancy, it isn't even per-pixel detection so all I have to do is check for overlap in rectangles.
The purpose of this post is to do something else so that hopefully the answer will come rushing in all at once in a sweet and blissful realization.
Any minute now...