Cocos2dx v4.0 iOS build does not run
After creating an IOS basic project in cocos2dx ver4.0, it was built. The build was successful, but the following message pop-up appeared and it was not executed. I checked to see if there were any...
View ArticleTexture flushed when coming back from background
On my game, some people experience what seems to be a texture cache being flushed. It does not happen very often and seems to happen when people exit the game and return later. I use 3.17 See the...
View ArticleFlipY3D issue if setDesignResolution and RenderTexture is used
Hi there, I am using a NodeGrid to flip the screen. The NodeGrid visit is called between RenderTexture-> bebginClear() and end(): mRTex->beginWithClear(0, 0, 0, 255);...
View ArticleThe future of cocos2d-x
Hello Cocos Engine Team I have a question about cocos2dx. I’ve plan to start a game in 2d. What’s the best option between cocos2dx and cocos creator? the question behind is what is the future of...
View ArticleTwo parallel loops in cocos2d-x 3.17
I want to run two parallel loops in cocos2d-x 3.17 not waiting for each other to complete. One loop is the main scheduled loop updateScene() and other is pathFindingAlgo(). How can I run these two...
View ArticleCocos2d-x visual studio build
how can i get output or apk in cocos2d-x using visual studio 1 post - 1 participant Read full topic
View ArticleCan't set texture for spriteframe
i’m using cocos creator 3.7.0 i wrote a little code to load asset texture from resource. var tex = Array(25).fill(new Texture2D()); for(let j = 0; j < 25; j++){ let url =...
View ArticleQuick question on Scrollview [SOLVED]
[UPDATE: I implemented this by adding a new field to CCScrollView, which I named “flipDragDirection” and I can toggle that in my classes.] Hi, my game runs on iOS, Mac, and Windows, and I use...
View ArticleHow to protect or encrypt my game's resources from being extracted by others...
currently my game’s resources can be extracted just by unzipping but i want to hide them or encrypt that others cant extract or re use my assets, can you guys help in this. thanks. 2 posts - 2...
View ArticleCreating cocos2D project framework and accessing it in existing iOS application
Is there a way to create a framework of cocos2D project, so that I can add it in other existing iOS project. 1 post - 1 participant Read full topic
View ArticleCan we use cocos creator exported particle in cocos2dx
i want to create particle in cocos creator and then want to use them in cocos 2dx but if i do this my game crash in cocos2dx , so is there any way to do this or it is not possible? 1 post - 1...
View ArticleCocos JS 3.17.2 - IOS 16.4 Beta hangs due to GLWeb via METAL
Our games render to WebGL and are built on CocosJS Html5 3.17. All our games have worked flawlessly on all ios versions in safari and chrome for years through many ios updates. We have tested the 16.4...
View ArticleBlind developer VS Cocos: doupts and confusions
大家好, hello everyone, I am a blind developer who had recently got interestedi n game development. Before I go further I want to clarify some things: Blind people use a special program on their computer...
View ArticleSupport of emojis for Labels
Is there a universal way to support emojis using Cocos2d-x (version 3.17)? I am using the class Label and using BMfont. I tried with a TTF font as well, did not work either. Tried to use the...
View ArticleCocos Creator 2.4.10 iOS 退出应用时闪退
我的游戏应用在 Crashlytics 上收集到大量的闪退记录, cocos2d::AudioEngineImpl::~AudioEngineImpl() + 8591376, 100% 都是在后台退出引用时发生的,覆盖机型包扣 iPhone13Pro,iPhone12Promax 等比较新的设备,请问下有什么解决方案吗? 1 post - 1 participant Read full topic
View ArticleHow to debug Cocos2d-x C++ on Visual Studio Code
Hello, I am trying to use VS Code for my cocos2d-x c++ development but am not able to find any documentation for this. Can anyone point me in the right direction. Thank you. 1 post - 1 participant...
View ArticleHow to upgrade C++ version for cocos2d-x-4.0?
Hello, I am trying to integrate gtest to one of my project. While compiling it gives me the following error: …/googletest/googletest/include/gtest/internal/gtest-port.h:280:2: error: #error C++...
View ArticleNeed help with some issues
I’m having this error when trying to generate a build and I don’t know how to work around it, I’ve looked in several places and I can’t find a solution 2 posts - 2 participants Read full topic
View Article“cocos2d is ambiguous” error in Visual Studio 2022
Im not sure if this problem was resolved in future build of Cocos2d-x, but in vs2022 the CPP code is full of red lines everywhere and no matter what I do and what solutions I look at ("cocos2d is...
View ArticleWallpaper with cocos2d-x?
(topic deleted by author) 1 post - 1 participant Read full topic
View Article