Problems with 2D Image Rotation (Interpolation?) [SOLVED]
Posted: Sat Jun 25, 2011 5:54 am
I'm making a simple 2d game that has a grid based building system. I have several "parts" (square, triangle, etc...) And for everything to look pretty the pixels have to line up correctly. For some reason the system I am using to rotate sprites is causing some of the sprites to rotate off of their center, so the pixel no longer line up (so if a square is at rotation 0, rotating it to 90 shouldn't cause a shift in the square's center). I'm using this system by Lonesome Ducky. I've also provided a link to my drawing source in case there is any questions on the drawing system, I've been working on it for a while and I can't seem to fix it, at first I thought my centers were off but I've triple checked everything and it is right.
Drawing Source
Header
CPP
Thanks!
G0bl1n
Drawing Source
Header
CPP
Thanks!
G0bl1n