跳到主要内容Skip to main content

引擎档案Engine profiles

Cocos CreatorCocos Creator

TypeScriptTypeScript · 2D/3D 跨平台2D/3D cross-platform

对 AI 的友好度How AI-friendly it is:★★★☆(一般): ★★★☆ (mixed)

一句话In one line:包含编辑器、场景与脚本流程的游戏开发工具;小游戏发布需核对对应平台说明。: A game-development tool with editor, scene and scripting workflows; check target mini-game platform documentation.

本站的判断Our judgement:分别核对脚本、场景配置与发布平台;自动操作编辑器取决于工具和权限。: Check scripts, scene configuration and release platform separately; editor automation depends on tools and permissions.

适合Best for:微信小游戏 / 即时网页娱乐为主的 2D/3D 跨平台发布: 2D/3D cross-platform releases targeting WeChat Mini Games / instant web entertainment

性质:本站的判断,未经实测Nature: the site's judgement, not measured · 事实核验:2026-10-30 · GitHub API 快照Facts verified: 2026-10-30 · GitHub API snapshot

安装与上手难度Install and onboarding

安装步骤Install:官网下载 Dashboard,经 Dashboard 安装各版本 Cocos Creator;工程在 Creator 编辑器里创建、构建、发布(不是 npm 脚手架工作流)。: Download the Dashboard from the official site and install Cocos Creator versions through it; projects are created, built and published inside the Creator editor (not an npm-scaffold workflow).

安装事实来源Install source:https://www.cocos.com/creator-download · 核验日verified 2026-10-30

上手难度Onboarding:中: medium (本站判断,未经实测)(the site’s judgement, not measured)

脚本、Dashboard、编辑器与场景配置都是项目的一部分,不能只检查代码。Scripts, Dashboard, editor and scene configuration all form part of the project; code checks alone are insufficient.

」,件事它有官方文档,档案里的其他引擎没有。

" — and it has official docs for that while the other profiles here do not.

为什么它进档案

依据说明
官方发布章节Cocos Creator 3.8 手册专设「发布到微信小游戏」,另有小游戏引擎插件、内存与性能优化指南(docs.cocos.com,2026-10-29 核对)
官方定位仓库描述自述 cross-platform + "instant web entertainment"(GitHub API,2026-10-29)
活跃最后提交 2026-10-28(GitHub API 当日快照)

⚠ 本站不做实测,里核对的是「官方文档有没有这条路」,不是「用它做小游戏一定顺利」。

Why it is in the profiles

BasisNote
Official publish chapterThe Cocos Creator 3.8 manual has a dedicated "Publish to WeChat Mini Game" chapter, plus a mini-game engine plugin and a memory/performance optimisation guide (docs.cocos.com, checked 2026-10-29)
Official positioningThe repo description says cross-platform + "instant web entertainment" (GitHub API, 2026-10-29)
ActiveLast push 2026-10-28 (GitHub API snapshot that day)

⚠ This site runs no measurements: what is checked here is "does the official doc have this path", not "shipping a mini game with it is guaranteed smooth".

使用 AI 时分开检查脚本和场景配置

面情况
AI 写游戏逻辑代码没问题,语言本身训练素材多
⚠ ,这是它和 Phaser/Godot 工作流最大的差别
文档中文为主按所用语言与引擎版本选择手册,并核对示例 API;不推测模型训练资料的构成
许可有细节见下面事实表:LICENSE.md 是 MIT,但 GitHub 许可字段显示 NOASSERTION

脚本和编辑器操作是两类工作;检查现有工具是否覆盖所需步骤。

Check scripts and scene configuration separately

AspectSituation
TypeScript scriptsCheck generated TypeScript with the compiler and the target engine APIs
⚠ Scenes and levels live in the editorCheck Creator scene/prefab formats against the editor version and the automation tools actually available
Docs mostly in ChineseUse the documentation matching your language and engine version; verify API examples against that version
Licence has a detailSee the facts table: LICENSE.md is MIT, but GitHub's licence field shows NOASSERTION

Script generation and editor operations are separate tasks; check coverage for each.

最小 starter

一个最小 Component,在 update 里按帧推进节点位置。

import { _decorator, Component, Vec3 } from 'cc';
const { ccclass } = _decorator;

@ccclass('Move')
export class Move extends Component {
    update(dt: number) {
        this.node.translate(new Vec3(100 * dt, 0, 0));
    }
}

官方文档:https://docs.cocos.com/

Minimal starter

A minimal Component that moves the node per frame in update.

import { _decorator, Component, Vec3 } from 'cc';
const { ccclass } = _decorator;

@ccclass('Move')
export class Move extends Component {
    update(dt: number) {
        this.node.translate(new Vec3(100 * dt, 0, 0));
    }
}

Official docs: https://docs.cocos.com/

可核验事实

项值核验源
仓库cocos/cocos-engineGitHub API
★9,894同上
最后提交2026-10-28同上(活跃)
仓库 LICENSE.mdMIT仓库 raw 文件当日核对
GitHub 许可字段⚠ NOASSERTION(与 LICENSE.md 不一致)GitHub API:合规审查时以仓库 LICENSE.md 文本为准,但别只看 GitHub 徽章

Verifiable facts

ItemValueSource
Repositorycocos/cocos-engineGitHub API
Stars9,894same
Last push2026-10-28same (active)
Repo LICENSE.mdMITraw file in the repo, checked that day
GitHub licence field⚠ NOASSERTION (inconsistent with LICENSE.md)GitHub API — for compliance, trust the LICENSE.md text in the repo, not the GitHub badge

什么时候选它 / 不选

选:发布目标里有微信小游戏;要 2D/3D 一套跨平台出去。

不选:纯网页游戏(Phaser/Pixi 更轻、AI 接管面更大);希望 AI 尽量端到端写代码(编辑器场景工作流是硬边界);只发桌面/移动原生(Godot 路线更直)。

When to pick it, and when not to

Pick it if: WeChat Mini Games is among your release targets; you want one 2D/3D codebase shipping cross-platform.

Do not pick it if: it is a pure web game (Phaser/Pixi are lighter and give AI more surface); you want AI writing end-to-end (the editor scene workflow is a hard boundary); desktop/native mobile only (the Godot route is more direct).