In my pacman clone, i’m trying to incorporate directions and animation now. In my player class, i’m using this to draw the pacman rotated 90 degrees, but when I play it, it’s rotated the direction as well…The map looks the same, but I move as if the map was rotated 90 degrees as well.
batch.draw(playerTexture, (float)playerX, (float)playerY, (float)playerX + (width/2), (float)playerY + (height/2), (float)width, (float)height, (float)1, (float)1, (float)90, 0, 0, width, height, false, false);