I'm creating menu and try to switch it to another scene but i cant do it(undeclared identifier 'class')
Here example i try to switch from menuscene to gamescene by click on the button
Someone let me know i'm still a newbie
Tks so much
class MenuScene : public cocos2d::Layer
// there's no 'id' in cpp, so we recommend returning the class instance poin
I have searched for more tutorials but i don't have clear description to create a new project in android with the support of cocos2d library.Moreover i couldn't find errors to be solved also.Please suggest me some good tutorials.
I've just started to work with Cocos2d-x. I've checked a lot of tutorials how to start this framework but this one was most helpful to me: http://www.raywenderlich.com/33750/ and I belive it's still actual. I am working on Windows 7. I am able to start sample on emulator/device of any project situated in cocos2d-x by Linux simulator console (./build_native.sh with adding NKK_ROOT dir).
I'm new to cocos2d-x platform and tried to run the tests on Linux(Ubuntu 13.04) environment.
I have followed the steps from git-cocos2d-x and got the following error while executing
cocos run -p linux command.
/usr/bin/ld: cannot find -lglfw
collect2: error: ld returned 1 exit status
We have created Phonegap Android application in which used localstorage to keep user information key=value. Now we planning to create Cocos2d-x 2.2 project and would like to migrate data from phonegap localstorage.