Hello,
I finally got my pixel-perfect collision detection working but It's acting
funky after using FlipX(true) on a sprite. when I check GetPixel to see
what's going on, it's reporting that pixels are there, when, visually
nothing is seen, so the pixels shouldn't be there (the alpha values
of these pixels is 255).
I have uploaded the image to imagebin and a sample test
code to pastebin which shows this.
Code:
http://pastebin.com/m53275387 Image:
http://imagebin.ca/view/5qzsUj5.html I'm rather baffled, so I'm hoping someone can help.
EDIT: in the given example, if compiled, you'll see the flipped sprites (top sprites) colliding permaturely (stopping before reaching the other sprite)
and the unflipped sprites (bottom sprites) colliding as they should.