cocos3.10, win7,vs2013。
新建工程,替换helloworld 内代码:
for (int i = 0; i < 30; i++) {
for (int j = 0; j < 40; j++) {
auto label = Label::createWithSystemFont(“8888”, “”, 20);
label->setPosition(50 + i * 50, 20 + 20 * j);
addChild(label);
}
}
显示效果如图,1,3区域内的较暗,2区域比较亮。请问何缘故?
