-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (43 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en" >
<head>
<base href=".">
<meta charset="UTF-8">
<title>achievibit: Boss Battle</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet' href='https://csshake.surge.sh/csshake.min.css'><link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- partial:index.partial.html -->
<canvas id="canvas"></canvas>
<div class="game">
<svg class="healthbar" xmlns="http://www.w3.org/2000/svg" viewBox="0 -0.5 38 9" shape-rendering="crispEdges">
<metadata>Made with Pixels to Svg https://codepen.io/shshaw/pen/XbxvNj</metadata>
<path stroke="#222034" d="M2 0h34M1 1h1M36 1h1M0 2h1M3 2h32M37 2h1M0 3h1M2 3h1M35 3h1M37 3h1M0 4h1M2 4h1M35 4h1M37 4h1M0 5h1M2 5h1M35 5h1M37 5h1M0 6h1M3 6h32M37 6h1M1 7h1M36 7h1M2 8h34"></path>
<path stroke="#ffffff" d="M2 1h34"></path>
<path stroke="#f2f2f5" d="M1 2h2M35 2h2M1 3h1M36 3h1M1 4h1M36 4h1M1 5h1M36 5h1M1 6h2M35 6h2M2 7h34"></path>
<path stroke="#323c39" d="M3 3h32"></path>
<path stroke="#494d4c" d="M3 4h32M3 5h32"></path>
<!-- Fill container -->
<svg x="3" y="2.5" width="32" height="3">
<rect class="healthbar_fill fill-bar-animation" height="3"></rect>
<rect class="healthbar_fill healthbar_fill-top fill-bar-animation" height="1"></rect>
</svg>
</svg>
<div class="monster">
<img class="shake-constant shake-little" src="https://kibibit.io/kibibit-assets/achievibit-test/no-bg.png">
</div>
<div class="rpg-text-box" id="textbox">
ARE YOU READY TO BATTLE??
</div>
<div class="rpg-text-box visible" id="textbox2" style="display: none;">
I REALLY HOPE YOU DO...
</div>
</div>
<!-- partial -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
<!-- The following plugin is only available for Club GSAP members.-->
<script src="./SplitText.min.js"></script>
<script src="./script.js"></script>
</body>
</html>