/
index.html
104 lines (98 loc) · 2.99 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
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
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="content-type" />
<title>MineCraftWebGL</title>
<!-- <link href="reset.css" rel="stylesheet"/>-->
<script src='jquery/jquery-1.9.1.js'></script>
<script src='lib/rbcoffee.js'></script>
<script src='coreExtensions.js'></script>
<script src='lib/jquery.hotkeys.js'></script>
<script src='lib/jquery.mousewheel.js'></script>
<script src='lib/RequestAnimationFrame.js'></script>
<script src='lib/Detector.js'></script>
<script src='lib/ImprovedNoise.js'></script>
<script src='lib/Three.js'></script>
<script src='camera.js'></script>
<script src='collision.js'></script>
<script src='minecraft.js'></script>
<script>$(function () {Minecraft.start()})</script>
<style type="text/css">
body {
margin: 0;
padding: 0;
overflow: hidden;
}
a {
color:blue;
text-decoration: none;
}
a:active {
color: blue;
outline: 1px dotted;
}
a:visited {
text-decoration: none;
}
a:hover {
color: blue;
text-decoration: underline;
}
#blocks img {
margin: 0;
padding: 0;
}
#instructions {
background: black;
width: 500px;
margin: 0 auto;
color: white;
font: 14px Verdana, Arial, Helvetica, Sans-Serif;
padding: 30px;
position: relative;
top: 100px;
opacity: .8;
}
#instructions .image {
text-align: center;
}
#instructions .label {
padding: 0 20px;
}
#instructions h1 {
text-align: center;
}
#oldie a { color:#fff }
body {
background-image:url('./textures/bedrock.png');
background-color: gray;
}
#minecraft-container {
margin: 0 auto;
padding: 0;
overflow: hidden;
/*width: 800px;*/
/*height: 600px;*/
}
#minecraft-blocks {
position: relative;
top: -32px;
margin: auto;
background: white;
width: 320px;
height: 32px;
display: none;
}
#minecraft-blocks img {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="instructions"></div>
<div id="minecraft-container"></div>
<div id="minecraft-blocks">
</div>
</body>
</html>