Need to Understands the Multi Resolution Support in cocos2dx

Hello devs,
hope you all working well…
kindly please help me to understand that what changes and what code (ResolutionPolicy) required for project in Android and ios to Support Multi Resolution without stretch images in cocos2dx c++.

I recommend using cocos creator as your development tool. Since some of the cocos2d-x documentation is no longer available, I’ll list the schematics of each adaptation rule below for easy design reference.

more information you can look into some cocos2d-x teach books.

// the screen size
glView->setFrameSize(960, 640);

// the design size
glview->setDesignResolutionSize(480, 320, ResolutionPolicy::SHOW_ALL);