-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (48 loc) · 1.77 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SixProfiler</title>
<link rel="stylesheet" type="text/css" href="index.css" />
</head>
<body>
<div id="page">
<h1>SixProfiler</h1>
<ol>
<li>
选择需要测试的 .sb3 文件,选择后如果一切正常,加入计时补丁的 .sb3
文件将自动保存。
<br />
<label
>要测试的 .sb3 文件:<input id="fc1" accept=".sb3" type="file"
/></label>
</li>
<li>
将加入计时补丁的 .sb3 文件用你所使用的编辑器打开,点击绿旗运行。
</li>
<li>可以多次点击绿旗运行,运行记录会持续收集。</li>
<li>
如果运行了错误的积木,想要清除运行记录,可以按下
<code>W</code> + <code>F</code> + <code>空格</code> ,在询问中回答
<code>y</code> 重置运行记录。
</li>
<li>
运行完成后,点击停止并保存 .sb3 文件。此时保存的 .sb3
文件中包含了运行记录。
</li>
<li>
在这里打开包含了运行记录的 .sb3 文件,查看结果。
<br />
<label
>要读取记录的 .sb3 文件:<input id="fc2" accept=".sb3" type="file"
/></label>
<input id="rs1" type="button" disabled value="复制结果文字" />
<input id="rs2" type="button" disabled value="保存结果" />
</li>
</ol>
<textarea readonly id="text" placeholder="这里将会显示结果"></textarea>
<script type="module" src="index.ts"></script>
</div>
</body>
</html>