-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
49 lines (47 loc) · 1.21 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
<!DOCTYPE html>
<html>
<head>
<title>topdown-physics</title>
<style type="text/css">
#instructions {
position: absolute;
top: 1em;
left: 1em;
padding: 1em;
max-width: 240px;
background: #000;
background: rgba(0,0,0,0.8);
color: #fff;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 12px;
line-height: 1.5em;
font-weight: 600;
}
a {
color: #85CAE8;
text-decoration: none;
border-bottom: 1px solid #85CAE8;
}
p {
margin-top: 0;
}
</style>
</head>
<body>
<div id="instructions">
<p>
Use the arrow keys or WASD to move around,
left click to destroy blocks and
right click to create them.
</p>
<p>
The world is persistent:
refreshing will take you back to the center,
but your changes are stored locally using
<a href="http://github.com/maxogden/level.js">level.js</a>.
</p>
Source available on <a href="http://github.com/hughsk/topdown-physics">Github</a>.
</div>
<script type="text/javascript" src="bundle.js"></script>
</body>
</html>