Mobile display size? (And other mobile game questions)

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?

Screenshot%20(49)

Also, what kind of information goes in the display profiled field? Does it have anything to do with the resolution and screen size?

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

2 Likes

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.

2 Likes

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: https://www.defold.com/manuals/gui-layouts/#_creating_display_profiles



3 Likes

Thank you very much for your guidance. You have helped clear many things up, thanks!

1 Like

Thanks a ton for the guidance! Have a good one!

1 Like