-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplay.html
37 lines (37 loc) · 1.11 KB
/
play.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
<!doctype html>
<meta charset="utf-8">
<title>Play a Level</title>
<script src="third-party/phaser.min.js"></script>
<style>
body { margin: 0; }
@font-face { font-family: 'Bebas'; src: url('fonts/bebasbold.ttf') format('truetype');}
@font-face { font-family: 'bebaslight'; src: url('fonts/bebaslight.ttf') format('truetype');}
body { font-family: 'Bebaslight';}.fontLoader { position: absolute; left: -1000px;}
.fontLoader2 { font-family: 'bebas'; position: absolute; left: -1000px;}
#popup {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, .5);
display: none;
padding: 24px;
cursor: pointer;
color: #ffffff;
}
pre {
font: 12px consolas, monospace;
}
</style>
<body>
<div id="popup"></div>
<script src="src/config.js"></script>
<script src="src/utils.js"></script>
<script src="src/editor.js"></script>
<script src="src/main.js"></script>
<script src="src/levels.js"></script>
<script src="src/membrane.js"></script>
<script src="src/forces.js"></script>
<span class="fontLoader">.</span>
<span class="fontLoader2">.</span>