Skip to content

Commit c70e5cb

Browse files
authored
JS脚本:YuanQinAssistant更新至v1.0.3 (#3364)
* Create mask-send.js * Create gridview.css * Add iconfont.css for icon font styles * Add iconfont.ttf * Add iconfont.woff * Add iconfont.woff2 * Add gridview.js,stately.js * Add index.html * Update YuanQinAssistant to v1.0.3 * Fix inline css in index.html * Remove font-size from iconfont class Removed font-size property from iconfont class. * Refactor gridview.css by removing unused styles Removed search row and button styles, updated file grid styles. * Update gridview.js The suggestion from coderabbitai will not work * Update README.md * Update settings.json
1 parent 10877f2 commit c70e5cb

13 files changed

Lines changed: 1729 additions & 417 deletions

File tree

‎repo/js/YuanQinAssistant/README.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
## 快速开始
1212
1. 在“全自动-调度器”中新建配置组,并添加此脚本。
13-
2. 右键-修改JS脚本自定义配置,选择曲目后,点击运行即可在游戏中自动演奏,请先确保角色处于演奏状态。
14-
3. 曲谱文件保存在 `assets/score/` 文件夹中,如果此文件夹中的内容发生变动,脚本会自动更新曲谱列表并退出,再次运行后方可选择曲谱进行演奏。
13+
2. 点击运行即启动脚本,当游戏中进入演奏画面时,将自动弹出UI。通过隐藏按钮(眼睛图形)可以暂时隐藏UI,从其他界面再次切换到演奏画面时,UI将自动恢复显示。
14+
3. 曲谱文件保存在 `assets/score/` 文件夹中,如果此文件夹中的内容发生变动,需要重新运行脚本后才能在列表中看到变化后的文件。
1515

1616
## 曲谱格式说明
1717
脚本使用指令式的文本曲谱,每一行都代表一个指令,以“!xx/something”的形式出现。不符合此格式的行会被忽略,因此可以利用此特性在曲谱中插入注释文本。
@@ -56,8 +56,10 @@
5656
您需要注意的是,为了简化处理逻辑,转谱工具对mid文件的内容作了一些限制,比如不能使用异步多轨的格式,必须是C大调,导出midi文件时不要包含RPN和NRPN相关指令等等,更详细的会在之后用视频教程进行演示,普通用户完全不了解这些内容也不影响使用。
5757

5858
## 更新日志
59+
v1.0.3 新增UI界面,不再需要通过配置组中的设置选择曲谱。支持播放/暂停、隐藏UI、退出按钮。支持曲谱搜索。不再支持半音修正。
60+
5961
v1.0.2 演奏开始后,自动将鼠标移动到右下角;增加乐器界面判定,只有在乐器演奏界面才会演奏曲谱;新增曲谱文件“此去半生”。
6062

6163
v1.0.1 修复音符B5的按键映射错误;修复脚本中止时,按键没有释放的问题;新增曲谱文件“枕边童话”“丝柯克小曲”;新增曲谱制作教程视频地址。
6264

63-
v1.0.0 发布原琴助手BGI版。
65+
v1.0.0 发布原琴助手BGI版。
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
@font-face {
2+
font-family: "iconfont"; /* Project id 5201700 */
3+
src: url('iconfont.woff2?t=1782622255378') format('woff2'),
4+
url('iconfont.woff?t=1782622255378') format('woff'),
5+
url('iconfont.ttf?t=1782622255378') format('truetype');
6+
}
7+
8+
.iconfont {
9+
font-family: "iconfont" !important;
10+
font-style: normal;
11+
-webkit-font-smoothing: antialiased;
12+
-moz-osx-font-smoothing: grayscale;
13+
}
14+
15+
.icon-exit:before {
16+
content: "\e603";
17+
}
18+
19+
.icon-stop:before {
20+
content: "\e70e";
21+
}
22+
23+
.icon-pause:before {
24+
content: "\e6ed";
25+
}
26+
27+
.icon-eye-fill:before {
28+
content: "\e869";
29+
}
30+
31+
.icon-play:before {
32+
content: "\f07e";
33+
}
34+
35+
.icon-eyeclose-fill:before {
36+
content: "\e8ff";
37+
}
38+
2.39 KB
Binary file not shown.
1.58 KB
Binary file not shown.
1.16 KB
Binary file not shown.

0 commit comments

Comments
 (0)