cocos2d-x 背景色修改
修改窗口背景色:
1、只需要在AppDelegate的设置FPS后面加入一行glClearColor(r, g, b, 1.0);
2、修改CCDirector.cpp里CCDirector::setGLDefaultValues(void)里的glClearColor(r, g, b, 1.0);
修改字体颜色:
CCLabelTTF* pLabelCourse = CCLabelTTF::create(courseStr, "Arial", 24)
pLabelCourse->setColor(ccc3(126, 126, 126));