I have been trying to write simple introductory tutorials on cocos2d-x v3 so that new people like me can quickly learn and move forward with cocos2d-x.
http://sunny1304.svbtle.com/
I will write more.
Any comment to improve the tutorials are welcome.
Feel free to criticize me.
Thanks.
@sunny1304
Thanks for the work.
Will you continue to write more?
@zhangxm
I will write more tutorials.
I am trying to break up the concepts and focus only on one concept for a single tutorial.
Great and simple tutorial!!!
I have run through it all last night. Please write more as possible:)
It helps me a lot for starting to learn.
Hi Sunny, I was going through Part 1 and I found a typo, where you write:
auto scene = TouchMove::createScene()
it should end with semicolon:
auto scene = TouchMove::createScene();
Also, building and running (with cocos2d-x-3.1-rc0 May.18 2014 on a Macbook) for iOS I get this compiler error:
Undefined symbols for architecture i386:
"TouchMove::createScene()", referenced from:
AppDelegate::applicationDidFinishLaunching() in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld /Users/myName/myCompany/PlatformGame1/bin/debug/ios/PlatformGame1\ iOS.app/PlatformGame1\ iOS normal i386
(1 failure)
Error running command, return code: 65
When building and running for Android I get:
jni/../../Classes/AppDelegate.cpp:32: error: undefined reference to 'TouchMove::createScene()'
collect2: error: ld returned 1 exit status
make: *** [obj/local/armeabi/libcocos2dcpp.so] Error 1
make: Leaving directory `/Users/myName/myCompany/PlatformGame1/proj.android'
Error running command, return code: 2
I didn’t get these errors when I built and run the new, unmodified default project.