- Home /
Question by
Kensharma · Mar 06, 2014 at 02:49 AM ·
camera2dscalingorthographic
Set Orthographic Camera To Always Have Y Coordinate Start At Set Position
So, in my 2D game I am using the standard orthographic script (height & width / 100 / 2) to get pixel perfect results.
However, doing so makes parts undernearth my platform in the level visible when using larger resolutions.
How can I make the camera render at a set orthographic size but always have it's y start at a set point then place the scaled size on top of that?
This way the game is pixel perfect on all devices but still shows the bottom of the platform at the bottom of the screen.
Thanks for any help.
Comment