Screen Size , Samsung S8 , Iphone X , Honor 10

Hi , i have phone Honor 10 , and when i played Defold and Corona SDK games on it , the game is not full screen , it looks very bad , and i reed that it s that way also on Samsung S8 , S9 , Iphone X , is there a way to fix this ?

It is up to the developer to select a rendering method that works as expected on target devices. If you want the game to fill the screen on a device that is certainly possible, but requires some design consideration.

  • Do you want the same sized viewport (the camera shows the same amount of a level) on all devices? If so you will have to choose between graphics that stretch on some devices due to different aspect ratio, or letterboxing/black borders.
  • Do you want the play area to fill the full screen with the same pixel aspect ratio then the camera will see different amount of the level on different devices. Maybe that is a concern?
2 Likes

i heard that there is adaptive in Lua , but i am not very sure is it good idea

I am not sure what you mean by “adaptive in Lua”, nor what you mean would be a bad idea.

We do have the following:

  1. Automatic layout selection in GUI. No code needed for most use cases.
  2. Scriptable rendering pipeline. You can render your game with any view/projection you like. Either code this yourself or check out the RenderCam library: https://www.defold.com/community/projects/84064/

If you need more specific help you should probably describe what you want to accomplish.

2 Likes

Well i want to make a mini RTS , like clash royale with multiplayer , and i am very new to the technical part , should i buy some plugin for multiplayer or pay for servers , i don t know

There’s no quickfix for creating a multiplayer game (or almost any game for that matter). You need to learn the basics first, otherwise it’s going to be impossible to create a game. Check some of our tutorials, examples and manuals in the Learn section.

What do you mean exactly? Have you checked the Immersive Mode checkbox in game.project under the Android section?

1 Like