125 lines
3.2 KiB
XML

{
"widgettype": "VBox",
"options": {
"width": "100%",
"height": "100%",
"padding": "20px",
"backgroundColor": "#0f1520"
},
"subwidgets": [
{
"widgettype": "Text",
"options": {
"label": "🎮 元景 W-10 运行时执行引擎",
"fontSize": "24px",
"color": "#dbe4f0"
}
},
{
"widgettype": "Text",
"options": {
"label": "世界运行时初始化 / 实体状态 / 脚本调度 / 事件分发 / 定时器 / 碰撞检测 / 暂停恢复 / 错误降级 / 独立世界本地引擎",
"fontSize": "13px",
"color": "#8fa3c0"
}
},
{
"widgettype": "ResponsableBox",
"options": {
"gap": "16px",
"minWidth": "250px",
"marginTop": "16px"
},
"subwidgets": [
{
"widgettype": "VBox",
"options": {
"backgroundColor": "#1e2a44",
"padding": "20px",
"cursor": "pointer",
"borderRadius": "8px"
},
"binds": [
{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "app.runtime_content",
"options": {
"url": "{{entire_url('/scense_runtime/play.html')}}"
},
"mode": "replace"
}
],
"subwidgets": [
{
"widgettype": "Text",
"options": {
"label": "▶ 开始玩(进入运行时)",
"fontSize": "16px",
"color": "#5aa9ff"
}
},
{
"widgettype": "Text",
"options": {
"label": "初始化实体树,点击实体触发事件脚本,定时器/碰撞/降级演示",
"fontSize": "12px",
"color": "#8fa3c0"
}
}
]
},
{
"widgettype": "VBox",
"options": {
"backgroundColor": "#1e2a44",
"padding": "20px",
"cursor": "pointer",
"borderRadius": "8px"
},
"binds": [
{
"wid": "self",
"event": "click",
"actiontype": "urlwidget",
"target": "app.runtime_content",
"options": {
"url": "{{entire_url('/scense_runtime/api/runtime_status.dspy?runtime_id=local')}}"
},
"mode": "replace"
}
],
"subwidgets": [
{
"widgettype": "Text",
"options": {
"label": "📊 运行时状态",
"fontSize": "16px",
"color": "#4cd964"
}
},
{
"widgettype": "Text",
"options": {
"label": "查询引擎运行状态(帧率/实体数/队列/错误数)",
"fontSize": "12px",
"color": "#8fa3c0"
}
}
]
}
]
},
{
"widgettype": "VBox",
"options": {
"width": "100%",
"flex": "1",
"marginTop": "20px"
},
"id": "runtime_content"
}
]
}