“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.”
―
Developing 2D Games with Unity: Independent Game Programming with C#
Share this quote:
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#
by
Jared Halpern36 ratings, average rating, 9 reviews
Open Preview
Browse By Tag
- love (101743)
- life (79726)
- inspirational (76169)
- humor (44489)
- philosophy (31133)
- inspirational-quotes (29013)
- god (26972)
- truth (24813)
- wisdom (24753)
- romance (24447)
- poetry (23412)
- life-lessons (22733)
- quotes (21210)
- death (20612)
- happiness (19109)
- travel (18664)
- hope (18637)
- faith (18505)
- inspiration (17442)
- spirituality (15791)
- relationships (15721)
- life-quotes (15651)
- religion (15430)
- motivational (15425)
- love-quotes (15424)
- writing (14977)
- success (14221)
- motivation (13316)
- time (12904)
- motivational-quotes (12653)
