-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (81 loc) · 3.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Divekicker</title>
<meta property="og:image" content="https://leon-i.github.io/Divekicker/src/assets/preview_img.jpg" />
<meta property="og:url" content="https://leon-i.github.io/Divekicker/" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./dist/main.css" />
</head>
<body>
<section class="main-content flex">
<h1>DIVEKICKER</h1>
<div class='game-screen-container'>
<canvas id="bg-canvas" height="500" width="1000"></canvas>
<canvas id="canvas" height="500" width="1000"></canvas>
<div id='menu'>
<img src='./src/assets/divekicker_logo.png' alt="menu-logo">
<button id="start-btn">START</button>
<button id='controls-menu-btn'>CONTROLS</button>
</div>
<div id='controls-menu' class="closed">
<div class="inner-menu flex">
<h2>CONTROLS</h2>
<p>
<span>LEFT ARROW</span>
- MOVE LEFT
</p>
<p>
<span>RIGHT ARROW</span>
- MOVE RIGHT
</p>
<p>
<span>SPACEBAR</span>
- JUMP
</p>
<p>
<span>DOWN ARROW</span>
- DIVEKICK TO BOUNCE ON ENEMIES, RESET YOUR JUMPS, AND EARN POINTS
</p>
<p>
<span>Q</span>
- BECOME INVULNERABLE AND SPIN THROUGH ENEMIES TO EARN POINTS
</p>
<p>
<span>M</span>
- TOGGLE MUSIC
</p>
<p>
<span>N</span>
- TOGGLE SOUNDFX
</p>
<h4>TIPS</h4>
<p>YOU ONLY HAVE 2 JUMPS, BUT SUCCESSFUL DIVEKICKS RESET THEM!</p>
<button id='close-btn'>CLOSE</button>
</div>
</div>
<div id='restart-msg' class='hide'>
<h2 id='final-score'></h2>
<h4>Press 'r' to restart!</h4>
<button id='controls-menu-btn-2'>CONTROLS</button>
</div>
</div>
<footer class="nav-links flex">
<a href='https://www.github.com/leon-i/Divekicker' target='_blank'>
<img class='nav-link' src='./src/assets/github_logo.svg' alt="github-logo">
</a>
<a href='https://www.linkedin.com/in/isak-leon-4924901a9/' target='_blank'>
<img class='nav-link not-first' src='./src/assets/linkedin_logo.png' alt="linkedin-logo">
</a>
<a href='https://angel.co/u/isak-leon' target='_blank'>
<img class='angellist-link' src='./src/assets/angellist_logo.png' alt="angellist-logo">
</a>
</footer>
<script src="./dist/main.js"></script>
</section>
</body>
</html>