Reputation: 173
In the render()
method I've set my camera to camera.combined
, but now I've noticed that everything is reversed. My sprites are reversed. How can I flip the camera or something?
public void render() {
batch.setProjectionMatrix(cam.combined);
}
Upvotes: 2
Views: 387
Reputation: 1083
The problem is with your yDown
cam.setToOrtho(yDown, viewportWidth, viewportHeight)
set yDown = true
Upvotes: 2