forked from ANerdyElva/JS13K
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (118 loc) · 2.67 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
107
108
109
110
111
112
113
114
115
116
117
118
<html>
<head>
<title>JS13kGame - Visible & Co.</title>
<style>
body {
margin: 0;
}
.intro {
width: 40%;
height: 80%;
overflow: auto;
position: absolute;
top: 10%;
left: 30%;
background: white;
padding: 6px;
border-radius: 6px;
}
.intro * {
color: white;
}
.ui_t {
position: absolute;
width: 100%;
top: 0;
}
.ui_b {
position: absolute;
width: 100%;
bottom: 0;
}
.ui {
margin: 0 auto;
background: white;
border-radius: 6px;
width: 493px;
display: none;
}
.ui div {
margin: 0 auto;
width: 476px;
}
.ui_b label {
text-align: center;
color: black;
height: 90px;
padding-top: 16px;
}
.ui img {
padding: 0 14px;
}
.ui label {
display: inline-block;
}
.ui input {
display: none;
}
input[type="radio"]:checked+label {
background: rgba( 0, 255, 255, 0.3 );
}
.ui_t .ui > span {
display: block;
}
</style>
</head>
<body>
<canvas style="width:100%;height:100%;" width="1024" height="768"></canvas>
<canvas class="p" width="512" height="512"></canvas>
<canvas class="p" width="64" height="64"></canvas>
<div class="intro"></div>
<div class="ui_b">
<form class="ui uV">
<div>
<input name="g" type="radio" value="floor" id="r1"></input>
<label for="r1">
<img offset="128 0" /><br />
Toggle Floor
</label>
<input name="g" type="radio" value="freeze" id="r2">
<label for="r2">
<img offset="192 64" /><br />
Freeze TDS©
</label>
<input name="g" type="radio" value="shock" id="r3"></input>
<label for="r3">
<img offset="320 64" /><br />
Shock TDS©
</label>
<input name="g" type="radio" value="alarm" id="r4"></input>
<label for="r4">
<img offset="256 64" /><br />
Alarm TDS©
</label>
<input name="g" type="radio" value="sigil" id="r5"></input>
<label for="r5" style="display:none" class="bH">
<img offset="0 128" /><br />
Attract guard.
</label>
<label class="bV" onclick="scene.start()">
<img offset="256 128" /><br />
Start game.
</label>
</div>
</form>
</div>
<div class="ui_t">
<div class="ui uH" id="nT">
</div>
</div>
<script src="mjs.js"></script>
<script src="util.js"></script>
<script src="flowmap.js"></script>
<script src="util_gl.js"></script>
<script src="game_pcg.js"></script>
<script src="game_data.js"></script>
<script src="game.js"></script>
</body>
</html>