-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (37 loc) · 1.23 KB
/
index.html
File metadata and controls
47 lines (37 loc) · 1.23 KB
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
<!DOCTYPE html><html lang="en"><head>
<script src="p5.js"></script>
<script src="p5.sound.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,
user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
</head>
<body>
<script>
document.addEventListener('gesturestart', function (e) {
e.preventDefault();
});
</script>
<script src="sketch.js"></script>
<script src="room.js"></script>
<script src="player.js"></script>
<script src="item.js"></script>
<script src="hammer.min.js"></script>
<button id="resetButton" style="width: 20vw; height:36px"> RESET </button>
<div id="hud">
<div class="buttonContainer" style="width: 20vw;">
<button id="upButton">UP</button>
</div>
<div>
<div class="buttonContainer">
<button id="leftButton">LEFT</button>
</div>
<div class="buttonContainer">
<button id="downButton">DOWN</button>
</div>
<div class="buttonContainer">
<button id="rightButton">RIGHT</button>
</div>
</div>
</div>
</body></html>