The Cocos Engine repository powers the open-source core of Cocos Creator, a cross-platform game engine and editor designed for building 2D and 3D games for web and native targets. It aims to simplify game creation and distribution, with support for high-performance rendering, physics, scene management, asset pipelines, and more. The engine is built using a mix of C++ (for performance-critical systems) and TypeScript/JavaScript (for scripting), enabling developers to script game logic while relying on a robust, high-performance core. Because of its cross-platform nature, games built with cocos-engine (via Cocos Creator) can target mobile, desktop, and web, making it a popular choice for developers wanting flexibility and broad reach. The engine includes extensive tooling and example/demo projects to demonstrate 2D and 3D physics, animation, UI and rendering capabilities.
Features
- Cross-platform support for web, mobile, desktop and multiple rendering backends
- Support for both 2D and 3D games (sprites, 3D meshes, scenes, etc.)
- Built-in physics, animation, and rendering subsystems, enabling complex game behavior out of the box
- Scripting support in JavaScript/TypeScript (plus bindings to C++ core), giving flexibility and performance balance
- Full asset and scene pipeline integrated with an editor (Cocos Creator) — handles import, scene building, asset management
- Example projects and test cases (physics demos, 3D rendering demos, UI demos) to help developers understand and start working quickly