-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (25 loc) · 1.13 KB
/
index.html
File metadata and controls
27 lines (25 loc) · 1.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Undertale with WebGL</title>
<link rel="stylesheet" href="style.css">
<script type="module" src="src/init.js"></script>
</head>
<body>
<p>Welcome to Undertale wannabe fighting mechanism in WebGL!</p>
<p>Use your <strong>left</strong> or <strong>right</strong> arrow to move horizontally.</p>
<p>Use your <strong>up</strong> arrow to jump! The longer you hold the <strong>up</strong> arrow, the higher you jump.</p>
<p>Feel free to move around first, after you're ready, click the <strong>start</strong> button to spawn the enemies!</p>
<canvas id="webgl-canvas">Your browser does not support HTML5 Canvas</canvas>
<p id="error-container"></p>
<p id="message-container"></p>
<button id="control-button" type="button">Start</button>
<p></p>
<audio controls id="music">
<source src="assets/sawsquarenoise_-_03_-_Towel_Defence_Ingame.mp3" type="audio/mpeg">
</audio>
<p>Music by <a href="https://freemusicarchive.org/music/sawsquarenoise">sawsquarenoise</a></p>
</body>
</html>