forked from Glowstick0017/Little-Plane-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
164 lines (157 loc) · 6.82 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>The little plane project</title>
<link rel="stylesheet" type="text/css" href="css/Style.css">
<link rel="icon" href="css/tlpp-icon.png">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="Fly through a procedurally generated web world!" name="description">
<meta content="procedural, perlin, noise, world, flight simulator" name="keywords">
<meta content="Robbie // Glowstick#0017" name="author">
<meta data-n-head="ssr" data-hid="theme-color" name="theme-color" content="#770618">
<meta data-n-head="ssr" data-hid="og:image" name="og:image" property="og:image"
content="https://glowstick.me/tlpp/css/tlpp-icon.png">
<meta data-n-head="ssr" data-hid="og:image:width" name="og:image:width" property="og:image:width" content="512">
<meta data-n-head="ssr" data-hid="og:image:height" name="og:image:height" property="og:image:height" content="512">
</head>
<body>
<div id="canvas-container">
<canvas id="planeCanvas"></canvas>
<canvas id="canvas"></canvas>
</div>
<div id="menu">
<div id="hamburger">
</div>
<div id="nav">
<ul>
<li id="customize">✈️ Plane Colors</li>
<li id="settings">⚙️ Settings</li>
<li id="projectInfo"><a
href="https://github.com/Glowstick0017/Little-Plane-Project/?tab=readme-ov-file#the-little-plane-project"
style="color: inherit; text-decoration: inherit;"
target="_blank">🌐️ Project Info</a></li>
<li id="support"><a
href="https://github.com/sponsors/Glowstick0017"
style="color: inherit; text-decoration: inherit;"
target="_blank">❤️ Support Us</a></li>
</ul>
</div>
</div>
<div id="ui">
<div id="welcome" style="display: block">
<h3>Welcome to The Little Plane Project</h3>
<p>Use the arrow keys to navigate the world</p>
<img src="css/arrowKeys.png" alt="Arrow keys" height="100">
<p>Use the command box to interact with the world</p>
<img src="css/enter.png" alt="Enter Key" height="80">
<p>Use the menu to change settings and customize your plane</p>
<img src="css/hamburger.png" alt="Hamburger Menu" height="70">
</br>
</br>
</br>
</br>
<img src="css/start.png" alt="Start" id="start" height="100">
<a href="https://github.com/Glowstick0017/Little-Plane-Project/?tab=readme-ov-file#the-little-plane-project"
style="color: purple; text-decoration: inherit" target="_blank">
<p>Learn more about The Little Plane Project</p>
</a>
</div>
<div id="customizeMenu">
<h3>Customise your plane</h3>
<div class="planeColors">
<div>
<input type="color" id="outer" name="outer" value="#770619" />
<label for="outer">Outer</label>
</div>
<div>
<input type="color" id="innerMain" name="innerMain" value="#ac322e" />
<label for="innerMain">Main</label>
</div>
<div>
<input type="color" id="innerHighlight" name="innerHighlight" value="#d85665" />
<label for="innerHighlight">Highlight</label>
</div>
<div>
<input type="color" id="innerDarkHighlight" name="innerDarkHighlight" value="#8c0308" />
<label for="innerDarkHighlight">Dark Highlight</label>
</div>
<div>
<input type="color" id="aroundWindshield" name="aroundWindshield" value="#570101" />
<label for="aroundWindshield">Around Windshield</label>
</div>
<div>
<input type="color" id="windshield" name="windshield" value="#0ba0d2" />
<label for="windshield">Windshield</label>
</div>
<div>
<input type="color" id="propeller" name="propeller" value="#333333" />
<label for="propeller">Propeller</label>
</div>
<div>
<input type="color" id="propellerBlades" name="propellerBlades" value="#b3b3b3" />
<label for="propellerBlades">Propeller Blades</label>
</div>
<img src="css/default.png" alt="Reset Default Colors" id="resetDefault" height="35" width="150">
</div>
</div>
<div id="settingsMenu">
<h3>Settings</h3>
<div class="options">
<div>
<label id="color">Color</label>
</div>
<div>
<label id="quality">Quality</label>
</div>
<div>
<label id="seed">Seed</label>
</div>
<div>
<label id="speed">Speed</label>
</div>
<div>
<label id="coordinates">Coordinates</label>
</div>
<!-- change settings from menu
<div>
<input id="color" type="checkbox"/>
<label for="color">Color</label>
</div>
<div>
<input id="quality" type="text" value="quality"/>
<label for="quality">Quality</label>
</div>
<div>
<input id="seed" type="text"/>
<label for="seed">Seed</label>
</div>
<div>
<input id="speed" type="text"/>
<label for="speed">Speed</label>
</div>
<div>
<input id="coordinates" type="text"/>
<label for="coordinates">Coordinates</label>
</div>
-->
</div>
</div>
</div>
<input type="text" id="commandBox" autocomplete="off">
<textarea id="result" disabled></textarea>
<label id="coords">X = 0 Y = 0</label>
<img src="css/WASD.png" alt="WASD controls" id="navigateControls" height="100">
</body>
<footer>
<script src="engine/TerrainColor.js"></script>
<script src="engine/Perlin.js"></script>
<script src="engine/SHA256.js"></script>
<script src="engine/Engine.js"></script>
<script src="engine/CommandHandler.js"></script>
<script src="engine/Commands.js"></script>
<script src="engine/Plane.js"></script>
<script src="engine/Controls.js"></script>
<script src="engine/Ui.js"></script>
</footer>
</html>