- Home /
Same visible area with every resolution
Hey,
I am making a game whre you look at the map directly from above (orthogonal). It's not a map where you can scroll around, it's only one map that fixes in the screen, and here is the problem.
The map is for example 100x75 units big, what means 4:3 and fixes in the screen. If I start the game in another resolution that is for example 16:9 you can see "the nothing" on the left and right.
Is there a solution for this? Maybe like stretching everything or just change the width of the camerafield?
I also tried the code from > here < and put it on the camera but it didn't work / solve the problem.
Answer by carlos.castaneda · Jan 21, 2013 at 04:40 AM
check this link: is THE SOLUTION for that issue! http://gamedesigntheory.blogspot.com/2010/09/controlling-aspect-ratio-in-unity.html
Answer by Zoraph · Aug 16, 2012 at 07:48 PM
I have a similar problem and I also lose part of the visual field when the resolution is lower...
Your answer
Follow this Question
Related Questions
Unity 2D: Pixel Perfect Camera + Resolution Help 0 Answers
Clamp Camera with Transform objects along the x axis 0 Answers
Handle with camera 1 Answer
Can I simulate an object from 30000 meters away? 1 Answer
2D Aspect Ratio Of Camera 2 Answers