Hello, it’s me again.
I have a question about mobile display size as it’s the first time I’m modeling with mobile games. I intend my game to be landscape… so what should I put in the width and height fields, and how do I know that the width and height I put will work on all devices?
And finally, when I begin testing games, what is the best way to test them on mobile? I would be using my iPhone 7 that I have. What would the process be to test games on mobile?
So sorry for all the questions but any insight would be extremely helpful. Thank you all so much for your assistance!
V
The width and height of the game screen. If it is going to be landscape, then the width should be greater than height.(Opposite of what you’ve done currently)
You will have to check that manually. There is Simulate Device option in the Debug menu, which allows you to play around with various screen sizes.
Read more here
I don’t use Apple devices so often, so I won’t be able to guide you here.
There are different options to handling screen size for different devices. 1136 x 640 is a quite generic screen size and you can continue with it. You can handle different screen sizes with projection. Easy solution is to use Camera for projection: https://www.defold.com/community/projects/76573/
It is better to learn the using Camera. But this is an other option: GUI layouts in Defold