Screen resolution adaptability (unity)
Hi wonderful people,
I have just built a little gameplay of an horror game and sent it to some friends to have feedbacks. The major problem i found is that the game screen doesn’t adapt to the computer screen if the resolution is different from the one i used to develop in unity (1920x1080). Any suggest how to solve this problem ?
Ps: have the same issue with mouse sensitivity Thanks
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- hlc09n
2 comments
You want to use a Canvas Scaler. https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/script-CanvasScaler.html
You likely have one with "Constant Physical Size" selected. Make sure your stuff is anchored right, if not, it may look funny when switching to "Scale with Screen size". Depending on the targeted platform "Constant Pixel Size" might work for you as well, as you can set the DPI.
Here is some more in depth reading https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/script-CanvasScaler.html#constant-pixel-size
Cheers mate i will have a try and let you know