-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (58 loc) · 1.48 KB
/
index.html
File metadata and controls
58 lines (58 loc) · 1.48 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"
/>
<title>Rune World</title>
<link rel="stylesheet" href="styles.css" />
<link rel="preload" href="background_1.jpg" as="image" />
<link rel="preload" href="ship_dome.png" as="image" />
<link rel="preload" href="ship_saucer.png" as="image" />
<link rel="preload" href="ship_thruster.png" as="image" />
</head>
<body>
<div id="game-images">
<img
id="background"
src="background_1.jpg"
class="hidden-img"
height="100%"
width="100%"
/>
<img
id="ship-dome"
class="hidden-img"
src="ship_dome.png"
height="44"
width="58"
/>
<img
id="ship-saucer"
class="hidden-img"
src="ship_saucer.png"
height="41"
width="78"
/>
<img
id="ship-thruster"
class="hidden-img"
src="ship_thruster.png"
height="70"
width="36"
/>
</div>
<main>
<canvas id="game-canvas"></canvas>
<div id="rune-world-root"></div>
<div id="joystick-root"></div>
<div id="thruster-button">
<img src="button_thruster.png" width="100%" />
</div>
</main>
<script type="module" src="/src/logic.ts"></script>
<script type="module" src="/src/client.tsx"></script>
</body>
</html>