-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
29 lines (25 loc) · 867 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="src/css/main.css">
</head>
<body>
<p id="stats"></p>
<p id="crosshair">+</p>
</body>
</html>
<!-- TEMP: For now, we'll just use their hosted version! Perhaps we'll package Three builds in-house later. -->
<script src="https://threejs.org/build/three.js"></script>
<!-- Serve our home-made sauce -->
<!-- Engine-->
<script src="src/main.js"></script>
<script src="src/blocks.js"></script>
<script src="src/water.js"></script>
<script src="src/plants.js"></script>
<!-- DOM Cache -->
<script src="src/ui/domCache.js"></script>
<!-- Controls -->
<script src="src/controls/player.js"></script>
<script src="src/controls/mouse.js"></script>
<script src="src/controls/keys.js"></script>