cocos /cocos-engine
Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
★ 9,931⑂ 2,147👁 337⑃ 15,806● 3,408▤ 4
+3
Daily
9,931
stars
2,147
forks
337
watchers
15,806
prs
3,408
issues
4
releases
README
Engine for Cocos Creator Cocos Creator is the new generation of game development tool in Cocos family, it brings a complete set of 3D and 2D features while providing an intuitive, low cost and collaboration friendly workflow to game developers. Cocos Engine is the runtime framework for Cocos Creator editor. !image Cocos Creator inherited many good qualities and cool features from its previous versions, such as high performance low level C++ implementation, intuitive editor, cross-platform support. It supports native platforms, web platforms and rapidly expanding instant gaming platforms, including Windows, Mac, iOS, Android, HarmonyOS, Web, Facebook Instant Games, WeChat Mini Game and TikTok Mini Games. Furthermore, Cocos Creator has pushed the engine technology to a whole new level for high performance with scalability on various platforms, full extensibility and easy development. 1. Modern Graphics: The GFX implementation is designed to adapt to the modern graphics APIs, it uses Vulkan on Windows and Android, Metal on Mac OS and iOS, and WebGL on Web platforms. 2. High Performance: The runtime engine is built with half C++ and half TypeScript, low-level infrastructure, native platform adaptation, renderer, and scene management are all written in C++ to ensure high runtime performance. We continue to move heavy lifting work to native as much as possible. 3. Customizable Render Pipeline: The render pipeline is designed to be fully customizable, it has supported the builtin forward and deferred render pipeline across all platforms. Developers can customize their render pipeline following the same approach. 4. Extensible Surface Shader: The material system is built on Coco's effect format which uses GLSL 300, the shader programs will be converted to a suitable runtime format automatically. The surface shader permits to fully customize the surface material while ensuring a universal lighting model. 5. Physically Based Rendering (PBR): The standard effect adopts physically based rendering, along with the physically based camera and the lighting based on physical metrics, developers can easily achieve realistic and seamless rendering results across different environments. 6. Easy TypeScript API: The user-level API set is provided in TypeScript, along with the powerful VSCode editor, development with Cocos Creator is incredibly efficient. Besides all these highlights, Cocos Creator also provides a built-in animation system, physics system, particle system, terrain editing support, complex UI system, instant preview, etc. !image This open-source repository is the runtime engine of Cocos Creator, the engine is naturally integrated within Cocos Creator, designed to only be the essential runtime library and not to be used independently. Development and Contribution Notice Cocos Creator engine is open source and welcomes community participation, for open source engine development with Cocos Creator editor, you should fork this repository and setu
Top issues
#10354CC3 Engine Code double size from CC241 comments · 2022-03-15#11455Linux Compatible Build For Cocos-Creator19 comments · 2022-06-10#18123spine设计结构和UIOpacity并不匹配16 comments · 2025-01-04#17006Android V8 does'n support \p Regexp.13 comments · 2024-05-17#11503CC 3.5.1 - Scene Swap Performance is slow13 comments · 2022-06-14#17243[3.8.3] PostProcess fails with GL error 0x501, 0x50611 comments · 2024-06-27#16814导入protobuf相关文件时打包小米快游戏rpk失败11 comments · 2024-03-21#15681Wrapping text issue in Japanese | Korean | Chinese 11 comments · 2023-07-11
Discussions
#19164documentation for build processes hook required0 comments · 2026-04-16#19138HTML5: Game time / animations speed up after repeated tab switching (3.x, worked in 2.4.x)1 comments · 2026-01-28#15944wasm package size5 comments · 2023-08-14#13194A review on self transition in animation graph0 comments · 2022-10-31#13135Make state names unique in animation graph state machine3 comments · 2022-10-24#12923[Proposal] Field unit editing experience3 comments · 2022-09-20#12349Proposal: inline scripts1 comments · 2022-08-05#11238Support more TypeScript/JavaScript file extensions1 comments · 2022-05-26