forked from michaljaz/webmc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
83 lines (77 loc) · 2.58 KB
/
index.html
File metadata and controls
83 lines (77 loc) · 2.58 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html>
<head>
<title>Web-Minecraft</title>
<link rel="icon" href="assets/images/grass_block.png">
<div css>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
<link rel="stylesheet" href="cdn/css/googleapis.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.19.0/css/mdb.min.css">
<link rel="stylesheet" href="cdn/css/main.css">
</div>
<div js>
<script type="text/javascript" src="cdn/js/jq.js?1234"></script>
<script type="text/javascript" src="cdn/js/popper.min.js?1234"></script>
<script type="text/javascript" src="cdn/js/bootstrap.min.js?1234"></script>
<script type="text/javascript" src="cdn/js/mdb.min.js?1234"></script>
<script type="text/javascript" src="cdn/js/socket.io.js?1234"></script>
</div>
</head>
<body>
<canvas id="c"></canvas>
<div class="initLoading">
<img src="assets/images/loadingx.gif" class="loadingBar">
</div>
<div class="gui">
<div class="inventoryBar"></div>
<div class="gameMenu">
<div class="row">
<div class="col-4 pl-5 pt-4">
Web-minecraft v.1.0
</div>
<div class="col-4 text-center p-3">
<h3>Gra zatrzymana</h3>
<button class="gameOn btn btn-dark w-100">
Graj
</button>
<button class="btn btn-dark w-100" onclick="document.location.reload()">
Restart
</button>
</div>
<div class="col-4 p-3">
Kontrolki
<li>
W: do przodu
</li>
<li>
S: do tyłu
</li>
<li>
A: w lewo
</li>
<li>
D: w prawo
</li>
<li>
Spacja: do góry
</li>
<li>
Left Shift: do dołu
</li>
<li>
Klawisze 1,2,3: Zmiana trzymającego itemu
</li>
</div>
</div>
</div>
<div class="cross">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<line x1="15" y1="0" x2="15" y2="30" stroke="black" stroke-width="1" />
<line x1="0" y1="15" x2="30" y2="15" stroke="black" stroke-width="1" />
</svg>
</div>
</div>
<script type="module" src="bundle.js"></script>
</body>
</html>