Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Awesome game for having to change gears in the middle of the jam!  I did my submission in Unity too and getting the pixels to all behave while the camera is moving took up the entire first two days of the jam for me.  I noticed some of the same jittering in this when the camera was moving along the path.

I was able to finally smooth things out by updating the camera in LateUpdate to an "appropriate position" (the player position for my submission), and by calculating the "appropriate position" by multiplying the x and y by the pixels per Unity unit, rounding that to the nearest int, then dividing by the pixels per Unity unit.

Otherwise, it was very seemless!  Great work!

Thanks for playing!

The pixel perfect camera component make it look good enough for me. I also update the camera in LateUpdate, but didn't make it to snap to pixel positions and also tried adding some parallax layers but looked horrible.

Yea I came across the Pixel Perfect Camera Component like 50 times when trying to figure it out, but found it didn't completely resolve the issue.  Even with that, when game objects AND the camera are moving, there's some timing issue that causes one to update and render just before the other making things appear to jitter back and forth as they move.

With your game I barely noticed, and only did so during the moving between sections.  In mine, it was nauseating so I had to get it fixed.