-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathultra_hex.html
58 lines (53 loc) · 2.33 KB
/
ultra_hex.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
57
58
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ultra Hexagon</title>
<link rel="stylesheet" href="./stylesheets/flexagon.css" media="screen" title="no title" charset="utf-8">
<link href='https://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js' charset="utf-8"></script>
</head>
<body>
<audio preload="auto" loop src="https://briansdopetracks.s3-us-west-1.amazonaws.com/tracks/audio/25e56fc5-8a10-4aaf-9440-6e99a0e9bd89.mp3">
</audio>
<header id="header-image"></header>
<div class="container">
<div class="open-tab" id="hidden">+</div>
<div class="instructions-tab">
<div class="close-tab">x</div>
<div class="instructions">
<br>
<p>
1 - SPACE to start<br><br>
2 - LEFT and RIGHT to move<br><br>
3 - EVADE WALLS for as long as you can.<br><br>
4 - SPEED and DIFFICULTY will increase...quickly<br><br>
5 - Only the FRONT EDGE of a wall will end your turn<br><br>
6 - GOOD LUCK<br><br>
<span class="green">PS - Headphones strongly advised. <br />
"q" for music control.
</span>
</p>
</div>
</div>
<canvas id="game-canvas" width="800" height="600"></canvas>
<h2 id="timer">
TIME ALIVE: <br />
<span class="green" id="running-timer">00.00</span> <br />
HIGH SCORE: <br />
<span class="green" id="high-score">00.00</span><br />
ALL TIME: <br />
<span class="green" id="all-time">86.48</span><br />
<br>
<span class="tunes">TUNES:</span><br />
<button id="big-play-button">▶</button>
</h2>
<script src="./javascripts/bundle.js" charset="utf-8"></script>
</div>
<div class="bottom">
<p>Ultra Hexagon is a project by me, Brian. (<a href="http://www.briangerson.me" target="_blank">psst, here's my portfolio!</a>). </p>
<p>It's inspired by my favorite twitchy game of all time, the masterful <a href="http://superhexagon.com/" target="_blank">Super Hexagon</a> by Terry Cavanagh. Please buy his game.</p>
<p> Music is <a href="http://chipzel.co.uk/" target ="_blank">Chipzel</a> - Spectra.</p>
</div>
</body>
</html>