Files
cocos4/native
James Chen bd54a082a3 Update Spidermonkey (97.0.1) backend for se (jswrapper) (#10170)
* Update spidermonkey backend for se.

* Update cmakelist

* Bug fix for se spidermonkey backend.

* Fix constructor binding for spidermonkey backend.

* Fix wrong syntax of calling native function in simple-texture.jsb.ts & builtin-res-mgr.jsb.ts

* Use jsb.createExternalArrayBuffer for caching since it will not be moved during GGC.

* Cleanup se spidermonkey backend

* Add Object::createExternalArrayBuffer for se v8 backend.

* Remove unused code in jsb_assets_manual.cpp

* Add jsb.createExternalArrayBuffer binding.

* Remove unused WebGLRenderingContext registeration.

* Remove unused code in jsb_global_init.cpp

* Add Root::setDevice.

* Invoke ScriptEngine::mainLoopUpdate in Engine.cpp.

* Update CMakeLists.txt

* Make missing return type as an error.

* Cleanup for sm/ScriptEngine.cpp

* prefine.cmake fix for vs.
2022-02-24 18:20:54 +08:00
..
2021-08-31 19:40:32 +08:00
2022-02-24 16:24:48 +08:00
2021-08-17 09:25:11 +08:00
2022-02-22 18:12:48 +08:00
2020-06-18 14:12:04 +08:00
2021-07-13 14:07:47 +08:00
2021-01-14 14:36:37 +08:00
2021-06-24 15:15:18 +08:00
2021-05-27 13:53:40 +08:00
2021-12-03 17:44:58 +08:00

engine-native

Build Status

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!