mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
05bde85ed7
* parentOpacity move to RenderEntity (cherry picked from commit f1d9b5cb55c1912bd61ba490ec46ce7108097556) * parentOpacity remove from entity and put into funtion parameters * unify dynamic and static handle process * reform entity shared buffer structure * modify default value of struct * set drawinfo type for spine/dragonbones * remove legacy method * reform color .type as uint8 from float * CI fix * remove static-cast * CI fix * CI fix Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com> Co-authored-by: liqiao <liqiao@cocos.com>
cocos-engine native part
It is the native backend of Cocos Creator. It works on iOS, Android, macOS and Windows.
Coding format and coding style
The coding format file is .clang-format, and the coding style format file is .clang-tidy. Please use clang-format to format the codes and use clang-tidy to fix the coding style before committing codes. See the linter auto-fix guide for more information.
Build Requirements
- Xcode 11.5+ to build mac games
- or Visual Studio 2017 15.7+ / Visual Studio 2019 to build win64 games
- NDK 18-21 is required to build Android games (22+ is not supported)
- Cmake 3.8+ is required
System Requirements
- macOS 10.14+
- iOS 11.0+
- 64-bit Windows 7+
- with vulkan 1.0 to 1.2 if want to run with vulkan
- Android 4.4+
- Android 7+ if want to run with vulkan
C++ related
- use C++17, but can only use these C++17 features
- std::string_view
- constexpr if