-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboulder.html
26 lines (26 loc) · 1.04 KB
/
boulder.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
<html>
<head>
<title>Boulder</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="ScreenOrientation" content="autoRotate:disabled">
<link rel="stylesheet" type="text/css" href="main.css">
<style>
.visuallyhidden {
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px; width: 1px;
margin: -1px; padding: 0; border: 0;
}
</style>
</head>
<body>
<canvas id='canvas' width=480 height=600 style="background-color:white;">
</canvas>
<script src="kontra.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@hughsk/[email protected]/dist/fulltilt.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/gyronorm.min.js"></script>
<script src="boulder.js"></script>
<div>Tilt your phone to move the boulder and squish dots</div>
</body>
</html>