-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (62 loc) · 2.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Monster World</title>
<link rel="icon" type="image/x-icon" href="assets/img/favicon.png">
<link rel="stylesheet" type="text/css" href="styles/styles.css">
</head>
<div class="content">
<div class="relative">
<canvas></canvas>
<div id="overlay" class="overlay"></div>
<div class="battleInterface" hidden>
<!-- Opponent Monster Health Bar -->
<div class="monsterInfo monster-1">
<h1>Draggle</h1>
<div class="relative-pos">
<div class="healthBar"></div>
<div id="enemyHealthBar" class="healthBar green"></div>
</div>
</div>
<!-- Player Monster Health Bar -->
<div class="monsterInfo monster-2">
<h1>Emby</h1>
<div class="relative-pos">
<div class="healthBar"></div>
<div id="playerHealthBar" class="healthBar green"></div>
</div>
</div>
<div class="attackBar">
<div class="attackBarDialogue" hidden>
</div>
<div class="attackSelection">
</div>
<div class="attackInfo">
<h1></h1>
</div>
</div>
</div>
</div>
<div class="relative instructions">
<div>
<img src="assets/img/wasd.png" alt="" srcset="" class="">
<h1>Navigate</h1>
</div>
<div>
<img src="assets/img/left-click.png" alt="" srcset="" class="">
<h1>Choose attcks in battle</h1>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.4/howler.min.js" integrity="sha512-xi/RZRIF/S0hJ+yJJYuZ5yk6/8pCiRlEXZzoguSMl+vk2i3m6UjUO/WcZ11blRL/O+rnj94JRGwt/CHbc9+6EA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"
integrity="sha512-7eHRwcbYkK4d9g/6tD/mhkf++eoTHwpNM9woBxtPUBWm67zeAfFC+HrdoE2GanKeocly/VxeLvIqwvCdk7qScg=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="module" src="scripts/index.js"></script>
</body>
</html>