-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (45 loc) · 1.54 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>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fighting game</title>
<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"
/>
<link rel="stylesheet" href="./app.css" />
</head>
<body>
<div class="main-container">
<div class="hud-container">
<!--player 1 health-->
<div class="player1-hp-main">
<div class="player1-hp"></div>
<div class="player1-hp-container" id="player1-hp"></div>
</div>
<!--timer-->
<div class="timer">10</div>
<!--player 2 health-->
<div class="player2-hp-main">
<div class="player2-hp"></div>
<div class="player2-hp-container" id="player2-hp"></div>
</div>
</div>
<div class="endgame-message"></div>
<canvas> </canvas>
</div>
</body>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.10.4/gsap.min.js"
integrity="sha512-VEBjfxWUOyzl0bAwh4gdLEaQyDYPvLrZql3pw1ifgb6fhEvZl9iDDehwHZ+dsMzA0Jfww8Xt7COSZuJ/slxc4Q=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script src="./js/utils.js"></script>
<script src="./js/classes.js"></script>
<script src="index.js"></script>
</html>