-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (79 loc) · 3.03 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
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cheliks jump</title>
<link rel="stylesheet" href="./index.css">
<link rel="icon" type="image/x-icon" href="../img/favicon-16x16.png">
<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=Roboto:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="wrapper">
<div class="main-row">
<div class="panel settings">
<h2 class="settings__title title">Settings</h2>
<div class="settings__options">
<div class="settings__option">
<label for="gap">Platform gap</label>
<input disabled type="range" id="gap" name="gap" min="100" max="250" step="30" value="130">
</div>
<div class="settings__option">
<label for="speed">Platform speed</label>
<input disabled type="range" id="speed" name="speed" min="0.5" max="3" step="0.1" value="1.3">
</div>
<div class="settings__option">
<label for="height">Jump height</label>
<input disabled type="range" id="height" name="height" min="15" max="25" step="1" value="15">
</div>
<div class="settings__option">
<label for="width">Platform width</label>
<input disabled type="range" id="width" name="width" min="100" max="200" step="10" value="120">
</div>
</div>
<div class="switchers">
<div class="switchers__option">
<label>Hard Mode</label>
<label class="switch">
<input type="checkbox" id="hardmode" name="hardmode">
<span class="slider round"></span>
</label>
</div>
<div class="switchers__option">
<label>Auto-settings</label>
<label class="switch">
<input type="checkbox" id="auto-settings" checked>
<span class="slider round"></span>
</label>
</div>
<div class="switchers__option">
<label>Music</label>
<label class="switch">
<input type="checkbox" id="music-switcher" checked>
<span class="slider round"></span>
</label>
</div>
</div>
</div>
<canvas id="canvas" tabindex="0" width="600" height="700"></canvas>
<div class="panel skin-bar">
<h2 class="skin-bar__title title">Select cheliks</h2>
<div class="skin-bar__options">
<input type="button" value="oleg" id="selected" class="skin-bar__option">
<input type="button" value="gordon" class="skin-bar__option">
<input type="button" value="patrick" class="skin-bar__option">
<input type="button" value="papich1" class="skin-bar__option">
<input type="button" value="van" class="skin-bar__option">
<input type="button" value="shems" class="skin-bar__option">
<input type="button" value="fight" class="skin-bar__option">
<input type="button" value="derden" class="skin-bar__option">
</div>
</div>
</div>
<button class="start-btn">Start Game</button>
<script src="index.js"></script>
</div>
</body>
</html>