nomadro/apps/minigame-cocos/docs/DUAL_ENGINE.md
Eric 58a845db32 Add WeChat minigame triple-engine scaffold with Godot Chiang Mai plaza SoT.
Unity and Cocos stay as parallel schemes; apps/minigame ships the Godot 4.7 WeChat pack for DevTools.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-06 20:17:14 +08:00

14 lines
634 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 双引擎并行
| 方案 | 路径 | 角色 |
|---|---|---|
| **A · Unity(当前可玩)** | `apps/minigame-unity` → 导出同步 `apps/minigame` | 微信开发者工具正在跑的方案 |
| **B · Cocos Creator 3.8.x(新方案)** | `apps/minigame-cocos` | 按 `AGENTS.md` 规范推进的第二套实现 |
规则:
1. **保留** Unity;不得用 Cocos 覆盖 `apps/minigame` 导出目录,除非产品明确切主引擎。
2. Cocos 构建输出建议:`apps/minigame-cocos/build/wechatgame`(独立目录)。
3. AppID 共用:`wx2900cac0858ca7dc`。
4. 玩法数据可对齐 JSON 语义,但代码树隔离。