在AppDelegate.cpp,我們在布爾AppDelegate::applicationDidFinishLaunching()下面的代碼: glview->setDesignResolutionSize(designResolutionSize.width, designResolutionSize.height, ResolutionPolicy::SHOW_ALL);
auto fra
我很努力地在Cocos2d V3中獲得簡單的動畫。 我最初有用於精靈一個簡單的靜態PNG,使用此代碼,它工作正常... Sprite *treeStar = Sprite::create("star.png");
this->addChild(treeStar,+3);
treeStar->setPosition.... // set position is defined later
我