cocos2d-x
cocos2d-x copied to clipboard
Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x &...
CCControlSwitch's internal methods assign a nullptr to Label\* onLabel, Label\* offLabel, which will crash when trying to add to the ClippingNode on line 196 ``` clipper->addChild(onLabel); clipper->addChild(offLabel); ```
java static method use jclass type in jni
- cocos2d-x version: 4.0 - OS: Ubuntu 22.04 I followed this tutorial on [this page](https://docs.cocos2d-x.org/cocos2d-x/v4/en/installation/Linux.html). It has configured successfully but failed to compile. Compile log: ``` Consolidate compiler generated dependencies...
it's incorrect function call in jni when use loadData from Cocos2d in WebView
- cocos2d-x version: 4.0 - devices test on: iOS - developing environments - NDK version: - Xcode version: - VS version: - browser type and version: Steps to Reproduce: 1....
on android, sometimes will cause these error, the crash stack is reported by bugly. i dont't know how to reproduce it. # GLThread 1985(1985) SIGSEGV(SEGV_MAPERR) 1 #00 pc 00010620 /system/lib/libc.so...
``` CompileC /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac/build/cocos2d_js_bindings.build/Debug-iphonesimulator/libjscocos2d\ iOS.build/Objects-normal/x86_64/jsb_cocos2dx_network_auto.o /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/auto/jsb_cocos2dx_network_auto.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'libjscocos2d iOS' from project 'cocos2d_js_bindings') cd /Users/a/Downloads/game2048/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.ios_mac /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /var/folders/t_/w4fs4j1162g4jh0p13y3jzgw0000gn/C/com.apple.DeveloperTools/14.3.1-14E300c/Xcode/SDKStatCaches.noindex/iphonesimulator16.4-20E238-.sdkstatcache -target x86_64-apple-ios6.0-simulator -fmessage-length\=255 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -std\=c++11...
``` ➜ Downloads cocos new game2048 -l js -e /Users/a/Downloads/cocos2d-x-4.0/templates 错误:找不到 模板。 可以使用 -e 参数指定 cocos2d-js 的路径。 ```
See [Null Image Data In RenderTexture::newImage Callback (#20776)](https://github.com/cocos2d/cocos2d-x/issues/20776) I have try solve It, I test on windows, It worked, Help me test on Android、or another operating system publish version.
- cocos2d-x version: 4.0 - devices test on: Windows 11 Pro - developing environments - IDE: Clion 2023.1.3 - Toolchain: Visual Studio - Generator: Visual Studio 17 2022 - CMake:...