-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (52 loc) · 1.08 KB
/
index.html
File metadata and controls
59 lines (52 loc) · 1.08 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
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE HTML>
<html>
<head>
<style>
html{
height: 100%;
}
body{
margin: 0;
padding: 0;
height: 100%;
width: 100%;
overflow: hidden;
}
#gameCanvas{
background-color: #2c343f;
width: 100%;
height: 100%;
image-rendering: pixelated;
z-index: 2;
}
</style>
</head>
<body>
<script>
var gui = require('nw.gui');
var win = gui.Window.get();
win.on('close', function() {
this.hide();
quitGame();
this.close(true);
});
</script>
<canvas id="gameCanvas"></canvas>
<script src="seedrandom.min.js"></script>
<script src="perlin.js"></script>
<script src="packets.js"></script>
<script src="client.js"></script>
<script src="resources.js"></script>
<script src="easing.js"></script>
<script src="item.js"></script>
<script src="inventory.js"></script>
<script src="guiHud.js"></script>
<script src="tile.js"></script>
<script src="input.js"></script>
<script src="level.js"></script>
<script src="entity.js"></script>
<script src="entityItem.js"></script>
<script src="player.js"></script>
<script src="game.js"></script>
</body>
</html>