I’ve just started using Defold engine. I have some experience in programming.
I want to make a game for the Poki platform. The game will be played in portrait mode.
For the desktop version, from what I see, there is no portrait mode, I understand that this is how the Canvas works in HTML5. Basically, it is a landscape mode with a 16:9 aspect ratio, in which the playable part is in the center and the rest of the space, left and right, is filled with some graphic elements.
And for the mobile version, only the playable part should be visible. And from what I understand, a 9:16 aspect ratio would be good, so that there is space for ads at the bottom of the screen.
I hope I understood how a browser game should behave for the Poki platform. You can add more information about these aspects if you consider.
Before I start the implementation part of level design and graphic elements I want to make the necessary settings for these viewing mode requirements, so I can adapt the gameplay and graphics accordingly.
I’m thinking of creating a camera that adapts from the desktop (landscape mode) to mobile (portrait mode), changing the resolution. Here I would like to receive help from you.
So:
-
How should I approach this kind of project so that it works in portrait mode on both desktop and mobile, what settings should be made?
-
What needs to be done to play only in portrait mode on the mobile version? (landscape should not be a choice even is enabled in phone settings)
-
What portrait screen resolution do you recommend for the project, so that the graphics look good on mobile as well, especially since mobile phones have high resolutions, but the desktop version is a maximum of 1031x580?
Thank you!