forked from abstractstudio/drift
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_drift.html
More file actions
46 lines (46 loc) · 2.17 KB
/
Copy pathindex_drift.html
File metadata and controls
46 lines (46 loc) · 2.17 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
<html>
<head>
<title>Chincoteague Drift</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=0">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
<style>
@font-face { font-family: Bit; src: url("assets_drift/PressStart2P.ttf") format("truetype"); }
body { text-align: center; margin: 2em 0em; background-color: white; font-family: Open Sans; font-size: 16px; }
canvas { border-radius: 0.5em; padding-bottom: 4em; }
p { width: 550; margin: 1em auto; }
a { text-decoration: none; font-weight: bold; color: inherit; }
</style>
<script type="text/javascript">
var ENGINE = "abstractengine/";
var engine;
function start() {
require(["drift.js"], function() {
console.log("Loaded Drift");
var canvas = document.getElementById("canvas");
engine = new Drift(canvas);
engine.start();
});
}
</script>
<script type="text/javascript" src="abstractengine/setup.js"></script>
</head>
<body>
<canvas width=600 height=690 id="canvas">HTML5 unavailable</canvas>
<p>
Chincoteague Drift is a skill-based boating game where you must use the slow,
trundling drift of the research barge to dodge the dangerous obstacles. See how far you can drift!<br><br>
Use <b>A</b> or <b>←</b> to turn left and <b>D</b> or <b>→</b> to turn right. <b>W</b> and <b>→</b> boost the boat.
Bonuses are awarded for narrowly skirting around obstacle.
</p>
<p>
Known issues<br>
- The boat collision box is slightly weird<br>
- Obstacle generation can be impossible<br>
</p>
<p>
Art by Dylan K, Maya G, and Noah Kim<br>
Developed for the Abstract Engine<br>
By Noah Kim and Arman Siddique as <a href="https://github.com/abstractstudio">Abstract Studio</a><br>
</p>
</body>
</html>