Overview of COCOS 4
v4.0.0COCOS 4 is an open-source, high-performance, cross-platform game and interactive content development engine. It is built on a C++ architecture and follows a "write once, run anywhere" philosophy.
In version 4, the engine is being separated from the editor. COCOS refers specifically to the engine, while editor components are being converted to CLI tools integrated into the engine core.
Key features include:
- Modern Graphics: Supports Vulkan (Windows/Android), Metal (macOS/iOS), and WebGL (Web).
- High Performance: Core infrastructure, renderer, and scene management are written in C++.
- Customizable Render Pipeline: Supports built-in forward and deferred pipelines.
- Extensible Surface Shader: Uses Cocos's effect format (GLSL 300) with automatic runtime conversion.
- Physically Based Rendering (PBR): Standard effects include PBR, physically based cameras, and physical lighting metrics.
- TypeScript API: User-level APIs are provided in TypeScript for efficient development.