Hi all,
I tried to implement multi resolution based on setDesignResolutionSize and setContentScaleFactor. I haven’t sprites in different resolutions(Want to try how multi resolution work. Perhaps this the reason of problem.). In AppDelegate.cpp i use this code:
CCDirector pDirector = CCDirector::sharedDirector;
CCEGLView pEGLView = CCEGLView::sharedOpenGLView();
pDirector~~>setOpenGLView);
CCSize screenSize = CCEGLView::sharedOpenGLView~~>getFrameSize;
CCSize designSize = CCSizeMake;
pEGLView~~>setDesignResolutionSize;
pDirector~~>setContentScaleFactor(screenSize.height/designSize.height);
On android device with 1024x768 resolution i saw that it’s became full screen and sprites correctly located, but sprites not scaled. Does sprites should be scaled? Or i something missed?
Thanks,
Siarhei