CCFileUtils:: setRelativePath by
Do you come to read the file by the resolution?
if(w == 480)
CCFileUtils::setRelativePath(“res\drawble-mdpi”);
else
CCFileUtils::setRelativePath(“res\drawble-ldpi”);
Does not work.
Cocos2dSimpleGame.zip (8533.0 KB)