2
« on: March 26, 2009, 07:09:00 pm »
Hey guys
basically I am attempting to rotate a sprite in a tile... i simply want the sprite to stay in its current position and rotate... BUT the sprite moves up a tile and rotates... when i press down to put the sprite back into its previous position it changes the objects y axis position by 1...
how can i rotate the sprite so that it stays at say coordniate 2,2 but rotates 90 degrees... when i rotate the sprite it appears to change to 2,1 but the object hasnt moved and still stays at 2,2 .
I know its something to do with setting the center of the sprite but i have tried a lot of different things and just cant it to work!
its a game like battleships in case your wondering
please some one help :p