feat: 两大入口hub页——创建游戏(工作台+世界/场景/实体/脚本/演示/拖拽/快照/同步)、展示+Play(游戏展示+运行时)

This commit is contained in:
agent.develop 2026-08-30 21:32:31 +08:00
parent 4dd8464382
commit 4153f59db9
2 changed files with 143 additions and 0 deletions

33
wwwroot/game/play_hub.ui Normal file
View File

@ -0,0 +1,33 @@
{
"widgettype": "TabPanel",
"options": {
"css": "filler",
"width": "100%",
"height": "100%",
"tab_pos": "top",
"items": [
{
"name": "show",
"label": "🕹 游戏展示",
"icon": "",
"content": {
"widgettype": "urlwidget",
"options": {
"url": "/scense_game/game/index.ui"
}
}
},
{
"name": "runtime",
"label": "运行时观察",
"icon": "",
"content": {
"widgettype": "urlwidget",
"options": {
"url": "/scense_runtime/index.ui"
}
}
}
]
}
}

View File

@ -0,0 +1,110 @@
{
"widgettype": "TabPanel",
"options": {
"css": "filler",
"width": "100%",
"height": "100%",
"tab_pos": "top",
"items": [
{
"name": "workbench",
"label": "🎮 游戏工作台",
"icon": "",
"content": {
"widgettype": "urlwidget",
"options": {
"url": "/scense_game/workbench/workbench.ui"
}
}
},
{
"name": "world",
"label": "世界管理",
"icon": "",
"content": {
"widgettype": "urlwidget",
"options": {
"url": "/world/index.ui"
}
}
},
{
"name": "scene",
"label": "场景管理",
"icon": "",
"content": {
"widgettype": "urlwidget",
"options": {
"url": "/scene/index.ui"
}
}
},
{
"name": "entity",
"label": "实体管理",
"icon": "",
"content": {
"widgettype": "urlwidget",
"options": {
"url": "/entity/index.ui"
}
}
},
{
"name": "script",
"label": "脚本引擎",
"icon": "",
"content": {
"widgettype": "urlwidget",
"options": {
"url": "/script_engine/index.ui"
}
}
},
{
"name": "demo",
"label": "实时演示",
"icon": "",
"content": {
"widgettype": "urlwidget",
"options": {
"url": "/scense_demo/index.ui"
}
}
},
{
"name": "drag",
"label": "拖拽编程",
"icon": "",
"content": {
"widgettype": "urlwidget",
"options": {
"url": "/scense_drag/editor.ui"
}
}
},
{
"name": "snapshot",
"label": "世界快照",
"icon": "",
"content": {
"widgettype": "urlwidget",
"options": {
"url": "/world_snapshot/index.ui"
}
}
},
{
"name": "sync",
"label": "世界同步",
"icon": "",
"content": {
"widgettype": "urlwidget",
"options": {
"url": "/world_sync/index.ui"
}
}
}
]
}
}