(?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)
Jared Halpern

“As you walk the player around the map, you may notice a slight jittering effect . The jittering is especially pronounced when you stop walking and the virtual camera damping slowly brings the tracking to a halt. This jittering effect is due to overly precise camera coordinates. The camera is tracking the player but it’s moving to subpixel positions, whereas the player is only moving around from pixel to pixel. We made sure of that when we did the calculations for the Orthographic Camera size earlier. To fix this jittering, we want to force the final Cinemachine Virtual Camera position to stay within pixel boundaries. We’re going to script a simple “extension” component that we’ll add to the Cinemachine Virtual Camera. Our extension component will grab the last coordinates of the Cinemachine Virtual Camera and round them to a value that lines up with our PPU.”

Jared Halpern, Developing 2D Games with Unity: Independent Game Programming with C#
Read more quotes from Jared Halpern


Share this quote:
Share on Twitter

Friends Who Liked This Quote

To see what your friends thought of this quote, please sign up!

0 likes
All Members Who Liked This Quote

None yet!


This Quote Is From

Developing 2D Games with Unity: Independent Game Programming with C# Developing 2D Games with Unity: Independent Game Programming with C# by Jared Halpern
36 ratings, average rating, 9 reviews
Open Preview

Browse By Tag