-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (25 loc) · 1.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Spaceship | WasteCollector</title>
<link rel="stylesheet" href="stylesheet.css">
<link rel="icon" href="images/energy.png">
</head>
<body >
<div id="main">
<h2 align="center">Spaceship</h2>
<p align="center">Use WASD to move, press space to change the collector type</p>
<p align="center">The right match gives your ship energy while an incorrect one reduces energy.</p>
<p align="center">Stay alive!</p>
<canvas id="canvas" height="600px" width="600px"
style="border: 2px solid black; align-self: auto">
</canvas>
</div>
<audio id="music" type="audio/mp3" src="sound/seer_bgm.mp3" loop=true>
</audio>
<script type="module" src="scene.js"></script>
<!-- <img class="asset" src="images/spaceship.png"> -->
<!-- <script type="text/javascript" src="Menu.js"></script> -->
</body>
</html>