-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLaunch.html
134 lines (117 loc) · 3.1 KB
/
Launch.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!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>Taco Clicker</title>
<style>
b {
font-size: 1rem;
}
#credits,
#info,
#options,
#stats,
#save,
#exit,
#evolveButton {
display: none;
}
#stats {
margin-left: 25%;
}
button {
background-color: gray;
border-radius: .3rem;
}
button.upgrades {
display: none;
width: 350px;
height: 100px;
}
.green {
background-color: green;
color: white;
}
.green:hover {
background-color: lightgreen;
color: black;
}
.gray {
background-color: gray;
color: black;
}
.gray:hover {
background-color: lightgray;
}
.blue {
background-color: lightblue;
color: black;
}
.blue:hover {
background-color: #e9f5f8;
color: black;
}
.large-money {
font-size: 1.5rem;
}
#chestScreen {
border: 1px white;
border-radius: .3rem;
background-color: black;
color: white;
width: 200px;
height: 100px;
display: none;
}
#closeChestScreen {
float: right;
cursor: pointer;
}
</style>
</head>
<body>
<svg width="200" height="100" version="1.1" xmlns="http://www.w3.org/2000/svg" style="float: right;">
<path d="M0 99l200 0Q100 0 0 99" fill="yellow" stroke="black" onclick="clickTaco()" />
</svg>
<div id="stats">
Stats:
<p id="money"></p>
<p id="value"></p>
<p id="moneyPerSec"></p>
<p id="diamonds"></p>
<p id="evolve"></p>
</div>
<button onclick="startGame();clickSound.play();" id="start" class="gray">New save</button>
<button onclick="load();" id="load" class="gray">Load save</button>
<div id="upgradeButtons"></div><br>
<div id="diamondUpgrades"></div>
<br>
<br><br>
<button onclick="evolve()" id="evolveButton" class="gray">Evolve (E)</button>
<!-- <button onclick="diamondToMoney()" class="gray">💎10% to <img src="money.png" height="12pt" />5 x 💎10%</button> -->
<br><br>
<button onclick="info();clickSound.play();" class="gray">Info</button>
<button onclick="options();clickSound.play();" class="gray">Options</button>
<button onclick="save();clickSound.play()" id="save" class="gray">Save</button>
<button onclick="save();location.reload();clickSound.play()" id="exit" class="gray">Save & Exit</button>
<div id="info">
<h1>Info:</h1>
Click the buttons to upgrade your Taco.<br>
Click the taco to earn money<br>
<span id="version"></span><br>
</div><br><br>
<div id="options">
<button id="music" onclick="toggleMusic()" class="gray">Turn Music On</button><br>
<h3>Key Binds:</h3>
<div id="keyBindsDiv"></div>
</div>
<script src="js/variables.js"></script>
<script src="js/classes.js"></script>
<script src="js/upgrades.js"></script>
<script src="js/functions.js"></script>
<script src="js/toValues.js"></script>
<script src="js/index.js"></script>
</body>
</html>