帮我写个兽魂收集的功能 ,佩戴兽魂可获的相应的属性
🤖 回答引擎: 功能策划 |
🕒 时间: 2026-04-20 14:13:54 |
👁️ 阅读: 18
好的,这是根据您的要求生成的兽魂收集功能策划案。
### 第一部分:按钮功能列表
1. **兽魂界面**:点击后打开/关闭兽魂收集、查看、佩戴的主界面。
2. **兽魂列表**:在界面内以列表或图标形式展示玩家已收集到的所有兽魂。
3. **兽魂佩戴槽**:界面内用于放置和显示当前已佩戴的兽魂的位置。
4. **佩戴**:点击已收集但未佩戴的兽魂,将其放入佩戴槽,替换原有兽魂,并获得属性。
5. **卸下**:点击已佩戴的兽魂,将其从佩戴槽移除,放回收集列表,并失去该兽魂提供的属性。
6. **属性详情查看**:将鼠标悬停在任意兽魂(无论是否佩戴)上,显示该兽魂的具体属性加成。
7. **关闭界面**:点击关闭按钮,退出兽魂界面。
### 第二部分:UI界面配置 (LEGEND UI EDITOR 规范)
```json
[
{
"type": "rect",
"name": "main_bg",
"x": 140,
"y": 110,
"w": 920,
"h": 580,
"text": "",
"fontSize": 14,
"color": "#ffffff",
"bg": "rgba(0,0,0,0.85)",
"border": "3px solid #8B4513"
},
{
"type": "text",
"name": "title_text",
"x": 500,
"y": 130,
"w": 200,
"h": 40,
"text": "兽魂之力",
"fontSize": 32,
"color": "#FFD700",
"bg": "",
"border": ""
},
{
"type": "button",
"name": "close_btn",
"x": 1020,
"y": 110,
"w": 40,
"h": 30,
"text": "✕",
"fontSize": 20,
"color": "#ffffff",
"bg": "#8B0000",
"border": "1px solid #FF6347"
},
{
"type": "rect",
"name": "collection_bg",
"x": 180,
"y": 200,
"w": 500,
"h": 350,
"text": "",
"fontSize": 14,
"color": "#ffffff",
"bg": "rgba(40, 40, 40, 0.9)",
"border": "2px solid #696969"
},
{
"type": "text",
"name": "collection_title",
"x": 180,
"y": 170,
"w": 200,
"h": 30,
"text": "已收集兽魂",
"fontSize": 22,
"color": "#FFD700",
"bg": "",
"border": ""
},
{
"type": "rect",
"name": "equip_bg",
"x": 720,
"y": 200,
"w": 300,
"h": 200,
"text": "",
"fontSize": 14,
"color": "#ffffff",
"bg": "rgba(40, 40, 40, 0.9)",
"border": "2px solid #696969"
},
{
"type": "text",
"name": "equip_title",
"x": 720,
"y": 170,
"w": 200,
"h": 30,
"text": "当前佩戴",
"fontSize": 22,
"color": "#FFD700",
"bg": "",
"border": ""
},
{
"type": "rect",
"name": "equip_slot",
"x": 830,
"y": 240,
"w": 80,
"h": 80,
"text": "",
"fontSize": 14,
"color": "#ffffff",
"bg": "rgba(65, 105, 225, 0.3)",
"border": "2px dashed #4169E1"
},
{
"type": "text",
"name": "slot_hint",
"x": 800,
"y": 330,
"w": 140,
"h": 20,
"text": "将兽魂拖放至此佩戴",
"fontSize": 14,
"color": "#87CEEB",
"bg": "",
"border": ""
},
{
"type": "rect",
"name": "attr_bg",
"x": 720,
"y": 420,
"w": 300,
"h": 130,
"text": "",
"fontSize": 14,
"color": "#ffffff",
"bg": "rgba(40, 40, 40, 0.9)",
"border": "2px solid #696969"
},
{
"type": "text",
"name": "attr_title",
"x": 720,
"y": 390,
"w": 200,
"h": 30,
"text": "当前属性加成",
"fontSize": 22,
"color": "#FFD700",
"bg": "",
"border": ""
},
{
"type": "text",
"name": "attr_text_1",
"x": 740,
"y": 440,
"w": 260,
"h": 25,
"text": "攻击力:+0",
"fontSize": 18,
"color": "#FF6347",
"bg": "",
"border": ""
},
{
"type": "text",
"name": "attr_text_2",
"x": 740,
"y": 470,
"w": 260,
"h": 25,
"text": "魔法力:+0",
"fontSize": 18,
"color": "#87CEEB",
"bg": "",
"border": ""
},
{
"type": "text",
"name": "attr_text_3",
"x": 740,
"y": 500,
"w": 260,
"h": 25,
"text": "道术:+0",
"fontSize": 18,
"color": "#32CD32",
"bg": "",
"border": ""
},
{
"type": "text",
"name": "hint_text",
"x": 400,
"y": 570,
"w": 400,
"h": 30,
"text": "提示:击败强大的怪物有几率获得兽魂,佩戴后可获得强大属性!",
"fontSize": 16,
"color": "#FF8C00",
"bg": "",
"border": ""
}
]
```
← 返回问答库