First off, with my background in XNA i just cannot get used to the inverted Y axis. So in LibGDX i flipped the OrthographicCamera
with cam.setToOrtho(true,width, height)
but this obviously ends up in drawing all my textures upside down.
I can create Sprites
and TextureRegions
from all my textures to flip each and every one of them but that takes a lot of extra code. So is there a efficient way to have all my textures flipped around there center?
I tried adding a flipped matrix to the spritebatch
transformMatrix
but that cancels out the flipped ortho cam. I also tried to create a Sprite
for drawing all my textures and flips them but without success.