I am making a game based on sprites. I have set them double sided (entityFx sprite,16) so that I can flip them for symmetry (instead of using 2 different textures). For example I draw a sprite for a movement to the left and I flip the sprite (with rotateEntity x,0,180,0) for the movement to the right. The problem I noticed is that when the sprite is reversed , only half of it is drawn. I noticed that if I rotate it at 180° or more it display the right half and if I rotate it less than 180° it displays the left part. Anybody knows why that happens? Any idea how to solve it?
|