multiple resolutions on Android

Cocos2d-x v3
  • tweaker
    Likes 1

    Problem Description

    Hello, 

    I’ve enjoyed watching your tutorial about multiresolution support in cocos2d-x js and coco2d-x, but I’m a bit confused about how to fit in the android resolutions. A psd with different resolution sets is provided for the cocos2d-x tutorial set, and here 3 extra resolutions are present, 5 x 3, 16 x 10 and 16 x 9.

    What I’m puzzled about is the reason behind the sizes of the 16 x 9 and 16 x 10 resolutions? 

    As far as I know the iPhone 5 already has a 16 x 9 aspect ratio, so the larger android 16 x 9 isn’t really needed. For a 16 x 10 resolution I would pick the iPhone 5 resolution and just add 71 pixels to the height to get a 16:10 resolution (1136 / 16 =  71) . I understand the 5 : 3 resolution, it’s the iPad retina resolution with a addition of 512 to get a 5 : 3 aspect ratio instead of 4 : 3. 

     

  • Sonar Systems admin
    Likes 0

    Generally that tutorial series is old now, we will be doing an updated series to help improve and simplify this process in the future.

Login to reply