-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
56 lines (53 loc) · 2.47 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
<!doctype html>
<html>
<head>
<title>trapped</title>
<meta name="viewport" content="width=device-width,user-scalable=0,initial-scale=1,maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="robots" content="noindex">
<meta name="description" content="A survival game about a fly trying to survive after mystyriously being sucked into a phone">
<link rel="shortcut icon" href="favicon.svg" type="image/x-icon">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="styles.css">
<script src="lib/p5.min.js"></script>
<script src="lib/p5.collide2d.min.js"></script>
<script src="lib/p5.scenemanager.js"></script>
<script src="lib/p5.sound.min.js"></script>
<script src="src/bug.js"></script>
<script src="src/home_layout.js"></script>
<script src="src/poly.js"></script>
<script src="src/scene.js"></script>
<script src="src/scene_intro.js"></script>
<script src="src/scene_home_maps.js"></script>
<script src="src/scene_home_messages.js"></script>
<script src="src/scene_home_music.js"></script>
<script src="src/scene_home_snap.js"></script>
<script src="src/scene_home_twitter.js"></script>
<script src="src/scene_maps.js"></script>
<script src="src/scene_music.js"></script>
<script src="src/scene_messages.js"></script>
<script src="src/scene_settings.js"></script>
<script src="src/scene_snap.js"></script>
<script src="src/scene_title.js"></script>
<script src="src/scene_twitter.js"></script>
<script src="src/scene_outro.js"></script>
<script src="src/game.js"></script>
</head>
<body>
<div id="mobile" class="alert">
This game is designed to be played on a mobile device in portrait mode, and makes use of your devices's motion sensors.
</div>
<div id="permission" class="alert" hidden>
This game requires permission to use your devices’s motion sensors.
<button type="button" id="request">Request permissions</button>
</div>
<div id="settings" class="alert" hidden>
<button type="button" data-back>Back</button>
<button type="button" data-share hidden>Share</button>
<button type="button" data-sound>Toggle sound</button>
<button type="button" data-progress>Reset game progress</button>
<button type="button" data-intro>Rewatch intro</button>
</div>
</body>
</html>