Complete Cocos Creator port with level bundles, themes, and tooling.

Adds level prefabs, theme assets, audio, extensions, and deployment scripts for the Unity WebGL migration.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-16 15:30:58 +08:00
parent cba5105908
commit d393302388
6248 changed files with 17322729 additions and 11036 deletions

View File

@@ -11,8 +11,13 @@
#toolbar { padding: 8px 12px; background: #16213e; color: #eee; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
#toolbar button { padding: 6px 12px; cursor: pointer; border: none; border-radius: 4px; background: #0f3460; color: #fff; }
#toolbar button:hover { background: #e94560; }
#game-wrap { flex: 1; position: relative; min-height: 0; }
#GameDiv, #Cocos3dGameContainer, #GameCanvas { width: 100% !important; height: 100% !important; }
#game-wrap {
flex: 1; position: relative; min-height: 0;
display: flex; justify-content: center; align-items: center;
}
/* 与 Unity Web 模板一致:游戏区 960×600 */
#GameDiv { width: 960px; height: 600px; flex-shrink: 0; }
#GameDiv #Cocos3dGameContainer, #GameDiv #GameCanvas { width: 100% !important; height: 100% !important; }
#log { height: 120px; overflow: auto; background: #0d1117; color: #8b949e; font: 12px/1.4 monospace; padding: 8px; }
</style>
<!-- ① 先挂回调(与 Unity Template/index.html 一致) -->