-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathponyclicker.html
191 lines (187 loc) · 13.5 KB
/
ponyclicker.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html>
<head>
<title>Pony Clicker</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta charset="utf-8" />
<meta name="description" content="Pony Clicker by Cloud Hop" />
<meta name="copyright" content="Copyright (c)2015 Cloud Hop" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" />
<link rel="stylesheet" href="ponyclicker.css?v=1.0.7" media="screen" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:700,400" />
<link rel="shortcut icon" href="favicon.ico" />
</head>
<body>
<div id="apocalypse"></div>
<div class="container">
<div id="ponyboard">
<div id="pagealert">A new version of Pony clicker is now available! Click here to automatically save and refresh the page!</div>
<canvas id="canvas" width="100" height="100"></canvas>
<div id="ponybg" class="bg"></div>
<div class="ponies">
<div id="ponyspin">
<canvas id="canvaslines" width="520" height="520"></canvas>
<div id="ponywrapper"></div>
</div>
</div>
<div id="score"><span id="scorenum">0 Smiles</span><div id="SPS">+0.1 per second</div></div>
<div class="newsactive">
<p style="opacity:0;"></p>
<p></p>
</div>
<div id="pinkieclones"></div>
</div>
</div>
<button id="showmenu">Menu »</button>
<div id="menu">
<section>
<button id="hidemenu">Menu «</button>
<button id="manualsave" title="Manually save the game (the game auto-saves every 60 seconds).">Save</button>
<button id="exportbtn">Export</button>
<button id="showcredits">Credits</button>
</section>
<section class="options">
<label title="Enables animated canvas effects in the background.">
<input type="checkbox" id="EnableEffects" /> <span>Enable canvas effects</span>
</label>
<label title="Reduces the update frequency of the game when it isn't focused so it uses fewer resources.'">
<input type="checkbox" id="EnableFocus" /> <span>Lower FPS when not focused</span>
</label>
<label title="Put up a warning message before you close the window.">
<input type="checkbox" id="EnableWarn" /> <span>Warn when closing window</span>
</label>
<label title="Highlights the most efficient building purchase by tinting it green.">
<input type="checkbox" id="EnableHighlight" /> <span>Highlight most efficient purchase</span>
</label>
</section>
<section class="options">
<label title="Shorten numbers by displaying their names. Example: 10 vigintillion.">
<input type="radio" name="numdisplay" id="numdisplay0" value="0" /> <span>Use Number Names</span>
</label>
<label title="Do not shorten any numbers. Example: 74,547,584,943,904,958">
<input type="radio" name="numdisplay" id="numdisplay1" value="1" /> <span>Display Entire Number</span>
</label>
<label title="Display numbers in scientific notation. Example: 74.547x10^37">
<input type="radio" name="numdisplay" id="numdisplay2" value="2" /> <span>Use Scientific Notation</span>
</label>
</section>
<section class="options">
<label title="Show the entire friendship circle all at once.">
<input type="radio" name="wheeldisplay" id="wheeldisplay0" value="0" /> <span>Show Entire Circle</span>
</label>
<label title="Show only part of the circle, so the ponies are easier to click. Drag the wheel around to spin it!">
<input type="radio" name="wheeldisplay" id="wheeldisplay1" value="1" /> <span>Show Partial Circle</span>
</label>
<label title="Show one clickable pony in the center and display the other ponies in a circle around them." style="display:none;">
<input type="radio" name="wheeldisplay" id="wheeldisplay2" value="2" /> <span>Show Pony Circle</span>
</label>
</section>
<section class="stats">
<p>Smiles Available: <span class="cursmiles" id="stat_cursmiles">0</span></p>
<p>Total Smiles: <span class="totalsmiles">0</span></p>
<p id="statlegacysmiles" class="legacy">Total Smiles (all time): <span class="legacysmiles">0</span></p>
<p id="statresets" class="legacy">Resets: <span class="resets">0</span></p>
<p>Smiles Per Second: <span class="SPS">0</span></p>
<p>Pony Boops: <span class="clicks">0</span></p>
<p id="statlegacyclicks" class="legacy">Pony Boops (all time): <span class="legacyclicks">0</span></p>
<p id="statclonespopped" style="display:none;">Pinkie Clones Popped: <span class="clonespopped">0</span></p>
<p>Smiles Per Boop: <span class="SPC">0</span></p>
<p>Buildings Owned: <span class="buildings">0</span></p>
<p>Time Played: <span class="time">0</span></p>
<p>Muffins: <span class="muffins">0</span>
<p id="statcupcakes" class="legacy">Cupcakes: <span class="cupcakes">0</span>
</section>
<section>
<button id="importbtn">Import</button>
<button id="resetbtn" style="color:#99c">Reset</button>
<button id="wipeall">Wipe All Data</button>
</section>
<section>
<p>Upgrades Owned: <span id="upgrades_owned"></span>/<span id="upgrades_total"></span></p>
<div id="upgradelist"></div>
</section>
<section>
<p>Achievements: <span id="achievements_owned"></span>/<span id="achievements_total"></span></p>
<div id="achievements"></div>
</section>
<section>
<a href="https://www.youtube.com/watch?v=otAFRGL4yX4" id="mandatory-fun" target="_blank">The smile song is mandatory while playing this.</a>
</section>
<div id="menuoverlay" class="tooltip">TEST</div>
</div>
<div class="store" id="storewrapper">
<div class="title">Sugarcube Corner</div>
<div class="upgrades" id="storeupgrades"></div>
<ul id="store"></ul>
</div>
<div id="exportwindow" class="modal">
<b>Export Save</b>
<hr>
Copy and paste this somewhere safe. To restore your game, click the import button and paste this into the dialog box.
<br>
<br><textarea id="exportarea" style="width:345px;height:150px;" readonly></textarea>
<hr>
<button>Done!</button>
</div>
<div id="credits" class="modal" style="width: 450px;display:none;margin-top:-200px;">
<button>[x]</button>
<b>Pony Clicker v<span id="ponyversion"></span> <i>by</i> Cloud Hop</b>
<hr>
<div>
<a href="https://erikmcclure.deviantart.com/art/Goggles-Cloud-Hop-526840667" target="_blank" class="cloudhop"><img src="Cloudhop_goggles.png" alt="Cloud Hop Avatar" title="If you aren't careful, he might cute you to death." /></a>
Cloud Hop is a pegasus who works at the weather factory. He's also an <a href="http://erikmcclure.com/" target="_blank">applied mathematician</a> who makes <a href="https://github.com/erikmcclure" target="_blank">games</a> and <a href="https://erikmcclure.bandcamp.com/album/aurora-theory" target="_blank">music</a>. Sometimes he puts them on the internet, which is almost always a bad idea.
<ul>
<li><a href="https://www.fimfiction.net/user/Cloud+Hop" target="_blank">Fimfiction</a></li>
<li><a href="https://erikmcclure.newgrounds.com/" target="_blank">Newgrounds</a></li>
<li><a href="https://soundcloud.com/blackhole12" target="_blank">Soundcloud</a></li>
<li><a href="http://erikmcclure.com/" target="_blank">Blog</a></li>
<li><a href="https://www.youtube.com/channel/UCWC8FC5JryUP7I1oN1twBeQ" target="_blank">Youtube</a></li>
<li><a href="https://twitter.com/blackhole0173" target="_blank">Twitter</a></li>
</ul>
</div>
<p>
Pony vectors by:
<a href="https://90sigma.deviantart.com/" target="_blank">90Sigma</a> (<a href="https://90sigma.deviantart.com/art/Vector-All-the-Ponies-SVG-Files-302442314" target="_blank">1</a>, <a href="https://90sigma.deviantart.com/art/Princess-Cadance-Resources-302065204" target="_blank">2</a>),
<a href="https://destroyer735.deviantart.com/art/Octavia-375057218" target="_blank">destroyer735</a>,
<a href="https://djdavid98.deviantart.com/" target="_blank">DJDavid98</a> (<a href="https://djdavid98.deviantart.com/art/Flying-Night-Glider-1-S05E02-525626012" target="_blank">1</a>, <a href="https://djdavid98.deviantart.com/art/Proud-Starlight-Glimmer-S05E01-518542055" target="_blank">2</a>),
<a href="https://geometrymathalgebra.deviantart.com/art/Adashable-3-486970053" target="_blank">GeometryMathAlgebra</a>,
<a href="https://inuhoshi-to-darkpen.deviantart.com/art/Blossomforth-327154088" target="_blank">InuHoshi-to-DarkPen</a>,
<a href="http://kiowa213.deviantart.com/art/Lightning-Dust-400538199" target="_blank">KiOWA213</a>,
<a href="https://lman225.deviantart.com/art/Applebloom-490330115" target="_blank">LMan225</a>,
<a href="https://qazwsx302.deviantart.com/art/Sweetie-Belle-316776921" target="_blank">qazwsx302</a>,
<a href="https://racefox.deviantart.com/art/Rarity-405280335" target="_blank">Racefox</a>,
<a href="https://sakatagintoki117.deviantart.com/art/Shining-Armor-339746794" target="_blank">sakatagintoki117</a>,
<a href="https://skie-vinyl.deviantart.com/art/DJ-Pon3-427243116" target="_blank">Skie-Vinyl</a>,
<a href="https://takua770.deviantart.com/art/Pinkie-Pie-PARTY-TIME-274526114" target="_blank">Takua770</a>,
<a href="https://vladimirmacholzraum.deviantart.com/art/Another-Fluttershy-Vector-436991901" target="_blank">VladimirMacHolzraum</a>,
<a href="http://zutheskunk.deviantart.com/">ZuTheSkunk</a> (<a href="https://zutheskunk.deviantart.com/art/MLP-Resource-Dinky-Hooves-01-212564935" target="_blank">1</a>, <a href="http://zutheskunk.deviantart.com/art/MLP-Resource-Twilicorn-Crown-01-359381141">2</a>)
<br/>Item vectors by: <a href="http://pikamander2.deviantart.com/">pikamander2</a> (<a href="http://pikamander2.deviantart.com/art/Lily-Dache-s-red-tea-hat-325182732">1</a>, <a href="http://pikamander2.deviantart.com/art/Spectacular-muffin-324580202">2</a>), <a href="http://evilbob0.deviantart.com/">Evilbob0</a> (<a href="http://evilbob0.deviantart.com/art/Elements-Of-Harmony-Accessories-Generosity-402662839">1</a>, <a href="http://evilbob0.deviantart.com/art/Elements-Of-Harmony-Accessories-Kindness-402662829">2</a>, <a href="http://evilbob0.deviantart.com/art/Elements-Of-Harmony-Accessories-Laughter-402662804">3</a>, <a href="http://evilbob0.deviantart.com/art/Elements-Of-Harmony-Accessories-Honesty-402662811">4</a>, <a href="http://evilbob0.deviantart.com/art/Elements-Of-Harmony-Accessories-Loyalty-402662821">5</a>, <a href="http://evilbob0.deviantart.com/art/Elements-Of-Harmony-Accessories-Honesty-402662790">6</a>), <a href="http://mlp-svg-resources.deviantart.com/art/MLP-Style-Cupcake-307646611">StarshineCelestalis</a>, <a href="http://mlp-svg-resources.deviantart.com/art/Trixie-s-Wagon-394270528">Jeatz-Axl</a>, <a href="http://www.deviantart.com/art/Octavia-s-Cello-or-Double-Bass-260355061">The-Smiling-Pony</a>, <a href="http://www.deviantart.com/art/Brohoof-337432118">RainbowDerp98</a>, <a href="http://mewtwo-ex.deviantart.com/art/MLP-Heart-s-Carol-Background-Full-Stage-View-343675697">mewtwo-EX</a>, <a href="http://www.deviantart.com/art/Cake-delivery-295513387">epi-centric</a>, <a href="http://jaybugjimmies.deviantart.com/art/Elements-of-Harmony-BG-Mane-Six-Edition-372991553">jaybugjimmies</a>, <a href="http://pinkiepi314.deviantart.com/">PinkiePi314</a> (<a href="http://pinkiepi314.deviantart.com/art/Element-of-Approval-330989089">1</a>, <a href="http://pinkiepi314.deviantart.com/art/Element-of-Criticism-331194502">2</a>),
<a href="http://www.deviantart.com/art/DJ-PON-3-288613678">shadowdark3</a>
<br/> Misc vectors by: <a href="http://bucketofwhales.deviantart.com/art/Oh-Hi-S1E3-311478741">BucketOfWhales</a>, <a href="http://deathpwny.deviantart.com/">DeathPwny</a> (<a href="http://desktop-pony-team.deviantart.com/art/Pinkie-Pie-walking-254779532">1</a>, <A href="http://desktop-pony-team.deviantart.com/art/Pinkie-Pie-jumpy-254779441">2</a>)
<br>Pinkie Pie face taken from Fimfiction emoticons.
<br><strong>Contributors:</strong> <a href="https://github.com/Jesin" target="_blank">Jesin</a>, <a href="https://github.com/SeinopSys" target="_blank">SeinopSys</a>, <a href="https://github.com/TricksterWolf" target="_blank">TricksterWolf</a>, <a href="https://github.com/baxil" target="_blank">baxil</a>, <a href="https://github.com/ngyikp" target="_blank">ngyikp</a>, <a href="https://github.com/cburschka">cburschka</a>
</p>
<hr>
<div class="footer">
<a href="https://github.com/erikmcclure/PonyClicker" target="_blank">Fork this project on Github</a>
<a href="https://github.com/erikmcclure/PonyClicker/blob/gh-pages/CHANGELIST.md" target="_blank">View Changelog</a>
</div>
</div>
<div id="upgradeoverlay" class="tooltip" data-item="-1"></div>
<div id="mousetexts"></div>
<div id="notices"></div>
<div id="overlay" class="tooltip" data-item="2"></div>
<div id="loadscreen"><div class="spinner"></div><div class="spinner2"></div><div class="spinner3"></div></div>
<script>
// Analytics
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-63026815-1', 'auto');
ga('send', 'pageview');
</script>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="ponyclicker.js?v=1.0.7"></script>
</body>
</html>