mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 15:42:39 +08:00
bd02a8ea2e
codes aren't sync with 3.4.2 *https://github.com/cocos/engine-native/pull/4008 The reason why we should destroy here is that the swapchain is created by js binding, yet once restart it will create again, after that multiple swapchain will exist at same time. And only happens on Native platform
engine-native
It is the native backend of Cocos Creator. It works on iOS, Android, Mac OS and Windows.
Coding format and coding style
The coding format file is .clang-format, and the coding style fomat file is .clang-tidy. Please use clang-format to format the codes and use clang-tidy to fix the coding style before commiting codes. See the linter auto-fix guide for more information.
Documentations
How to start a new game
You can refer to the documentation to start a new game.
Build Requirements
- macOS 10.14+, Xcode 11.5+ to build mac games
- with iOS 12.0+ to build iOS games
- or Windows 7+, Visual Studio 2017 15.7+ / Visual Studio 2019 to build win32 games
- NDK 18-21 is required to build Android games (22+ is not supported)
- Python 2.7+ (includes Python 3) is needed to run scripts
- Cmake 3.8+ is required
Where to get help
Contributing to the Project
engine-native is licensed under the MIT License. We welcome participation!