Skip to content

Commit 60e603d

Browse files
committed
📝 增加官网对秘籍键的说明
1 parent 87a0f8e commit 60e603d

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

docs/src/.vitepress/config/sidebar/zhCn.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ const guide: DefaultTheme.SidebarItem[] = [
9090
text: "⌨️ CLI",
9191
link: "/cli",
9292
},
93+
{
94+
text: "⌨️ 秘籍键",
95+
link: "/secret-code",
96+
},
9397
],
9498
},
9599
{
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# 秘籍键
2+
3+
## 秘籍键的历史由来
4+
5+
秘籍键又称作弊码,最早源于游戏,在很早的红白机游戏中,依次按下“上上下下左右左右BA”,就能作弊,开启无敌模式,用于游戏开发者测试使用。
6+
7+
后来在侠盗猎车手、等游戏中也常见。其存在的作用主要是为了开发者方便测试。
8+
9+
## 本软件中为何存在秘籍键
10+
11+
一些功能暂时还未想好放在哪里触发,先放在秘籍键中。
12+
13+
方便测试功能。秘籍键的代码编写非常方便。
14+
15+
## 秘籍键的使用方法
16+
17+
在舞台界面,依次按下对应的秘籍键按键序列,即可触发对应功能。
18+
19+
注意:需要确保点击一下舞台,输入文字状态下无法触发秘籍键,(例如输入节点文本、在节点详细信息中输入文本等等)
20+
21+
秘籍键可能每个软件版本都会有所不同,请以软件界面中秘籍键列表为准。

0 commit comments

Comments
 (0)