Socket.io Connection Problem
Hello, I’m new in Multiplayer programming, I’ve created server using node.js and create client in Cocos2dx c++. When i connect Handshake is succed, but onConnect is not called, then after sometime,...
View ArticleHow to make camera follow player
Hello, i used this to follow playler: setCamera(){ followPlayer = Follow::create(mPlayer, Rect(x1,y1,x2,y2)); followPlayer->retain(); this->runAction(followPlayer);} but it doesnot work when add...
View ArticleSDKBOX plugin for Admod 20.1.0
Hello @slackmoehrle ! Do you have an idea when the sdkbox plugin for cocos2dx c++ will be updated to support Android Admob plugin 20.1.0 (The 20.x is a major release with new API calls etc so it is...
View ArticleHow to achive this scrollview children slide/delay effect
Please check this video https://youtu.be/rOg-B4-WEaQ I want to achive this children rows delayed slide/float effect dependent on speed of scrolling as show in video. Is there any way to achive this is...
View ArticleWhere to find the best learning resource for Cocos2dx JS?
I can’t find the any latest learning resource for the JS version of Cocos2dx JS 4 posts - 2 participants Read full topic
View ArticleHow to update to box2d v2.4.1 in cocos2dx v4
How do I update the default box2d version to box2d v2.4.1 in cocos2dx-v4? 1 post - 1 participant Read full topic
View ArticleHow to make the wheels rotate depending on the speed?
Hi everyone. I have a task to make a moving car, The car doesn’t move itself, its wheels rotate and the road moves. And so how can i synchronize the rotation and the moving? Any ideas? Class Action is...
View ArticleHow to loop the animation of road?
Hi everyone, I have a problem with animation of the road. The road sprite is initialized by a log picture of the road which goes left while the program works. But then the picture ends and I have to...
View ArticleCocos2d-x v3 + Xcode 12.5 + Big Sur runs ok?
Hi. For those who use cocos2d-x v3.x and updated to Big Sur to use latest XCode 12.5, everything runs ok for ios projects? 4 posts - 3 participants Read full topic
View ArticleCocos2d-x v4.0 Performance issue vs 3.17.1
See cocos2d-x v4.0 Performance issue on Android vs 3.17.1 · Issue #20668 · cocos2d/cocos2d-x · GitHub fps is lower on iOS device, too Anyone can help? @slackmoehrle 2 posts - 2 participants Read full...
View ArticleTypeError: myArray.includes is not a function
Working only in web When running this in Android, getting this error 2 posts - 2 participants Read full topic
View Articlecomputer hardware suitable?
Is it enough for windows? 2 posts - 2 participants Read full topic
View ArticleCocos2dx 4.0 Android Studio curl linker error
Continuing the discussion from Cocos2dx 3.17 Android Studio curl linker error: I’m porting over game code to cocos2dx 4.0 from another engine… …and I’m having the exact same problem here. I’m...
View ArticleMeshes cocos2d-x v4.0
Does anybody know how to work with meshes in coco2d-x? I found docs only for cocos creator(Mesh Resource · Cocos Creator). The documentation of cpp version doesn’t have docs about meshes. 1 post - 1...
View ArticlePrebuilt Mac binaries do not support universal apps
Just to say the ‘prebuilt’ third-party binary libraries shipped with cocos2d-x haven’t been updated to support Mac universal apps. eg. Try compiling with external/png/prebuild/mac/libpng.a and XCode...
View ArticleXCode 12.5 + Simulators ios 14 TOO SLOW!
Anyone having issues with simulators being too slow? Even launching on real devices is taking ages. Any solution? 3 posts - 2 participants Read full topic
View ArticleChange Audio Session Type iOS
So when playing our cocos app, and they have the phone muted and/or ringer to 0, the app makes no audio and we get 1 star because well youtube makes audio so, our app has to be broken. To fix this we...
View ArticleAttempt to index global 'sp' (a nil value)
Hello everyone, I’ve just started with Cocos2DX and Lua. First thing I did was running Lua Test Sample. Everything seems to be working fine, but i got this error when opening the Spine Test Scene. I...
View ArticleFileUtilsAndroid::getWritablePath() crash on android
Hi, I have a crash the second time this function is called. The first is at the very beginning inside AppDelegate::applicationDidFinishLaunching() and the path is correct. The second time is during...
View ArticleSpace in project name causes failure
I create a project with the following command: cocos new “My Game” -l cpp -p com.mycompany.game If I have a space in my project name (for example: “My Game”), then the following command results in a...
View Article