/
index.html
59 lines (59 loc) · 1.51 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Sakata Mountain</title>
<style>
#cmd_start {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: black;
color: white;
font-size: 10vw;
text-align: center;
display: flex;
justify-content: center;
align-content: center;
flex-direction: column;
}
.noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
</style>
</head>
<script src="script/pixi/pixi.min.js"></script>
<script src="script/pixi/pixi-sound.js"></script>
<script src="script/util.js"></script>
<script src="script/input.js"></script>
<script src="script/levelmap.js"></script>
<script src="script/scene_loading.js"></script>
<script src="script/scene_level.js"></script>
<script src="script/scene_title.js"></script>
<!--
<script src="script/scene_end.js"></script>
<script>
function startGame() {
document.body.appendChild(app.view);
setGameSize();
window.onresize = setGameSize;
load(0);
var btn = document.getElementById("cmd_start");
btn.parentElement.removeChild(btn);
}
</script>
-->
<body>
<!--
<div id="cmd_start" class="noselect" onclick="startGame()">START</div>
-->
<script src="script/main.js"></script>
</body>
</html>