-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (32 loc) · 901 Bytes
/
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
<!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>
<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;
}
</style>
</head>
<body>
<canvas id="renderCanvas"></canvas>
<script type="text/javascript">
window.game = new window.game.Game();
</script>
</body>
</html>