-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (68 loc) · 2.15 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!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>Document</title>
<link rel="stylesheet" href="styles/main.css">
<script src="src/Stages.js" defer></script>
<script src="src/Shadow.js" defer></script>
<script src="src/Player.js" defer></script>
<script src="src/Enemy.js" defer></script>
<script src="src/Obstacle.js" defer></script>
<script src="src/Goal.js" defer></script>
<script src="src/index.js" defer></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
</head>
<body>
<div class="center-container">
<div class="frame vertical-center" id="frame">
</div>
</div>
<div class="center-container">
<div class="frame intro vertical-center" id="intro">
<button id="start" class="myButton vertical-center">
Start
</button>
</div>
</div>
<div class="center-container">
<div class="frame overlay vertical-center" id="overlay">
</div>
</div>
<div class="center-container">
<div id="gameOver" class="gameOver vertical-center">
<h1>Game Over</h1><br><br><br>
<button id="retry" class="myButton vertical-center">
<span> Try again </span>
</button>
</div>
</div>
<div class="center-container">
<div id="nextLevel" class="nextLevel vertical-center">
<h1>You made it</h1>
<button id="retry" class="myButton2 vertical-center">
<span> Next level</span>
</button>
</div>
</div>
<div class="center-container">
<div id="endGame" class="endGame vertical-center">
<h1>You're free now!</h1>
<button id="playAgain" class="myButton vertical-center">
<span> Play again</span>
</button>
</div>
</div>
<div class=" center-container">
<div id="canvas" class="vertical-center frame">
<div id="life-container"></div>
<div id="player"></div>
<div id="goal"></div>
<div id="timer">Time</div>
</div>
</div>
</body>
</html>