After one year’s hard work, we are happy to announce that cocos2d-x v4.0 is released. If you want metal support on iOS/macOS, then you should use this version. If not, then you can still use v3.x.
Spine runtime is not included in the zip file as the codes is not merged in Spine runtime official repo. But you can check out the PR to use spine runtime. Or you can get the patch file and do patch by yourself. The patch file is generated by git diff commands.
Download
Cocos2d-x v4.0.
MD5: 2b85309a729ddcdc3ac95b6985d25b83
Features
- support metal on iOS/macOS
- use CMake for all platforms
- update GLFW to 3.3
- update minizip to 1.2
- remove deprecated functions
- remove h5 engine and JSB
- remove tiff
- remove SimpleAudioEngine
- remove experimental namespace
- fix bug that system font can not work correctly on macOS 15
- fix lua crash on 64-bit devices
- fix bugs for iOS 13
- UIWebView uses WKWebView instead
- VideoPlayer uses AVPlayerController instead
Documentation
We wrote some documentations to help developers upgrade to v4: