i have recently updated cocos2d-x latest version and iam generally following previous approach like following:
CCLabelTTF *message = CCLabelTTF::create(“Sample message”,“My font”,22);
message~~>setDimensions);
message~~>setPosition(CCPoint(30,40));
but this position is different on device and simulator of same versions
i am not able to guess what is the problem ??