Compiling Cocos2dx 4.0 on andriod
Does anyone have advice or a guide for getting cocos2dx helloworld project compiling for android right now? Or is anyone successfully compiling cocos2dx for android right now? Which versions of gradle...
View ArticleUrgent Help Needed to Update Cocos2d Apps - Compensation Offered!
Hello developers’ community, We urgently need assistance to update 11 mobile apps (iClassicsCollection) developed in Cocos2d. We are facing issues with the guidelines of major app stores and require...
View Article关于cocos2dx4.0文档
近期想用cocos2dx做点游戏,但卡在文档上,好多都是翻源码, 有些能解决,有些不能, 比如sprite->runAction 运行后,原始的贴图消失了? 有没有完整文档呢 比原先用SDL2还费劲,文档版本错综复杂。 1 post - 1 participant Read full topic
View ArticleHard to find Memory or Threading issue
I realize Cocos2D-X is no longer supported, but I have a bit of a unique problem, and truly any direction would be very helpful. My game uses a mostly custom game engine, but we started out using...
View ArticleUsing physicsBody with setPositionOffset causes flashing and jerking when the...
When I added physicsBody, my character was skewed, so I used setPositionOffset for physicsBody to match the animation, but when I added the character runAction move, it flashed and jerked. The one...
View ArticleGame crashing in CocosDenshion.m file
Hello, My game is crashing coz of CocosDenshion.m file. File: github/pocketgems/cocos2d-iphone/blob/pgcommon2x/CocosDenshion/CocosDenshion/CocosDenshion.m When I am returning from the below function,...
View ArticleTrouble lining up labels of different scales
I’ve tried various scaling, anchorpoints, etc, but can’t seem to get this to work. I’m laying down a label with a scale of 1, and I want to add another label using the same font, but a scale of 0.6...
View Article[Cocos Creator 2.4] need help in loading multi image from S3
Hi, currently I working on a project which need to load .png .atlas and .json from AWS S3 to change spine animation on runtime. The spine animation with only 1 png will work but with multi png can’t...
View Article3D particle not showing up in Cocos 3.8.1
Hello folks, I am creating a casual mobile game in which user have to join some boxes. and when certain conditions are met, then those boxes will blast. For showing the blast effect, I am using 3D...
View ArticleHow to know the c++ in Android Studio?
Hi, I am using Cocos2dx v4. I have create a project for Android and I wonder how to check the c++ version. I am trying to implement callbacks using C++11 Thanks in advance. 2 posts - 2 participants...
View ArticleInit Image by data in Cocs2d-x 2.2.6 to 3.17
My boss asked me to update his 2.2.6 project to 3.17 version Im getting troubel in here! He have function init image by void* data,int datalen,int and type image (PNG or JPG) im try to clone it in...
View ArticleCrash: cocos2d::ObjectFactory::TInfo::TInfo(std::__1::basic_string const&,...
Hey, I’m experiencing the following crash on iOS systems below 12.5. The crash occurs immediately upon launching the application. When I build the application on a device running iOS 12.5 (with Xcode...
View ArticleBuild android fail with cocos2d-x js in the newest android studio?
I am trying to build cocos2d-x js version 3.17.2 with the newest Android Studio. I have installed all of the compatible versions of ndk (19.2) and cmake (3.6). So far I can compile by using Android...
View ArticleWhat causes the error `No file found at scrip/jsb_prepare.js`
I am trying to run cocos2d-x js version 3.17.2 on android and caught this error cocos2d: fullPathForFilename: No file found at script/jsb_prepare.js. What is the reason for this error? 2 posts - 1...
View ArticleRace game on Cocos and Typescript
Hi Comomunity. I want to create Race game on Typescript. Please send some tutorial for this or some similar articles. I want to create some good detailed design of the car. 1 post - 1 participant Read...
View ArticleSet default material for Mesh
I am using cocos2d-x v3.17.x js. After converting the Maya exported model to .c3t I can see that some Mesh are using default material. However, these textures do not exist. How can I set them to use...
View ArticleCocos2dx v3.15 Android API 34 issue
Hi there, Has anyone tried to compile cocos2dx v3.15/17 with Android API 34? I can’t get it done Here is what I get: What went wrong: Execution failed for task ‘:app:processReleaseResources’. AAPT2...
View ArticleCreate custom shader for skin
How can I create a shader with uniform u_matrixPalette for skinning object? 1 post - 1 participant Read full topic
View ArticleCannot compile shader for android
I am following this tutorial Shaders and Materials · GitBook to create a custom material. However, I got the error of Unused argument in constructor whose reason comes from the uniform values be...
View ArticleHow can I use websocket to connect?
I am using cocos2d-x v3.17.2. I create a Network class to connect with my local server through websocket as below. When I build an android app, I keep getting the error of connection failed. var...
View Article