-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (84 loc) · 3.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Cosmosis</title>
<script type="application/javascript">
// Disable annoying messages about downloading react dev tools.
__REACT_DEVTOOLS_GLOBAL_HOOK__ = {
supportsFiber: true,
inject: function() {},
onCommitFiberRoot: function() {},
onCommitFiberUnmount: function() {},
};
</script>
<!-- <script src="node_modules/three/examples/js/libs/ammo.wasm.js"></script> -->
<!-- <script src="hackedlibs/ammo/ammo.wasm.js"></script>-->
<script type="text/javascript">
window.debug = {
_info: 'Variables and functions may be stored inside the debug ' +
'object from anywhere in the project. This is to make debugging ' +
'easier from the developer console.'
};
// nw.Window.get().showDevTools();
</script>
<script type="text/javascript" src="build/game.js"></script>
<!-- <link rel="stylesheet" href="node_modules/semantic-ui-css/semantic.min.css" />-->
<link rel="stylesheet" href="/css/semantic.min.css">
<link rel="stylesheet" href="/css/semantic.supervillain.css">
<link rel="stylesheet" href="/css/fonts.css">
<link rel="stylesheet" href="/css/app.css">
<link rel="stylesheet" href="/css/uiPlaceholders.css">
<link rel="stylesheet" href="/css/splash-animations.css">
<link rel="stylesheet" href="/css/checkboxes.css">
<link rel="stylesheet" href="/css/react.css">
<link rel="stylesheet" href="/css/kosm.css">
<link rel="stylesheet" href="/css/fade-animations.css">
<link rel="stylesheet" href="/css/kosm-scrollbar.css">
<link rel="stylesheet" href="/app/debugger/style.css">
</head>
<body style="background-color:#111111;">
<div id="modalRoot"></div>
<div id="reactRoot"></div>
<div>
<div class="loading-indicator">
<div id="loading-text">
Cosmosis build --<br>
Loading...<br>
</div>
</div>
<div class="loading-indicator">
<img class="splash-spinning" src="/potatoLqAssets/icons/loader.png">
</div>
</div>
<div id="player-mode"></div>
<div id="hyperdrive"></div>
<div id="hyperdrive-stats"></div>
<div id="snackbar">toast area</div>
<div id="crosshairs"></div>
<div id="speed-tracker"></div>
<div id="boot-log"></div>
<canvas id="galaxy-canvas"></canvas>
<canvas id="far-object-canvas"></canvas>
<canvas id="near-object-canvas"></canvas>
<canvas id="starfield-canvas"></canvas>
<!-- maybe offer rendering method in g.settings: skybox | realtime. skybox default -->
<!--
Description:
'Skybox' caches star renders and only updates them once the players has moved a
considerable distance. 'Realtime' on the other hand updates each frame. The
'Skybox' option is therefore much gentles on the GPU as it will often need to
recalculate star data as little as once an hour (or less) when not travelling
much. 'Realtime' on the other hand will recalculate star data 60 times a second
(or more, on fast GPUs) making it far more resource intensive.
Benefits of either:
* Skybox uses far fewer resources. Might cause a tiny amount of stutter for a
second when it updates.
* Worse performance, but performance is more consistent. Star movement might
look a tiny amount more realistic during very distance hyperspace jumps.
-->
</body>
</html>