Add graph markdown and canvas outputs
This commit is contained in:
@@ -25,4 +25,6 @@ page.lottery.main
|
||||
.\bin\gsp.exe validate --root examples\lottery
|
||||
.\bin\gsp.exe flatten page.lottery.main --root examples\lottery --depth -1
|
||||
.\bin\gsp.exe graph page.lottery.main --root examples\lottery --format mermaid
|
||||
.\bin\gsp.exe graph page.lottery.main --root examples\lottery --format md --out .gsp\lottery-graph.md
|
||||
.\bin\gsp.exe graph page.lottery.main --root examples\lottery --format canvas --out .gsp\lottery-graph.canvas
|
||||
```
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
id: audio.reward.pop
|
||||
title: 奖励弹出音效
|
||||
type: audio
|
||||
resolution: L3
|
||||
context: 奖励弹出音效,用于强化奖励出现的瞬间反馈。
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
id: feedback.positive
|
||||
title: 积极反馈
|
||||
type: feedback
|
||||
resolution: L3
|
||||
context: 积极反馈。用于让玩家在操作后获得明确、正向、值得继续的感受。
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
id: mechanic.lottery.basic
|
||||
title: 基础抽奖机制
|
||||
type: mechanic
|
||||
resolution: L3
|
||||
context: 基础抽奖机制,负责抽取请求、奖励结果和结果反馈触发。
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
id: motion.button.reward_pop
|
||||
title: 奖励按钮点击动效
|
||||
type: motion
|
||||
resolution: L3
|
||||
context: 奖励按钮点击动效,表现为轻微缩放和快速回弹。
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
id: page.lottery.main
|
||||
title: 抽奖页面
|
||||
type: page
|
||||
resolution: L3
|
||||
context: 抽奖页面,需要表达奖励期待、抽取行为和结果反馈。玩家应快速理解奖池价值、抽奖入口和结果反馈。
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
id: style.reward.light
|
||||
title: 轻快奖励风格
|
||||
type: style
|
||||
resolution: L3
|
||||
context: 奖励表现要轻快、积极,但不要过度刺激。
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
id: ui.button.primary
|
||||
title: 通用主按钮
|
||||
type: ui
|
||||
resolution: L3
|
||||
context: 通用主按钮,用于明确、正向、优先级最高的玩家操作。
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
id: ui.button.reward_primary
|
||||
title: 奖励主按钮
|
||||
type: ui
|
||||
resolution: L3
|
||||
refines: ui.button.primary
|
||||
|
||||
Reference in New Issue
Block a user