Questions tagged cocos2d-x

Explore the latest questions and answers asked by our top developers.

Cocos2d-x Display resolution problem in in iPad Air(4th Gen) and iPadPro 11 inch

I used resource of 2048×1536 for all iPad device. Resolution is not perfect in iPad Air(4th Gen) and iPadPro 11 inch. In all other iPad display correct. Tested in Cocos2dx v4.0 Here is my code: if (MyGameBridge::sharedGameBridge()->IsIpad()) { auto designSize = Size(1024, 768); auto resourceSize = Size(2048, 1536); director->setContentScaleFactor(resourceSize.height/designSize.height); searchPaths.push_back("Data/iPad"); } Something wrong in my […]

By Guru
Categorised as c++, cocos2d-x, ios, iphone, xcode Tagged , , , ,

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us