-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
107 lines (96 loc) · 3.18 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<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/FirstPersonControls.js"></script>
<script src="controls/ThirdPersonControls.js"></script>
<script src="utils/Level.js"></script>
<script src="utils/LevelLoader.js"></script>
<script src="utils/levelStateLog.js"></script>
<script src="jquery-3.2.1.min.js"></script>
<script src="controls/ManaBar.js"></script>
<link rel="stylesheet" href="gameplay.css" type="text/css" />
<style>
body {
margin: 0;
background-color : black;
}
#view
{
position: fixed;
width: 100%;
height: 100%;
}
.label{
position : fixed;
top : 10px;
left : 10px;
color : white;
z-index : 10;
}
</style>
</head>
<body>
<div id="view">
<div id="start">Press Enter</div>
<div id="cursor">
+
</div>
<div id="mana-container">
<div id="mana-bar"></div>
</div>
<div id="rotations">
<span id="xw" style="color : white;">XW</span>
<span id="yw">YW</span>
<span id="zw" style="text-shadow : 0 0 0 black;">ZW</span>
</div>
<div id="start-text"></div>
<div id="end-text"></div>
<div id="sky-view" style="display : none;"></div>
<div id="goal-img" style="display : none;">
<img src=""></img>
</div>
<div id="level-title"></div>
<div id="tuto">
<div id="controls">
Use ZQSD to move. <br />
Keep the mouse button pressed on a highlighted object to select it <br />
Use A/E to make it rotate along the fourth dimension
</div>
<div class="goal-tuto" style="display : none;">
<div id="target">Here is your target image</div>
<div id="topdown">Here you can see a top-down view of the level</div>
</div>
<div id="mana-tuto">
Here is your 4D-rotation-mana, spend it wisely !
</div>
<div id="rotation-help">
<div id="rotation-control">Use Shift to change the rotation plane</div>
<div id="r1"> this is your current rotation plane</div>
<div id="r2"> this rotation is allowed</div>
<div id="r3"> this rotation is forbiden</div>
</div>
</div>
<a href="#" id="retry">Retry</a>
<a id="selection" href="levelSelection.html">Back to level selection</a>
</div>
<script src="main.js"></script>
</body>
</html>