-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (50 loc) · 1.35 KB
/
index.html
File metadata and controls
52 lines (50 loc) · 1.35 KB
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
49
50
51
52
<html>
<head>
<title>Gameplus</title>
<script src="https://cdn.jsdelivr.net/npm/p5@1.5.0/lib/p5.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.9/dat.gui.min.js"
integrity="sha512-WoO4Ih0CDOSLYafy22wZD/mcJ7k0ESLqtQsFa6zFKnEUrbtuGU+GkLtVhgt93xa2qewG5gKEC6CWlN8OaCTSVg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script src="index.js"></script>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: -webkit-fill-available;
}
.tips {
width: 240px;
height: 220px;
position: fixed;
left: 20px;
border-style: solid;
display: flex;
flex-direction: column;
align-content: center;
justify-content: space-evenly;
align-items: flex-start;
padding-left: 20;
}
.attention {
color: coral;
}
</style>
</head>
<body>
<div class="tips">
<div>点击或长按鼠标雕刻怪兽</div>
<div>按下Q键切换雕刻模式</div>
<div id="sculpt-mode">当前模式: <span class="attention">外凸</span></div>
<div>按下F键进入下一代</div>
<div>按下B键切换怪兽背景</div>
<div>按下S键保存怪兽图片</div>
<div>按下N键进入下一阶段</div>
<div id="stage">当前阶段: <span class="attention">雕刻</span></div>
</div>
<main></main>
</body>
</html>