-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
106 lines (87 loc) · 1.94 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<head>
<title>Snowman's Land: Snoverchill</title>
<script src="code/svgColParse.js"></script>
<script src="code/gameScene.js"></script>
<script src="code/clientScene.js"></script>
<script src="code/collider.js"></script>
<script src="code/player.js"></script>
<script src="code/particles.js"></script>
<script src="code/bullets.js"></script>
<script src="code/gameUI.js"></script>
<script src="code/snowmanGen.js"></script>
<script src="code/sasScene.js"></script>
<script src="lib/gl-matrix.js"></script>
<script src="code/game.js"></script>
<style>
html {
width: 100%;
height: 100%;
}
body {
background-image: url("pagebg.png");
background-position: center center;
margin: 0px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#container {
width: 100%;
height: 100%;
}
#center {
position: absolute;
top: 50%;
left: 50%;
margin-top: -384px;
margin-left: -512px;
}
#game {
margin: -1px;
border: 1px #00468C solid;
}
#game:focus {
outline: none;
}
#name {
position: absolute;
margin-top: -2px;
width: 100%;
height: 30px;
text-align: center;
font: bold 16px Verdana;
color: white;
color: #00468C;
}
#inst {
position: absolute;
margin-top: -20px;
width: 100%;
height: 30px;
text-align: center;
font: bold 15px Verdana;
color: white;
color: #00468C;
}
a {
color: #0080FF;
}
</style>
</head>
<body onload="ld31 = new game(document.getElementById('game'));">
<div id = "container">
<div id = "center">
<div id="inst">
Click to shoot snowballs. E&R to rotate. Space to Jump. W to toggle zoom. Hold tab for Scoreboard. Enter to chat!
</div>
<canvas id="game" width="1024" height="768" tabindex="0"></canvas>
<div id="name">
Made by <a href="http://twitter.com/RHY3756547">RHY3756547</a> for the <a href="http://www.ludumdare.com/compo/">Ludum Dare 48h compo.</a>
</div>
</div>
</div>
</body>