iPhone X display problems

0 favourites
  • I'm having trouble getting a project to display correctly on iPhone X. I have Fullscreen mode set to "Scale outer" and Viewport fit set to "Cover" and the game is a 16:9 aspect ratio. When I export to Xcode and load the project on my phone it looks like this.

    I get the 2 black bars

    So I added an iPhone X LaunchImage(Portrait 2436 x 1125) into xCode

    Now there is one black bar on just the right side

    Not sure what I'm doing wrong here, any help would be appreciated, thanks.

  • I added some boxes that are set at the viewport edges on all sides to try and see what is happening.

    Without a launch image added

    With 2436x1125 LaunchImage

    Not sure what is causing the whole viewport to get shifted to the left, it's just a blank layout without events. I'm thinking this is a C3 issue because the LaunchImage I set takes up the whole iPhoneX viewport but when the game loads the viewport is shifted off the left of the screen.

    Anyone that has got there project to display correctly on iPhone X I would appreciated any input, thanks.

  • Bump. No one has tried exporting and running a C3 game on iPhone X yet?

  • Bump. No one has tried exporting and running a C3 game on iPhone X yet?

    I'm also testing my game on the iPhone X simulator right now. I'm using Portrait only with 720x1280 and scale outer and also cover mode. The only thing I did different is that i'm not using a LaunchImage but rather I'm using the Storyboard. Here is how you can use it: https://oleb.net/blog/2014/08/replacing ... oryboards/

    But other than your game it worked pretty good.

  • > Bump. No one has tried exporting and running a C3 game on iPhone X yet?

    >

    I'm also testing my game on the iPhone X simulator right now. I'm using Portrait only with 720x1280 and scale outer and also cover mode. The only thing I did different is that i'm not using a LaunchImage but rather I'm using the Storyboard. Here is how you can use it: https://oleb.net/blog/2014/08/replacing ... oryboards/

    But other than your game it worked pretty good.

    Is your game filling the entire iPhone X screen? I get the same result with launchimages and storyboards, I have tried changing the constraints on the storyboard and using the safe area and still get the same result as well.

  • >

    > > Bump. No one has tried exporting and running a C3 game on iPhone X yet?

    > >

    >

    > I'm also testing my game on the iPhone X simulator right now. I'm using Portrait only with 720x1280 and scale outer and also cover mode. The only thing I did different is that i'm not using a LaunchImage but rather I'm using the Storyboard. Here is how you can use it: https://oleb.net/blog/2014/08/replacing ... oryboards/

    >

    > But other than your game it worked pretty good.

    >

    Is your game filling the entire iPhone X screen? I get the same result with launchimages and storyboards, I have tried changing the constraints on the storyboard and using the safe area and still get the same result as well.

    Yeah the whole screen was filled for me. Can you upload a c3 file so I can have look at it to compare it with my files?

  • [quote:2a04flyy]Yeah the whole screen was filled for me. Can you upload a c3 file so I can have look at it to compare it with my files?

    It's doing this with a blank project, with no events. Just set a bg color, and set project properties to 1280x720, scale outer, viewport=cover.

    Are you using the default CDVLaunchScreen.storyboard and are you changing any of the settings on the view constraints?

  • [quote:ud6igtpy]Yeah the whole screen was filled for me. Can you upload a c3 file so I can have look at it to compare it with my files?

    It's doing this with a blank project, with no events. Just set a bg color, and set project properties to 1280x720, scale outer, viewport=cover.

    Are you using the default CDVLaunchScreen.storyboard and are you changing any of the settings on the view constraints?

    Strange. Maybe a bug with one of the newer C3 updates. I had no problem with it when I first tested my game (Which was end of december) I don't know but I can test it in the next days because I plan on finishing my beta this week so I would do a build on the weekend.

    This is what I've been using: 720x1280, Margins 0x0, Unbounded Scrolling, Scale outer, Viewport fit: cover

    I also haven't changed any of the settings on xCode.

  • [quote:2hvn8s1c]Strange. Maybe a bug with one of the newer C3 updates. I had no problem with it when I first tested my game (Which was end of december) I don't know but I can test it in the next days because I plan on finishing my beta this week so I would do a build on the weekend.

    This is what I've been using: 720x1280, Margins 0x0, Unbounded Scrolling, Scale outer, Viewport fit: cover

    I also haven't changed any of the settings on xCode.

    The issue is with the C3 build server not using the latest version of Cordova-ios.

    https://github.com/Scirra/Construct-3-bugs/issues/1279

  • Wow amazing ..... I mean how should I add iPhone X support now? My last app was built using cocoon.io but they haven't even added iOS11 sdk so no iPhoneX support yet.

    Now I can't even use scirra's build service because it also do not work on iPhone X? Come on guys that's a joke.

  • Wow amazing ..... I mean how should I add iPhone X support now? My last app was built using cocoon.io but they haven't even added iOS11 sdk so no iPhoneX support yet.

    Now I can't even use scirra's build service because it also do not work on iPhone X? Come on guys that's a joke.

    You can always build the Cordova app yourself

    https://www.construct.net/tutorials/bui ... ova-cli-21

    I assume the build service should be updated to the newest cordova-ios pretty quickly as well.

  • > Wow amazing ..... I mean how should I add iPhone X support now? My last app was built using cocoon.io but they haven't even added iOS11 sdk so no iPhoneX support yet.

    >

    > Now I can't even use scirra's build service because it also do not work on iPhone X? Come on guys that's a joke.

    >

    You can always build the Cordova app yourself

    https://www.construct.net/tutorials/bui ... ova-cli-21

    I assume the build service should be updated to the newest cordova-ios pretty quickly as well.

    Yeah I know but we pay a monthly fee also for their build service and I don't understand why that isn't a top priority for scirra to keep it updated as quick as possible. They also do not say when they are updating it so I have to try it every day just to see if they have updated it? Hm <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    What I still do not understand is why it worked for me back in december?

  • >

    > > Wow amazing ..... I mean how should I add iPhone X support now? My last app was built using cocoon.io but they haven't even added iOS11 sdk so no iPhoneX support yet.

    > >

    > > Now I can't even use scirra's build service because it also do not work on iPhone X? Come on guys that's a joke.

    > >

    >

    > You can always build the Cordova app yourself

    >

    > https://www.construct.net/tutorials/bui ... ova-cli-21

    >

    > I assume the build service should be updated to the newest cordova-ios pretty quickly as well.

    >

    Yeah I know but we pay a monthly fee also for their build service and I don't understand why that isn't a top priority for scirra to keep it updated as quick as possible. They also do not say when they are updating it so I have to try it every day just to see if they have updated it? Hm <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    There are 61 open bug issues with C3 right now, I'm sure they are doing their best.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The Cordova CLI is free.

    Updating development tools is complicated and requires careful testing to ensure the updates haven't broken anything else. It can take a while, and as noted we have a great many other reports in progress. Please be patient.

  • The Cordova CLI is free.

    Updating development tools is complicated and requires careful testing to ensure the updates haven't broken anything else. It can take a while, and as noted we have a great many other reports in progress. Please be patient.

    Yes I know that and I appreciate your effort. Still it is now nearly march and the iPhone X is out since October. So I nearly had to wait half a year just to give my customer an iPhone X update which is a very long time. That's the only thing I'm criticize. But yeah as you both said I'll definitely trying to use Cordova CLI then! Thanks

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)