TeamSweepy / Greywater

Repo for Greywater Isometric RPG
2 stars 0 forks source link

Camera motion bug #8

Closed Jeremy-Barnes closed 10 years ago

Jeremy-Barnes commented 10 years ago

Previously, calling orthographiccamera.translate() was enough to move stuff (without tracking offsets), but that doesn't seem to work now using the Camera class. I may be overlooking something simple, but camera movement seems broken.

Jeremy-Barnes commented 10 years ago

Okay, so here's the finding for anyone that cares: LibGDX is bad at matrix math, and the spriteBatch.setProjectionMatrix operation causes lines to appear between the tiles that otherwise line up perfectly. So we're dropping the use of their matrices. These changes are reflected in the upcoming commit.