More UI Scaling


When going about scaling my UI over the past few weeks, I noticed there was a problem that I didn't think about when initially making UI. However, the more work that I've done in UI, I've paid more attention to it. That problem is UI scaling well with whatever screen resolutions that we may add to our game, or predetermined screen resolutions we want to support. Since I didn't think about it in the beginning, I was having to do the painful task of going back and readjusting all of my UI. I found that having a default resolution (the most common) and scaling it from there was the best approach. So the canvas would scale really well with 1920x1080, then expand and shrink based on the other selected resolutions. I found though, if I had just planned with scaling in mind in the first place, I would have prevented myself from having to go back and deal with the pain of scaling each UI element as each UI element would already be made to scale.

Leave a comment

Log in with itch.io to leave a comment.