/
index.html
53 lines (45 loc) · 1.43 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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Babylon.js Generated Template</title>
<script src="./dist/bundle.js" type="text/javascript"></script>
<script src="./node_modules/cannon/build/cannon.js" type="text/javascript"></script>
<link href="https://fonts.googleapis.com/css2?family=Ceviche+One&family=Viga&display=swap" rel="stylesheet">
<style rel="stylesheet" type="text/css">
html,
body {
overflow: hidden;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#renderCanvas {
position: absolute;
width: 100%;
height: 100%;
top: 0;
touch-action: none;
-ms-touch-action: none;
}
.disable-selection {
-moz-user-select: none;
-ms-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
user-select: none;
outline: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */
}
</style>
</head>
<!--<body> -->
<body class="disable-selection">
<canvas id="renderCanvas"></canvas>
<script type="text/javascript">
window.game = new window.game.Game();
</script>
</body>
</html>