forked from RPG-Paper-Maker/Game-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (54 loc) · 1.44 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta name='viewport' content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0, default-src 'self'">
<style>
body {
margin: 0;
padding: 0;
overflow: hidden;
}
#three-d {
margin: 0;
padding: 0;
overflow: auto;
position: absolute;
}
#video-container {
margin: 0;
padding: 0;
overflow: auto;
position: absolute;
}
#hud {
position: absolute;
margin: 0;
padding: 0;
}
#rendering {
display: none;
overflow: hidden;
background-color: green;
}
.hidden {
display: none;
}
</style>
</head>
<body>
<div id='three-d'></div>
<video id='video-container' class='hidden' height='480px'></video>
<canvas id='hud' width='640px' height='480px'></canvas>
<canvas id='rendering' width='4096px' height='4096px'></canvas>
<script src='Content/Datas/Scripts/System/vendor/three.min.js'></script>
<script src='Content/Datas/Scripts/System/vendor/physi.js'></script>
<script src='Content/Datas/Scripts/System/vendor/howler.min.js'></script>
<script src='Content/Datas/Scripts/System/loaders/objLoader.js'></script>
<script>
Physijs.scripts.worker = 'Content/Datas/Scripts/System/vendor/physijs_worker.js';
Physijs.scripts.ammo = 'Content/Datas/Scripts/System/vendor/ammo.js';
</script>
<script src='Content/Datas/Scripts/System/includes.js'></script>
</body>
</html>