-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
82 lines (76 loc) · 2.16 KB
/
demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<script src="jquery-3.2.1.min.js"></script>
<script src="three.min.js"></script>
<script src="fourdee.js"></script>
<script src="geometries/Geometry4D.js"></script>
<script src="geometries/BoxGeometry4D.js"></script>
<script src="geometries/Box3DGeometry4D.js"></script>
<script src="geometries/PentacoreGeometry.js"></script>
<script src="geometries/Prism4DGeometry4D.js"></script>
<script src="geometries/Pyramid4DGeometry4D.js"></script>
<script src="math/Euler4D.js"></script>
<script src="math/Matrix5.js"></script>
<script src="math/Vector5.js"></script>
<script src="objects/Mesh4D.js"></script>
<script src="objects/Points4D.js"></script>
<script src="objects/Space4D.js"></script>
<script src="objects/Player.js"></script>
<script src="objects/LevelObject.js"></script>
<script src="controls/Controls.js"></script>
<script src="controls/MobileControls.js"></script>
<script src="utils/Level.js"></script>
<script src="utils/LevelLoader.js"></script>
<script src="utils/levelStateLog.js"></script>
<script src="controls/ManaBar.js"></script>
<style>
body {
margin: 0;
background-color : black;
}
#view
{
position: fixed;
width: 100%;
height: 100%;
}
#view span, #left, #right{
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#view>span{
position : fixed;
width : 100%;
top : 20px;
text-align: center;
color : white;
font-size : 1.8em;
text-shadow : 0 0 10px white;
}
#left, #right{
position : fixed;
width : 25%;
top : 30%;
text-align: center;
color : white;
font-size : 100px;
text-shadow : 0 0 10px white;
}
#right{
right : 0;
}
</style>
</head>
<body>
<div id="view">
<span>short touch : change rotation | long touch : toogle wireframe</span>
<div id="right"> <span> > </span> </div>
<div id="left"> <span> < </span> </div>
</div>
<script src="mobilemain.js"></script>
</body>
</html>