Display Zoom on iphone 6+

My game looks missed up on iphone 6+ zoomed view .
any tips to force the game to run as standard view .?

Hello @Kotaiba,

please provide more information on the Cocos2D-X version you are using.
A screenshot of your “messed up” iphone6+ screen would also be helpful.

Here is a general demystification of the iPhone6 screens:
http://www.paintcodeapp.com/news/iphone-6-screens-demystified

What resolution do your resources have?
Did you set the anchor points? If you are using C++:

yourSprite->setAnchorPoint(Point(0.0f, 0.0f));

But these are just some scenarios that come to mind.
Also how does your game looks on the iOS emulator?

Hi Eschmelax,
im using Cocos2dx 3.4, my game is running on all ios devices perfectly even on iphone 6+ ,
but if the iphone 6+ used Zoomed view then the game look wrong .
I’ve 3 resolutions
2x:iphone 6+ ,ipad retina
1.2x:iphone 6
1x:ipad2 ,and iphones

Looks like aspect ratio to me, that’s why you get the white bars on top and bottom.
Check your AppDelegate.cpp or where your routine for device resolution check resides:

director->getOpenGLView()->setDesignResolutionSize(960, 640, ResolutionPolicy::SHOW_ALL); 

Thats iPhone5 btw. Also check the ResolutionPolicy.
I’ll post here if i get more information about it.
I don’t have a iPhone6+ atm to test this.
Post back your results.

In the standard mode, the iPhone 6 Plus runs at 2208 x 1242 pixel resolution.
In zoomed mode, 2001 Ă— 1125 pixel resolution.
im positioning based on 2208 x 1242.
i think the only way to fix this is to make 2001 Ă— 1125 run as 2208 x 1242 .
will post the results.

That might work, but what about crisp and sharp retina?
Doesn’t any zoomed view look unsharp on device (unless svg or other vectors are used)?

Hello, We are having exactly the same problem. It took us 1 week to realize that it was the zoom option. We completely forgot about that feature and we thought it was a iOS bug!

How did you end up fixing the issue? We are thinking to use the 6+ standard retina assets, 2208x1424 and scaled them down to 2001x1125. Any advise?

thank you.

In my code i use iphone 6 Assets for all other devices ,and i position the images and the scaling for each device alone …and since iphone 6+ got two resolutions (zoomed and standard) you need to setup each resolution alone .

but how to detect when Zoomed or standard mode on?

u read the screen resolution ,then u can know which one is running .
(2001 Ă— 1125 = Zoomed iPhone+ )

2 Likes