-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (62 loc) · 2.19 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
<!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>Electric Slide</title>
<link rel="shortuct icon" type="image/png" href="assets/controller-icon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" />
<link rel="stylesheet" href="assets/styles.css">
</head>
<body>
<main>
<div class="menu-container">
<h1 class="title">Electric <span>Slide</span></h1>
<section class="start-menu">
<button class="start btn">start</button>
<button class="hs btn">highscores</button>
<button class="controls btn">controls</button>
<a href="https://github.com/MaxFrank13/Platformer-game" target="_blank" class="source btn">code</a>
</section>
</div>
<div class="highscore-overlay hide">
<div class="highscore-container">
<h2>Highscores</h2>
<ol class="scores">
</ol>
<i class="fas fa-level-up-alt return"></i>
</div>
</div>
<div class="controls-overlay hide">
<div class="controls-container">
<h2>Controls</h2>
<ul>
<li>Press Left & Right arrowkeys to control player movement</li>
<li>Press Up. Hold CTRL at the same time to perform a super jump</li>
<li>Slide on rails to gain points</li>
<li>Rails that are close to the top are worth extra points</li>
<li>Points multiplier gets reset when the player touches the ground</li>
<li>Going backwards will cost points</li>
</ul>
<i class="fas fa-window-minimize close"></i>
</div>
</div>
</main>
<div class="notification hide">
<h2>Press TAB to submit score</h2>
</div>
<section class="game hide">
<h1 class="score">0</h1>
<h1 class="multiplier"></h1>
<canvas id="canvas"></canvas>
</section>
<div class="modal-overlay hide">
<div class="initials-prompt">
<label for="initials">Enter your initials:</label>
<input type="text" id="initials" name="initials">
</div>
</div>
<script src="app.js"></script>r
</body>
</html>