Landscape Start screen rotated and squeezed during startup

Discussion in 'How Can I...?' started by defonten, Jan 30, 2016.

  1. defonten

    defonten Avid Boxer

    Joined:
    Nov 21, 2015
    Messages:
    251
    Likes Received:
    29
    Hi, whenever I start my landscape game, the startup screen starts in portrait mode and for a few seconds remains in portrait mode after which rotates 90 degrees right to normal landscape picture. How to avoid this weird rotation during startup? Thanks!
     

    Attached Files:

  2. defonten

    defonten Avid Boxer

    Joined:
    Nov 21, 2015
    Messages:
    251
    Likes Received:
    29
    Any ideas pls?
     
  3. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    Just replace your splash screen in Xcode and make sure that in BuildBox you also set the Start Screen correctly. Splash image is done before BuildBox engine stats, then BB displays the Start Screen until loads resources.
     
  4. defonten

    defonten Avid Boxer

    Joined:
    Nov 21, 2015
    Messages:
    251
    Likes Received:
    29
    Ok, thanks, will try this!
     
  5. defonten

    defonten Avid Boxer

    Joined:
    Nov 21, 2015
    Messages:
    251
    Likes Received:
    29
    Hmm.. really stuck - this is my settings in Xcode.. In BB I have landscape mode of course.. What else must be done to really "tell" the device to open a landscape startup screen?
     

    Attached Files:

  6. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    Your settings seem to be ok, however, you have to replace the splash screen... In my test I have several splash images, one for each devices basically. You can see that for the iPhone 6 Plus the pic is in landscape while for the iPhone 6 is in portrait -- and therefore on 6 Plus the splash looks perfect while on the smaller device the splash is in the wrong orientation:
    Screen Shot 2016-02-01 at 5.08.53 PM.png
    Screen Shot 2016-02-01 at 5.09.01 PM.png
     
  7. defonten

    defonten Avid Boxer

    Joined:
    Nov 21, 2015
    Messages:
    251
    Likes Received:
    29
    I've gone through all the resolutions in that Data folder and they were all ok - some of them are rotated 90 deg but none of them squeezed. May be I don't get something here.. :)
     
  8. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    OK, try the following:
    1. Click on that reversed tree looking icon on the top-left to edit screen settings
    2. Double click on Start screen
    3. Drop an image on that screen
    4. Adjust size of that image so that looks good
    5. Arrange that image to the back on the layers ("Ctrl+Shift+{" on Windows or "Cmd+Shift+{" on Mac)
    6. Place a label something like: "Loading..."
    7. Save the Project
    8. Export it to iOS
    9. Try it on simulator
    10. Try it on device
     
  9. defonten

    defonten Avid Boxer

    Joined:
    Nov 21, 2015
    Messages:
    251
    Likes Received:
    29
    That's exactly what I did.. In BB I place the landscape picture in start screen node, save and export to ios. But on device as it starts for a second or two my landscape image gets rotated to portrait and squeezed.
     

Share This Page