-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.html
62 lines (62 loc) · 1.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>AdWeb HW2</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
background-color: #ffffff;
width: 100%;
margin: 0;
overflow: hidden;
cursor: crosshair;
text-align: center;
color: royalblue;
}
.gun {
position: absolute;
bottom: 0;
width: 20%;
z-index: 100;
}
#gun1 {
right: 0;
}
#gun2 {
left: 0;
}
#info {
position: absolute;
width: 100%;
top: 0;
}
#copyright {
position: absolute;
width: 100%;
bottom: 0;
}
</style>
</head>
<body>
<div id="info">
<h3>AdWeb Homework 2</h3>
<p>A Multiplayer First-Person Shooting Game</p>
<p>Based on Three.js, Socket.io and Node.js</p>
</div>
<div id="container">
<img class="gun" id="gun1" src="img/1.png">
<img class="gun" id="gun2" src="img/2.png">
</div>
<div id="copyright">
<a href="https://github.com/song-hao/AdWebHW2">Github Repo</a>
<p>© 13302010005@fudan.edu.cn 宋浩</p>
</div>
<script src="/socket.io/socket.io.js" type="text/javascript"></script>
<script src="js/libs/jquery.js" type="text/javascript"></script>
<script src="js/libs/Three.js" type="text/javascript"></script>
<script src="js/libs/FirstPersonControls.js" type="text/javascript"></script>
<script src="js/libs/stats.min.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
</body>
</html>