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.
https://subscription.packtpub.com/book/game-development/9781783284757/1/ch01lvl1sec15/implementing-multi-resolution-support
// the screen size
glView->setFrameSize(960, 640);
// the design size
glview->setDesignResolutionSize(480, 320, ResolutionPolicy::SHOW_ALL);