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
112 lines (96 loc) · 3.55 KB
/
index.html
File metadata and controls
112 lines (96 loc) · 3.55 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html>
<head>
<title>Web-Minecraft</title>
<!-- META TAGS -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<!-- ICON -->
<link rel="icon" href="assets/images/grass_block.png">
<!-- 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">
<!-- 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>
</head>
<body>
<!-- RENDER CANVAS -->
<canvas id="c"></canvas>
<!-- LOADING SCREEN -->
<div class="initLoading">
<div class="loadingBar text-center">
<img src="assets/images/logo.png">
<h1 class="loadingText">Ładowanie zasobów...</h1>
<div class="status"></div>
<img src="assets/images/loadingx.gif">
</div>
</div>
<!-- GUI -->
<div class="gui">
<!-- INVENTORY BAR -->
<div class="inventoryBar">
<img class='inv_box inv_box_1'><img class='inv_box inv_box_2'><img class='inv_box inv_box_3'><img class='inv_box inv_box_4'><img class='inv_box inv_box_5'><img class='inv_box inv_box_6'><img class='inv_box inv_box_7'><img class='inv_box inv_box_8'><img class='inv_box inv_box_9'>
</div>
<!-- GAME MENU -->
<div class="gameMenu">
<div class="row">
<!-- FIRST COLUMN -->
<div class="col-4 pl-5 pt-4">
Web-minecraft v.1.0<br>
Wykonanie: <a href="https://github.com/michaljaz/">michaljaz</a>
</div>
<!--SECOND COLUMN -->
<div class="col-4 text-center p-3">
<h3>Gra zatrzymana</h3>
<button class="gameOn btn btn-dark w-100">
Graj
</button>
</div>
<!-- THIRD COLUMN -->
<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>
<!-- VIEW CROSS -->
<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>
<!-- GITHUB RIBBON -->
<a href="https://github.com/michaljaz/web-minecraft"><img class="githubRibbon" src="assets/images/ribbon.png" alt="Fork me on GitHub"></a>
<!-- GAME BUNDLE -->
<script type="module" src="index.js"></script>
</body>
</html>