我正在開發使用Cocos2d-x 3.12的遊戲。在Android上(嘗試使用API版本15和18的設備),它運行良好,但是當它啓動時,或者當它發送到後臺然後前臺時,屏幕上的第一次敲擊將被忽略,並在日誌中顯示以下消息: I/InputQueue-JNI(16547): Sending finished signal for input channel 'hidden nav (client)'
我使用的是Cocos 2d-x,我需要創建一個類的對象的向量,但是當我嘗試創建它們時出現類型錯誤像這樣: header
Vector<Vector<Level*> > _stagesLevelsVec;
//Here's the type Error when I try to create a Vector of Vectors of Objects of Class Level
//Er
,我收到以下錯誤: "error: 'Value' in namespace 'rapidjson' does not name a type"
一切都被使用RapidJson之前工作的罰款。 我仍然可以在wp8_1平臺上成功構建項目。 我不知道這是一個錯誤還是我錯過了一些東西。 我正在使用Cocos2dx v3.13.1。 如何解決這個問題?
在AppDelegate.cpp,我們在布爾AppDelegate::applicationDidFinishLaunching()下面的代碼: glview->setDesignResolutionSize(designResolutionSize.width, designResolutionSize.height, ResolutionPolicy::SHOW_ALL);
auto fra