KreNtal Posted November 30, 2022 Share Posted November 30, 2022 So I'm trying to provide a portrait and landscape design for my game. Currently I'm able to resizing the canvas keeping 16:9 aspect ratio for landscape and 9:16 for portrait, everything works fine in landscape because I firstly designed it this way. But when i rotate to portrait everything's off screen. To fix this I think I should provide a resize method for every component and call them all together on resize event. Does anybody know if there is a better way to achieve this? I really found few topics talking about this so I think it could be interesting for everyone. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.