hextris/index.html

107 lines
4.2 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang='en'>
2014-05-24 00:22:53 +00:00
<head>
<title>Hextris</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, minimal-ui"/>
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" type="text/css" href="style.css">
<style>
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto Regular'), local('Roboto-Regular'), url("fonts/roboto.woff") format('woff');
}
2014-05-26 16:52:57 +00:00
@font-face {
2014-05-26 17:38:47 +00:00
font-family: 'Q';
2014-05-26 16:52:57 +00:00
font-style: normal;
font-weight: 400;
2014-05-26 17:38:47 +00:00
src: local('Q Regular'), local('Q-Regular'), url("fonts/QuattrocentoSans-Regular.ttf") format('ttf');
2014-05-26 16:52:57 +00:00
}
2014-05-18 18:12:33 +00:00
* {
padding: 0;
margin: 0;
}
2014-05-22 21:04:57 +00:00
body {
color: #ecf0f1;
font-family: 'Roboto', sans-serif;
background-color:#ecf0f1;
}
2014-05-17 22:47:37 +00:00
#clickToExit {
cursor:pointer;
}
2014-05-23 20:13:23 +00:00
#canvas {
2014-05-31 15:13:40 +00:00
transition: all 0.5s ease;
position: absolute;
2014-05-25 16:02:22 +00:00
left:0;
right:0;
/*height:100%;
width:100%;*/
background-color:#ecf0f1;
z-index:3;
}
#title {
2014-05-27 01:05:58 +00:00
z-index:9000;
margin-top:20px;
color:#2c3e50;
}
2014-05-24 00:22:53 +00:00
</style>
</head>
<body>
2014-05-27 23:44:47 +00:00
<canvas id="canvas"></canvas>
<div id='devtools' style='z-index:3;display:none;position:absolute;left:50%;width:400px;height:400px;top:50%;margin-top:-200px;margin-left:-200px;'>
<h2 id = 'clickToExit' style = 'background-color:#fff;color:#000'>Click to exit</h2>
<textarea id ='devtoolsText' style = 'height:300px;width:400px;'></textarea>
2014-05-24 00:22:53 +00:00
</div>
<script type = 'text/javascript' src="vendor/hammer.min.js"></script>
2014-05-26 03:52:35 +00:00
<script type = 'text/javascript' src="vendor/jsonfn.min.js"></script>
2014-05-24 00:22:53 +00:00
<script type = 'text/javascript' src="vendor/keypress.min.js"></script>
<script type = 'text/javascript' src="vendor/jquery.js"></script>
2014-05-26 03:52:35 +00:00
<script type = 'text/javascript' src="js/save-state.js"></script>
2014-05-24 00:22:53 +00:00
<script type = 'text/javascript' src="js/view.js"></script>
<script type = 'text/javascript' src="js/wavegen.js"></script>
<script type = 'text/javascript' src="js/math.js"></script>
<script type = 'text/javascript' src="js/entities.js"></script>
2014-05-26 04:06:41 +00:00
<script type = 'text/javascript' src="js/Block.js"></script>
<script type = 'text/javascript' src="js/Clock.js"></script>
<script type = 'text/javascript' src="js/Text.js"></script>
2014-05-24 00:22:53 +00:00
<script type = 'text/javascript' src="js/checking.js"></script>
2014-05-26 04:06:41 +00:00
<script type = 'text/javascript' src='js/update.js'></script>
<script type = 'text/javascript' src='js/render.js'></script>
2014-05-24 00:22:53 +00:00
<script type = 'text/javascript' src="js/main.js"></script>
2014-05-27 01:05:58 +00:00
<script type = 'text/javascript' src="js/input.js"></script>
2014-05-24 00:22:53 +00:00
<script type = 'text/javascript' src="js/analytics.js"></script>
2014-05-27 01:05:58 +00:00
<div id="helpScreen">
<h1 style="margin-left:5%;">Instructions</h1>
<br>
<p style="margin-left:5%;">
The goal of Hextris is to keep your stacks managed and inside the outer gray hexagon.
<br>
<br>
You control the rotation of the inner hexagon with your arrow keys (or by tapping the left and right sides of the screen if you're so inclined)
<br>
<br>
Your score is based on the amount of blocks you clear in one combo, as well as the number of consecutive combos you can achieve
<br>
<br>
At any time you can pause by pressing p and restart by pressing enter.
<br>
<br>
If you want to report a bug you can press I and send it to ___@gmail.com with the text that pops up and the issue you've encountered
<br>
<br>
</p>
</div>
<div onClick="showHelp()" id="openSideBar">?</div>
2014-05-31 15:13:40 +00:00
<div id="overlay" class="faded"></div>
2014-05-24 00:22:53 +00:00
</body>
2014-05-24 16:48:46 +00:00
</html>