forked from yakudoo/TheAviator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
74 lines (70 loc) · 3.61 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
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>The Aviator: The Game</title>
<meta name="description"
content="Demo of the game: The Making of 'The Aviator': Animating a Basic 3D Scene with Three.js" />
<meta name="keywords"
content="three.js, webgl, tutorial, game, 3d, animation, airplane, web development, javascript" />
<meta name="author" content="Karim Maaloul for Codrops" />
<link rel="shortcut icon" href="favicon.ico">
<link href='https://fonts.googleapis.com/css?family=Playfair+Display:400,700,700italic' rel='stylesheet'
type='text/css'>
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/game.css" />
<script type="text/javascript" src="js/TweenMax.min.js"></script>
<script type="text/javascript" src="js/three.min.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/game/lights.js"></script>
<script type="text/javascript" src="js/game/sea.js"></script>
<script type="text/javascript" src="js/game/sky.js"></script>
<script type="text/javascript" src="js/game/pilot.js"></script>
<script type="text/javascript" src="js/game/airplane.js"></script>
<script type="text/javascript" src="js/game/coin.js"></script>
<script type="text/javascript" src="js/game/ennemy.js"></script>
<script type="text/javascript" src="js/game/particle.js"></script>
<script type="text/javascript" src="js/game/main.js"></script>
</script>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="game-holder" id="gameHolder">
<div class="header">
<div id="banner">
<h1><span>the</span>Aviator</h1>
<h2>fly it to the end</h2>
</div>
<div class="score" id="score">
<div class="score__content" id="level">
<div class="score__label">level</div>
<div class="score__value score__value--level" id="levelValue">1</div>
<svg class="level-circle" id="levelCircle" viewbox="0 0 200 200">
<circle id="levelCircleBgr" r="80" cx="100" cy="100" fill="none" stroke="#d1b790"
stroke-width="24px" />
<circle id="levelCircleStroke" r="80" cx="100" cy="100" fill="none" #f25346 stroke="#68c3c0"
stroke-width="14px" stroke-dasharray="502" />
</svg>
</div>
<div class="score__content" id="dist">
<div class="score__label">distance</div>
<div class="score__value score__value--dist" id="distValue">000</div>
</div>
<div class="score__content" id="energy">
<div class="score__label">energy</div>
<div class="score__value score__value--energy" id="energyValue">
<div class="energy-bar" id="energyBar"></div>
</div>
</div>
</div>
</div>
<div class="world" id="world"></div>
<div class="message message--replay" id="replayMessage">Click anywhere to start</div>
<div class="message message--instructions" id="instructions">Grab the blue pills<span>avoid the red ones</span>
</div>
</div>
</body>
</html>