iPhone X display problems

Post » Wed Feb 28, 2018 1:29 pm

Isn't this due to not having "unbounded scrolling" checked in C2/C3? If I remember correctly that fixed the issue for me. If you scale outer and you do not have unbounded checked it will put everything to the left of the screen.
B
63
S
26
G
16
Posts: 817
Reputation: 14,575

Post » Wed Feb 28, 2018 2:21 pm

Anonnymitet wrote:Isn't this due to not having "unbounded scrolling" checked in C2/C3? If I remember correctly that fixed the issue for me. If you scale outer and you do not have unbounded checked it will put everything to the left of the screen.


Could be possible. I use unbounded scrolling (as stated earlier in this thread) and for me it works. So it is possible but @twg has to try this out.
Creating minimalistic iOS Games
http://twitter.com/kraudi2k
B
33
S
6
Posts: 247
Reputation: 2,939

Post » Thu Mar 01, 2018 6:03 am

Anonnymitet wrote:Isn't this due to not having "unbounded scrolling" checked in C2/C3? If I remember correctly that fixed the issue for me. If you scale outer and you do not have unbounded checked it will put everything to the left of the screen.


The unbounded scrolling is not the problem, all my C2/C3 mobile games use scale outer and do not have unbounded scrolling checked and display fine on all phones except iPhone X.
Hexballs: iOS | Android Number Islands: iOS | Android
B
62
S
23
G
5
Posts: 142
Reputation: 6,952

Post » Thu Mar 01, 2018 9:37 am

Ok, weird. I tried now and I get the same effect you talk about when I don't check unbound scrolling. Everything is moved to the left on the iPhoneX but as soon as I check unbound scrolling it covers the whole screen and is perfectly centered on all my phones including the iPhoneX.

So for me that solves the issue.

The iPhone X has another aspect ratio than other iPhones so that is why it looks fine on most iPhones except iPhoneX if you don't check unbound scrolling.
B
63
S
26
G
16
Posts: 817
Reputation: 14,575

Post » Fri Mar 02, 2018 2:57 am

@Kraudi I have my storyboards set up exactly the same as yours, still getting the screen off to the left.

@Anonnymitet I tried checking Unbounded scrolling and it still gives me the screen off to the left.

This is so weird, on the C3 Github they were saying the issue has to do with the build server using an older version of cordova-ios, but I think it has to be something else cause you guys are getting it to display correctly.

My projects are all

• 1280x720
• Viewport-fit:Cover

I have tried both Scale Outer and Scale Inner, Unbounded Scrolling on or off does nothing, I have tried both LaunchImages and Storyboards and I have tried both existing projects and blank C3 projects and nothing works, I have no idea how it is displaying correctly for you guys.
Hexballs: iOS | Android Number Islands: iOS | Android
B
62
S
23
G
5
Posts: 142
Reputation: 6,952

Post » Fri Mar 02, 2018 8:31 am

twg wrote:@Kraudi I have my storyboards set up exactly the same as yours, still getting the screen off to the left.

@Anonnymitet I tried checking Unbounded scrolling and it still gives me the screen off to the left.

This is so weird, on the C3 Github they were saying the issue has to do with the build server using an older version of cordova-ios, but I think it has to be something else cause you guys are getting it to display correctly.

My projects are all

• 1280x720
• Viewport-fit:Cover

I have tried both Scale Outer and Scale Inner, Unbounded Scrolling on or off does nothing, I have tried both LaunchImages and Storyboards and I have tried both existing projects and blank C3 projects and nothing works, I have no idea how it is displaying correctly for you guys.


Yeah I also now don't think this has anything to do with their build server. I will try to upload my project file (empty) so you can try if that will work for you.


Edit: Here it is. This one is from my other game which is already in the AppStore. It is 1080,1920 (Portrait).
https://www.dropbox.com/s/wva1ou6zhu0a7 ... t.c3p?dl=0

Can you try it out with portrait at first? Jsut to make sure we compiled exactly the same.
If it still do not work can you send me yoru project file? I can try it otu on xCode myself just to verify it.
Creating minimalistic iOS Games
http://twitter.com/kraudi2k
B
33
S
6
Posts: 247
Reputation: 2,939

Post » Thu Mar 22, 2018 9:09 pm

@Kraudi I still get the same result with your project in portrait or landscape. I really have no idea what is going on, the screen is always shifted off the left of the screen even with blank projects.

I've tried with existing projects and this blank project

https://www.dropbox.com/s/1aiacjjtsgq5f ... t.c3p?dl=0

Unbounded scrolling on/off makes no difference
Scale inner or outer makes no difference
Launches images vs storyboard makes no difference

I'm not sure what else to try.
Hexballs: iOS | Android Number Islands: iOS | Android
B
62
S
23
G
5
Posts: 142
Reputation: 6,952

Post » Sat Mar 31, 2018 10:28 pm

Anyone else testing their games on iPhone X?
Hexballs: iOS | Android Number Islands: iOS | Android
B
62
S
23
G
5
Posts: 142
Reputation: 6,952

Post » Fri Apr 06, 2018 9:34 am

@Anonnymitet
@Kraudi

just to make things clear... unbounded scrolling checked means: unbounded scrolling = YES or NO?

(Becouse i use 2 out of 5 layouts with unbounded scrolling = NO... can this be a problem?)
B
38
S
17
G
3
Posts: 877
Reputation: 6,919

Post » Sat Apr 07, 2018 3:16 am

I am currently facing the image shift to the left problem when in landscape, i ticked unbound scrolling for every layout and it doesnt help anything
B
5
S
1
Posts: 3
Reputation: 331

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest