-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathclicker.html
88 lines (84 loc) · 2.75 KB
/
clicker.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
86
87
88
<!doctype html>
<html>
<head>
<title>
Oat Clicker
</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="animations.css">
<link rel="shortcut icon" href="sprites/favicons/16.png">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="manifest" href="manifest.webmanifest">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<!-- libraries -->
<script src="https://cdn.jsdelivr.net/gh/cukmekerb/keymaster@1.7.0/keymaster.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/localforage@1.9.0/dist/localforage.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/handlebars@4.7.7/dist/handlebars.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/swarm-numberformat@0.4.0/dist/swarm-numberformat.min.js"></script>
<!-- scripts -->
<script src="helper.js"></script>
<script src="clicker.js"></script>
<script src="game.js"></script>
<script src="achievements.js"></script>
<script src="particles.js"></script>
<script src="cipher.js"></script>
</head>
<body oncontextmenu="event.preventDefault()">
<div class="centertext" id="loadingscreen">
<div class="scores">
Loading...
</div>
<div id="loadmessages">
<noscript>
<p>
You appear to have JavaScript disabled in your browser.
<br>
Please enable it to play Oat Clicker
</p>
</noscript>
</div>
</div>
<div class="full-container">
<div class="flex flex-center flex-equal-width flex-wrap">
<div class="col-parent" id="oat-col">
<canvas id="falling_oats" width="900" height="800">
</canvas>
<div class="scores center centertext" onclick="showingops=!showingops">
<div id="oats">
Oats: 0
</div>
<div id="ops">
Per second: 0
</div>
</div>
<canvas draggable="false" class="main-clicker center" onclick="oat_clicked()" id="oat_image" width="263" height="354">
<img src="/sprites/oat.png">
</canvas>
</div>
<div class="col-parent">
<div class="scores center centertext">
Boosters
</div>
<div class="scrollable-col" id="boosters">
<!-- will be filled with template -->
</div>
</div>
<div class="col-parent">
<div class="scores center centertext">
Upgrades
</div>
<div class="scrollable-col" id="upgrades">
<!-- will be filled with template -->
</div>
</div>
</div>
</div>
<div id="achievements">
<!-- this div will contain achievements -->
</div>
<div id="background">
<!-- this div will hold the background image -->
</div>
</body>
</html>