Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Thanks for that Tiz, just bought the pack - Amazing work!

Just a question about cameras as I'm having some rendering glitches. My controller has gamma rendering set to false. If I use your method of lerping to the x&y coordinates of the player. The render is fine however then my character is jittery.



If I use my method of:

    xTo = player.x;

    yTo = player.y;

   cam_x += (xTo - cam_x);

    cam_y += (yTo - cam_y)

My player is smooth but then the shadow layers are misaligned by a px as shown below:



Did you face any of these problems with your games? I have tried super sampling to try reduce the jitter but that didn't help either.


Thanks in advance!