Keeping Cocos2d-x 3.x Alive
Hi everyone, I still use Cocos2d-x 3.17 for several games. The original project is no longer maintained, so I created a fork. My goal is to keep old games working with modern tools while preserving...
View ArticleUnit testing in Cocos2d-x Lua
I inherited a legacy Cocos2d-x 3.10 game written in Lua. I want to write some unit tests for it for TDD, but I don’t know what tools work with Cocos2d-x Lua. Does anyone have experience in writing...
View ArticleHow does Rigidbody2D interact with colliders in children?
I’ve tried searching in the documentation an answer to this but didn’t find any, neither confirming nor denying it. I know in Unity if a Node has a Rigidbody, the rb will take in consideration all...
View ArticleUpgrade ndk for cocos2dx project
Hi everyone, Google is going to require Support 16 KB page sizes soon. My project is currently using cocos2dx 2.2.6, using ndk r21, need to upgrade to ndk r23 or higher to be able to continue...
View ArticleCocos2dx v4 namespaces issue with Narwhal 3
Hi all, I am trying to build again an old cocos2dx v4 project with the new Android Studio Narwhal 3 Feature Drop. So far, I made all changes Gemini suggested but I am stuck with namespaces. A problem...
View ArticleI need Developer
Hello, I’m looking for a developer for a small project development Server/Backend. Please contact me Discord: @burakis Telegram: @bennebbenn 1 post - 1 participant Read full topic
View ArticleCan I get a web site that it make particle 'plist' file?
hello, Can I get a web site that it make particle 'plist’file? 2 posts - 2 participants Read full topic
View ArticleWeb export for Safari IOS bug
I tried to make an export with cocos-pnp in Cocos Creator 2.4.6 and tested it using Safari on Mac/iOS, but it shows me the Cocos Creator error 3121. I also tried using all image files in PNG format...
View ArticleiOS Warning: CLIENT OF UIKIT REQUIRES UPDATE — UIScene lifecycle not adopted
Hi all, When launching my cocos2d-x(3.17.1) app on iOS 18, I’m seeing this warning in the console: CLIENT OF UIKIT REQUIRES UPDATE: This process does not adopt UIScene lifecycle. This will become an...
View ArticleHow to flip physics when flipping sprite?
I create a physics shape using physics editor and add it to the sprite. My question is, what is the right way to flip the physics also if one wants to flip the sprite by doing flipx or flipy? Likewise...
View ArticleHow to Play a Sound Effect in Cocos2d-x 4.0 C++
I’m making a platformer and I want to have a .wav sound effect to play when I jump. I tried both SimpleAudioEngine and AudioEngine and both didn’t work. Thank you. 1 post - 1 participant Read full topic
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 ArticleReplace a single color in a sprite
Using cocos2d-x 3.17. Is it possible to replace a single color in a sprite with another color? I can use “setColor()” to color the whole sprite, but I’m trying to piecemeal replace one or two colors....
View Article游戏在鸿蒙系统设备上运行图片显示发白
项目所用的引擎版本是Cocos2dx-2.2.6,项目比较老,现在要在鸿蒙系统设备上运行,目前运行正常,但是所有格式的图片资源显示都发白。在Android设备上运行是正常的。这个可能是什么原因,如何解决? 1 post - 1 participant Read full topic
View ArticleForce orientation in a game with multi orientation
Hi, in my game iOS and Android I use Cocos2d-x 3.17. I’m serching to view some layer in landscape (game) and one layer in portrait (settings) I’ve read a lot of posts, I’ve tried a lot, but I still...
View ArticleIs there a reliable 3.x cocos typescript documentation I can learn with?
Just need documentation links, if you think you can help here’s my problem (usually everyone helps when it’s too late, hope that doesn’t happen!:c) Okay problem fixed, but i still need reliable 3.x...
View ArticleCan't remove event listening
Hi! I’m currently working on a simple project, and as part of it, I needed to register player input. So I added event listener, so whenever player presses inside parent node, other stuff happens....
View ArticleMaximum number of sprites?
I’m loading multiple spritesheets, and this year, I’m trying to load a lot more layers to support jersey numbers. However, I’m not seeing all the sprites loaded, and I I shifted the order to check if...
View ArticleLooking for a Game Developer with Cocos2d Experience in Kuala Lumpur
We are currently seeking an experienced game developer with proficiency in Cocos2d for a project based in Kuala Lumpur, Malaysia. If you or someone in your network has expertise in Cocos2d and is...
View ArticleCocos2d-JS 3.17 - Google rejected my app
Hi all! Google Play has removed my app and disable my dev account. They said my app is malicious, malware. I don’t know why they marked my app as malware. It’s just a simple knife throwing game (like...
View Article