CCNode* node = CCNode::create(); CCSize size = CCSizeMake(100, 50); node->setContentSize(size);
CCNode* node = CCNode::create(); node->setContentSize(150.5, 75.25);These examples use the Cocos2d-x package library, which is an open-source game development framework for C++.