-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (34 loc) · 1.29 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<title>Raycasting Demo</title>
<!--<link rel="icon" type="image/gif" href="images/favicon.ico">-->
<link rel="stylesheet" href="stylesheets/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<!--Specifying width/height in CSS stretches everything.-->
<canvas id="canvas" width="960" height="720"></canvas>
<div id="controls">
<p>WASD: Move</p>
<p>Mouse: Look</p>
<P>F: Show 2D View</P>
<p>E: Change mouse sensitivity</p>
</div>
<script src="js/entity/entity.js"></script>
<script src ="js/entity/camera.js"></script>
<script src="js/entity/player.js"></script>
<script src="js/input/game_input.js"></script>
<script src="js/level/level.js"></script>
<script src="js/level/tile.js"></script>
<script src="js/screens/screen.js"></script>
<script src="js/screens/game_screen.js"></script>
<script src="js/util/math.js"></script>
<script src="js/util/vector.js"></script>
<script src="js/util/box.js"></script>
<script src="js/util/ray.js"></script>
<!--Main script should be called last to avoid reference errors-->
<script src="js/raycaster.js"></script>
</body>
</html>