Design Resolution / Multi-Resolution Question

Hi,

I’ve read the below:

http://cocos2d-x.org/docs/editors_and_tools/creator-chapters/ui/multi-resolution/

Now, as per my understanding, if I’m looking to support multi-resolutions for IOS / Android / Web, I should have my design resolution at 1280 x 720 and Fit Height and Fit Width unchecked, and adjust the graphic elements within the design resolution to fill the screen? Then the engine will adjust accordingly… depending on device screen resolution…Would appreciate feedback…Thanks and God Bless…

Sincerely,

Sunday

If you uncheck both fit height and fit width, then the game won’t fit the screen. You need to check at least one of them, then it will fit the screen with three different ways

Hi @pandamicro

Ok, thanks for the explanation… :smiley: God Bless…

Sincerely,

Sunday

You should make your resolution exact fit. but i face this resolution also creating issue for ipad some images are stretched.Because of Height issue so best solution for this use 1152X2048 size graphics and same resolution.

How can I do the FIT_HEIGHT nad FIT_WIDTH via code ?