Migrating to androidX
@Yathiraj_karkera wrote: I am trying to migrate the cocos2d project to AndroidX any help? cocos2d-x 3.15 // Play Services implementation “com.google.android.gms:play-services-ads:18.2.0”...
View ArticleError when run cocos2d-x v3
@minato243 wrote: When I run/compile a new Project on Mac, I get error: No matching function for call to ‘fill_memory_filefunc’ Do any one know how to solve it. Posts: 1 Participants: 1 Read full topic
View ArticlerunOnUiThread - purpose
@vyshnav_s_deepak wrote: We have recently developed a game on Cocos2dx-JS. Plugins were implemented in JAVA for Ironsource and Google play services and are called via jsb reflection. Can someone tell...
View ArticleChange node parent with EventListener
@Donmizzi wrote: Hi, I have a code like this (TouchObj is a Node): test = TouchObj::Create("image"); test->retain(); test->setSelectorRelease("testMethod"); Layer_1->addChild(test); void...
View ArticleParticle System cc.ParticleSystem.TYPE_FREE, issue related to rotation
@Jack_Wiebe wrote: I am creating a particle system that is attached to a parent node. The parent node moves and rotates over the life of the game. currently my particle position type is set to FREE,...
View ArticleWhy not cache ProgramState in cocos2d-x-v4?
@halx99 wrote: Just see the title… Posts: 1 Participants: 1 Read full topic
View ArticleHow to generate prebuilt with v3.17.2 for iOS?
@Zinitter wrote: My Prebuilt Issue Cmake i try using cmake with above code to generate Cocos2d-x.xcodeproj and compile the library which generate libcocos2d.a and libjscocos2d.a. Then i link these 2...
View ArticleGet FPS value shown on stats
@lmartinignacio wrote: Is there a way to get the FPS value that director is counting? (btw i know how to count them by my own, but i dont want to do it twice if there is a way to get it). thanks in...
View ArticleHow to set orientation of Bone3d* in world space instead of local space?
@chumbyfuzz wrote: I have a 3d model of a human skeleton. Currently I do the following: Bone3D* node; //The bone I want to set the orientation of. Mat4 mat = node->getLocalMat(); //I modified...
View Article[Cocos2d-x][XCode] Linker Error when using Socket IO
@joelam500 wrote: I am trying to code the client side of my application with socket IO. I followed a tutorial to code the main scene header program as below: 141600×283 75.8 KB And I got the result as...
View ArticleSchedule Problem
@Refetizm wrote: Hi everyone, I’m making an endless runner game. For the game to progress endless, objects are spawned off the game screen and begin to move. I used as “schedule” to get spawn times...
View Articlefbx-conv.exe from Blender 2.8
@lmartinignacio wrote: Hello there. What version of Blender is compatible with the tool fbx-conv.exe? exported as .obj works fine: exported as fbx then converted to c3b or c3t i get this error:...
View ArticleWhat does debuggable true do?
@Apollo18 wrote: I understand that when debuggable is set to true, you are able to debug using Android Studio. However, it does more than that, such as setting the COCOS2D_DEBUG to something greater...
View ArticleAnimate action just plays first frame and then nothing
@abrajam wrote: I have this strange situation, hope you can help me here because I have 2 days trying to find the solution and I can’t find it. I made 2 animate actions for applying to a Sprite child...
View ArticleLabelAtlas Spacing Margin?
@mr_cocos wrote: Hi, is there any way to set margin or spacing for a LabelAtlas? Since , there are artifacts due to imprecise letter creation, I want to make a pixel border around every letter in my...
View ArticleCrah for ios libc++abi.dylib
@sayem_musk wrote: i got a crash log from crashlytcis libc++abi.dylib std::__terminate(void (*)()) I don’t know why its happening. its happening for every kind of ios device and version I don’t know...
View ArticleUnreadable output on visual studio. Commit 0d41ade4
@lmartinignacio wrote: What was the reason of this change? i just see a lot of unreadable output on visual studio. output915×242 14.4 KB Posts: 8 Participants: 3 Read full topic
View ArticleAdded support RenderTexture saveToFile with WEBP format, compressionQuality...
@Zinitter wrote: I modified RenderTexture to support .WEBP format and compression quality. The pull request is here for v3.17.2. github.com/cocos2d/cocos2d-x support RenderTexture saveToFile with WEBP...
View ArticleAutoPolygon for multiple island shapes
@Darren wrote: Hi! I have been using this AutoPolygon for my project to trace the vertices for user drawn shapes on my render texture. However what I can achieve by far is getting only 1 enclosed...
View ArticleCollision Detection Problem
@Refetizm wrote: I needed a time-independent spawn system. So I decided to use collision detection. I added Physics Body to my spawn boxes and added a node to the game screen. When the box contacts...
View Article