-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHowToPlayPage.html
More file actions
64 lines (63 loc) · 1.86 KB
/
HowToPlayPage.html
File metadata and controls
64 lines (63 loc) · 1.86 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
53
54
55
56
57
58
59
60
61
62
63
64
<style>
:host {
text-align: center;
}
div.mc-background {
height: 100vh;
background-image: var(--mc-ui-background-img);
background-repeat: repeat;
background-size: auto;
}
div.mc-background[darken] {
background-image: var(--mc-ui-background-darken-img);
}
div.mc-background > div {
position: relative;
top: 50%;
transform: translateY(-50%);
}
h1 {
margin: 0;
padding: 20px 0 0;
}
table {
margin: 20px auto;
background-color: rgba(0, 0, 0, .5);
}
tr {
font-size: 1rem;
vertical-align: top;
text-align: left;
}
tr:first-child {
vertical-align: top;
}
tr b {
float: right;
text-align: end;
}
td:first-child { padding-right: 10px; }
td:not(:first-child) {
padding-bottom: 5px;
padding-left: 10px;
width: 50%;
}
mc-button {
padding: 1.2vh 0;
width: 50%;
max-width: 400px;
}
</style>
<div class="mc-background" darken><div>
<h1>How to play</h1>
<table>
<tr><td><b>WASD</b></td> <td>Move; Double-click W to Sprint</td></tr>
<tr><td><b>Spacebar</b></td> <td>Jump; Double-click to switch Fly Mode</td></tr>
<tr><td><b>Shift/X</b></td> <td>When Fly Mode is on, causes the player to lose altitude (descend)</td></tr>
<tr><td><b>ESC</b></td> <td>Gives back cursor control</td></tr>
<tr><td><b>E</b></td> <td>Open inventory</td></tr>
<tr><td><b>Left/Right button</b></td> <td>Destroy/Place blocks</td></tr>
<tr><td><b>Scroll</b></td> <td>Scrolls through the Hotbar</td></tr>
</table>
<mc-button gotoPage="*pop">Back</mc-button>
</div></div>