-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.htm
61 lines (45 loc) · 1.2 KB
/
index.htm
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
<!DOCTYPE html>
<html>
<head>
<title>ThreeJS Frogger</title>
<style>
body {
padding: 0;
margin: 0;
}
#control-panel {
position: absolute;
right: 0;
bottom: 0;
background: #ccc;
opacity: 0.5;
width: 150px;
height: 50px;
}
#control-panel {
margin-top: 10px;
font-family : arial;
font-size: 36px;
}
</style>
</head>
<body>
<div id="control-panel">
<label>Lives:</label> <span id="numberOfLives">3</span>
</div>
<div id="webgl-container">
</div>
<script src="scripts/three.js"></script>
<script src="fonts/helvetiker_regular.typeface.js"></script>
<script src="scripts/support.js"></script>
<script src="scripts/PointerLockControls.js"></script>
<script src="scripts/physi.js"></script>
<script src="scripts/sceneSetup.js"></script>
<script src="scripts/gameControls.js"></script>
<script src="scripts/enemy.js"></script>
<script src="scripts/text.js"></script>
<script src="scripts/player.js"></script>
<script src="scripts/pointerLockSetup.js"></script>
<script src="scripts/_game.js"></script>
</body>
</html>