-
Notifications
You must be signed in to change notification settings - Fork 0
/
tutorial.html
50 lines (38 loc) · 1.51 KB
/
tutorial.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
</
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="./css/tutorial.css">
<title></title>
</head>
<body>
<div id="external-cont">
<div>
<h1> Gameplay </h1>
<ul>
<li>Avoid the chainsaws and collect as many stars as possible. See what is the highest score you can reach!</li>
<li>You'll start with three lives, every time you get hit by a chainsaw you take a step back and lose one heart. </li>
<li>Collect hearts in order to restore lives. </li>
<li>When a chainsaw hit you, you acquire temporary invulnerability.</li>
<li>When you become invulnerable, you cannot lose life but you cannot collect stars and hearts either.</li>
</ul>
</div>
<div>
<h1>Commands</h1>
<ul>
<li>Press ESC to pause the game.</li>
<li>Press SPACE to jump.</li>
<li>Press 1,2 or 3 to change the camera position.</li>
<li>Press 4 to lock/unlock the camera. Once unlocked, you can control it by pressing the left click and moving it.</li>
<li>Press A or ← to dash left.</li>
<li>Press D or → to dash right.</li>
</ul>
</div>
<button id="menu-button">Menu</button>
</div>
<script>
document.getElementById("menu-button").onclick= function(){
window.location.replace('./index.html')}
</script>
</body>
</html>