Android to IOS config.lua

Hello,

I have the following setting for my current android game in play store. does the same setting works for IOS too? 

PS: If i am required to change anything here, i would need to change in android too coz my game is multiplayer game and the screen cordinates needs to be the same in all devices.

application = { content = { fps = 60, width = 768, height = 1024, scale = "zoomStretch", xAlign = "center", yAlign = "center", }, }

Hi @coolromin,

All of these basics that you list are platform-independent, so you should be fine for both iOS and Android. Of course, depending on what you need, there may be several platform-specific things outside of the “content” table, so you’ll have to consider that on a situational basis.

I assume you’re well aware of the effects of the “zoomStretch” scale mode? This is not a mode that I recommend… be careful and be very aware of what it will do on devices with different aspect ratios.

Brent

Hi @coolromin,

All of these basics that you list are platform-independent, so you should be fine for both iOS and Android. Of course, depending on what you need, there may be several platform-specific things outside of the “content” table, so you’ll have to consider that on a situational basis.

I assume you’re well aware of the effects of the “zoomStretch” scale mode? This is not a mode that I recommend… be careful and be very aware of what it will do on devices with different aspect ratios.

Brent