-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (30 loc) · 1.28 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
<html>
<head>
<title>Legend of Tomnjam</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="main.d.js" defer></script>
<link href="https://img.superwebtricks.com/files/swt-keyboard-keys.css" rel="stylesheet" type="text/css" />
<style>
/* Font by DarkAngelX on DeviantArt */
@font-face { font-family: Triforce; src: url('styles/Triforce.ttf'); }
</style>
</head>
<!-- Drawing images on the canvas for some reason requires the images to be
already embedded in the HTML so they're hidden -->
<img src="sprites/texture.png" style="display: none">
<img src="sprites/obstacle.png" style="display: none">
<img src="sprites/end.png" style="display: none">
<img src="sprites/door.png" style="display: none">
<img src="sprites/spritesheet.png" style="display: none">
<img src="sprites/enemysprites.png" style="display: none">
<body style="font-family:Triforce">
<p id="gui"> </p>
<p>
<h3>How to play:</h3>
<img src="https://clipart-library.com/img1/1670524.png" style="width:7%;height:auto;">
Move
<swt-white-kbk>J</swt-white-kbk> Attack
</p>
</body>
</html>