alexrsworld 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/Apps/30dollarwebsite.html +403 -0
  2. package/Apps/emulatorjs.html +258 -0
  3. package/Apps/ruffle.html +93 -0
  4. package/Apps/soundboard.html +4 -0
  5. package/Games/WAflash/connect4.html +87 -0
  6. package/Games/WAflash/dealornodeal.html +89 -0
  7. package/Games/WAflash/escapingtheprison.html +87 -0
  8. package/Games/WAflash/fancypants2.html +86 -0
  9. package/Games/WAflash/freegear.html +87 -0
  10. package/Games/WAflash/learntoflyidle.html +87 -0
  11. package/Games/WAflash/papascoop.html +88 -0
  12. package/Games/WAflash/papashotdog.html +88 -0
  13. package/Games/WAflash/papaspancake.html +89 -0
  14. package/Games/WAflash/papaswingeria.html +87 -0
  15. package/Games/WAflash/pottyracers3.html +86 -0
  16. package/Games/WAflash/run.html +88 -0
  17. package/Games/WAflash/run2.html +88 -0
  18. package/Games/WAflash/shoppingcarthero2.html +88 -0
  19. package/Games/WAflash/sonicultimate.html +87 -0
  20. package/Games/WAflash/sugarsugar.html +91 -0
  21. package/Games/WAflash/vex.html +91 -0
  22. package/Games/WAflash/worldshardestgame3.html +89 -0
  23. package/Games/emulated/GBA/emeraldversion.html +30 -0
  24. package/Games/emulated/GBA/fireredversion.html +30 -0
  25. package/Games/emulated/GBA/leafgreenversion.html +30 -0
  26. package/Games/emulated/GBA/rubyversion.html +30 -0
  27. package/Games/emulated/GBA/sapphireversion.html +30 -0
  28. package/Games/emulated/N64/mariokart64.html +27 -0
  29. package/Games/emulated/N64/supermario64.html +30 -0
  30. package/Games/emulated/SNES/earthbound.html +31 -0
  31. package/Games/ruffle/MahjongTower.html +40 -0
  32. package/Games/ruffle/QWOP.html +41 -0
  33. package/Games/ruffle/achievementunlocked.html +41 -0
  34. package/Games/ruffle/achievementunlocked2.html +41 -0
  35. package/Games/ruffle/achievementunlocked3.html +41 -0
  36. package/Games/ruffle/ageofdefense.html +41 -0
  37. package/Games/ruffle/ageofwar.html +41 -0
  38. package/Games/ruffle/ageofwar2.html +41 -0
  39. package/Games/ruffle/airship.html +41 -0
  40. package/Games/ruffle/alien.html +41 -0
  41. package/Games/ruffle/angrybirdshalloween.html +40 -0
  42. package/Games/ruffle/appleshooter.html +41 -0
  43. package/Games/ruffle/axisfootballleague.html +40 -0
  44. package/Games/ruffle/badpiggies.html +41 -0
  45. package/Games/ruffle/bejeweledtwist.html +41 -0
  46. package/Games/ruffle/blinding.html +40 -0
  47. package/Games/ruffle/bloons.html +41 -0
  48. package/Games/ruffle/bloonsupermonkey.html +40 -0
  49. package/Games/ruffle/bloxorz.html +40 -0
  50. package/Games/ruffle/bobtherobber.html +41 -0
  51. package/Games/ruffle/bowling.html +40 -0
  52. package/Games/ruffle/breakingthebank.html +40 -0
  53. package/Games/ruffle/btd.html +40 -0
  54. package/Games/ruffle/btd2.html +40 -0
  55. package/Games/ruffle/btd3.html +41 -0
  56. package/Games/ruffle/btd4.html +41 -0
  57. package/Games/ruffle/btd4expansion.html +41 -0
  58. package/Games/ruffle/btd5.html +41 -0
  59. package/Games/ruffle/bubbleshooter.html +41 -0
  60. package/Games/ruffle/burgerrun.html +41 -0
  61. package/Games/ruffle/burritobisonrevenge.html +41 -0
  62. package/Games/ruffle/crimsonroom.html +41 -0
  63. package/Games/ruffle/cubefield.html +40 -0
  64. package/Games/ruffle/curveball.html +41 -0
  65. package/Games/ruffle/deadzed2.html +40 -0
  66. package/Games/ruffle/dinerdash.html +41 -0
  67. package/Games/ruffle/donkeykong.html +40 -0
  68. package/Games/ruffle/douchebagworkout.html +40 -0
  69. package/Games/ruffle/douchebagworkout2.html +40 -0
  70. package/Games/ruffle/ducklife.html +40 -0
  71. package/Games/ruffle/ducklife2.html +40 -0
  72. package/Games/ruffle/ducklife3.html +40 -0
  73. package/Games/ruffle/ducklife4.html +40 -0
  74. package/Games/ruffle/electricman.html +41 -0
  75. package/Games/ruffle/electricman2.html +41 -0
  76. package/Games/ruffle/factoryballs.html +42 -0
  77. package/Games/ruffle/factoryballs2.html +42 -0
  78. package/Games/ruffle/factoryballs3.html +41 -0
  79. package/Games/ruffle/factoryballs4.html +41 -0
  80. package/Games/ruffle/fancypants.html +41 -0
  81. package/Games/ruffle/fancypants3.html +41 -0
  82. package/Games/ruffle/fleeingthecomplex.html +41 -0
  83. package/Games/ruffle/fltron.html +40 -0
  84. package/Games/ruffle/foresttemple.html +40 -0
  85. package/Games/ruffle/frogger.html +40 -0
  86. package/Games/ruffle/frontlinedefense.html +40 -0
  87. package/Games/ruffle/galagaflash.html +41 -0
  88. package/Games/ruffle/gravitee.html +41 -0
  89. package/Games/ruffle/gravitee2.html +41 -0
  90. package/Games/ruffle/growcube.html +41 -0
  91. package/Games/ruffle/growisland.html +41 -0
  92. package/Games/ruffle/growvalley.html +41 -0
  93. package/Games/ruffle/impossiblequiz.html +41 -0
  94. package/Games/ruffle/impossiblequiz2.html +41 -0
  95. package/Games/ruffle/injustice.html +41 -0
  96. package/Games/ruffle/isoball.html +41 -0
  97. package/Games/ruffle/johnnyupgrade.html +41 -0
  98. package/Games/ruffle/jumpingfinn.html +40 -0
  99. package/Games/ruffle/kaboomz.html +40 -0
  100. package/Games/ruffle/leaguebowling.html +41 -0
  101. package/Games/ruffle/learntofly.html +40 -0
  102. package/Games/ruffle/learntofly2.html +40 -0
  103. package/Games/ruffle/learntofly3.html +40 -0
  104. package/Games/ruffle/lemonade.html +40 -0
  105. package/Games/ruffle/madness.html +40 -0
  106. package/Games/ruffle/madnessa.html +40 -0
  107. package/Games/ruffle/mahjonggardens.html +40 -0
  108. package/Games/ruffle/mahjongtitans.html +40 -0
  109. package/Games/ruffle/mariocombat.html +40 -0
  110. package/Games/ruffle/minecrafttowerdefense.html +41 -0
  111. package/Games/ruffle/minecrafttowerdefense2.html +41 -0
  112. package/Games/ruffle/motherload.html +40 -0
  113. package/Games/ruffle/murder.html +41 -0
  114. package/Games/ruffle/myfriendpedro.html +40 -0
  115. package/Games/ruffle/neonrider.html +41 -0
  116. package/Games/ruffle/nyancatlostinspace.html +40 -0
  117. package/Games/ruffle/pacman.html +40 -0
  118. package/Games/ruffle/pacxon.html +41 -0
  119. package/Games/ruffle/pacxondeluxe.html +41 -0
  120. package/Games/ruffle/pandemic2.html +41 -0
  121. package/Games/ruffle/papas sushi.html +40 -0
  122. package/Games/ruffle/papasbake.html +40 -0
  123. package/Games/ruffle/papasburgeria.html +41 -0
  124. package/Games/ruffle/papascheese.html +40 -0
  125. package/Games/ruffle/papascupcake.html +40 -0
  126. package/Games/ruffle/papasdonut.html +40 -0
  127. package/Games/ruffle/papaspasta.html +42 -0
  128. package/Games/ruffle/papaspizza.html +41 -0
  129. package/Games/ruffle/papastaco.html +42 -0
  130. package/Games/ruffle/plantsvszombies.html +41 -0
  131. package/Games/ruffle/poppit.html +42 -0
  132. package/Games/ruffle/portaltheflashversion.html +42 -0
  133. package/Games/ruffle/pottyracers.html +40 -0
  134. package/Games/ruffle/pottyracers2.html +40 -0
  135. package/Games/ruffle/raftwars.html +40 -0
  136. package/Games/ruffle/redball.html +42 -0
  137. package/Games/ruffle/redball2.html +41 -0
  138. package/Games/ruffle/redball3.html +41 -0
  139. package/Games/ruffle/riddleschool.html +41 -0
  140. package/Games/ruffle/riddleschool2.html +41 -0
  141. package/Games/ruffle/riddleschool3.html +41 -0
  142. package/Games/ruffle/riddleschool4.html +41 -0
  143. package/Games/ruffle/riddleschool5.html +41 -0
  144. package/Games/ruffle/riddletransfer.html +41 -0
  145. package/Games/ruffle/riddletransfer2.html +41 -0
  146. package/Games/ruffle/rollercoaster.html +41 -0
  147. package/Games/ruffle/shoppingcarthero.html +41 -0
  148. package/Games/ruffle/spaceiskey.html +41 -0
  149. package/Games/ruffle/spaceiskey2.html +41 -0
  150. package/Games/ruffle/sprinter.html +41 -0
  151. package/Games/ruffle/stealingthediamond.html +41 -0
  152. package/Games/ruffle/stickwar.html +41 -0
  153. package/Games/ruffle/strikeforceheros.html +40 -0
  154. package/Games/ruffle/strikeforceheros2.html +40 -0
  155. package/Games/ruffle/strikeforcekitty.html +41 -0
  156. package/Games/ruffle/sugarsugar2.html +41 -0
  157. package/Games/ruffle/superfighters.html +41 -0
  158. package/Games/ruffle/supermarioflash.html +41 -0
  159. package/Games/ruffle/supermarioflash2.html +41 -0
  160. package/Games/ruffle/supermarioflash3.html +41 -0
  161. package/Games/ruffle/supersmashflash.html +41 -0
  162. package/Games/ruffle/tactical.html +41 -0
  163. package/Games/ruffle/tactical2.html +41 -0
  164. package/Games/ruffle/tacticaloriginal.html +41 -0
  165. package/Games/ruffle/territorywar.html +41 -0
  166. package/Games/ruffle/tetrix2.html +41 -0
  167. package/Games/ruffle/thefightforglorton.html +41 -0
  168. package/Games/ruffle/thinice.html +41 -0
  169. package/Games/ruffle/treasurehunt.html +40 -0
  170. package/Games/ruffle/unfairmario.html +40 -0
  171. package/Games/ruffle/vex2.html +41 -0
  172. package/Games/ruffle/whenpizzaattacks.html +41 -0
  173. package/Games/ruffle/whg.html +40 -0
  174. package/Games/ruffle/whg2.html +40 -0
  175. package/Games/ruffle/whg4.html +40 -0
  176. package/Games/ruffle/yahootennis.html +40 -0
  177. package/Games/ruffle/zombocalypse.html +41 -0
  178. package/Games/singlefile.html +67 -0
  179. package/Games/sonic-games/sonicthehedgehog.html +29 -0
  180. package/Games/sonic-games/sonicthehedgehog2.html +31 -0
  181. package/Games/sonic-games/sonicthehedgehog3.html +23 -0
  182. package/Games/standalone/10minutestilldawn.html +85 -0
  183. package/Games/standalone/1v1lol.html +299 -0
  184. package/Games/standalone/2048.html +129 -0
  185. package/Games/standalone/2048cupcakes.html +135 -0
  186. package/Games/standalone/Angry Birds.html +20 -0
  187. package/Games/standalone/BlockPost.html +36 -0
  188. package/Games/standalone/BuildNow.gg.html +136 -0
  189. package/Games/standalone/Flappy Dunk.html +169 -0
  190. package/Games/standalone/Granny 2.html +202 -0
  191. package/Games/standalone/Time Shooter 2.html +94 -0
  192. package/Games/standalone/adventure.html +128 -0
  193. package/Games/standalone/angrybirdsshowdown.html +24 -0
  194. package/Games/standalone/badicecream.html +163 -0
  195. package/Games/standalone/badicecream2.html +165 -0
  196. package/Games/standalone/badicecream3.html +165 -0
  197. package/Games/standalone/badtime.html +145 -0
  198. package/Games/standalone/baldi.html +26 -0
  199. package/Games/standalone/basketrandom.html +46 -0
  200. package/Games/standalone/bigtower.html +65 -0
  201. package/Games/standalone/bigtower2.html +20 -0
  202. package/Games/standalone/bitlife.html +22 -0
  203. package/Games/standalone/blockblast.html +94 -0
  204. package/Games/standalone/blockthepig.html +142 -0
  205. package/Games/standalone/bowmasters.html +27 -0
  206. package/Games/standalone/boxingrandom.html +0 -0
  207. package/Games/standalone/candycrush.html +67 -0
  208. package/Games/standalone/carssimulator.html +40 -0
  209. package/Games/standalone/caseclicker.html +310 -0
  210. package/Games/standalone/cellmachine.html +24 -0
  211. package/Games/standalone/choppyorc.html +210 -0
  212. package/Games/standalone/circleo.html +99 -0
  213. package/Games/standalone/clusterrush.html +47 -0
  214. package/Games/standalone/colorswitch.html +224 -0
  215. package/Games/standalone/colortunnel.html +24 -0
  216. package/Games/standalone/cookieclicker.html +150 -0
  217. package/Games/standalone/crazycattle3d.html +246 -0
  218. package/Games/standalone/crossyroad.html +23 -0
  219. package/Games/standalone/cyberpunkracing.html +37 -0
  220. package/Games/standalone/dadish.html +46 -0
  221. package/Games/standalone/dadish2.html +72 -0
  222. package/Games/standalone/deathrun3d.html +69 -0
  223. package/Games/standalone/dogeminer.html +996 -0
  224. package/Games/standalone/dragonvsbricks.html +48 -0
  225. package/Games/standalone/driftboss.html +146 -0
  226. package/Games/standalone/drifthunters.html +123 -0
  227. package/Games/standalone/drivemad.html +41 -0
  228. package/Games/standalone/ducklifebattle.html +131 -0
  229. package/Games/standalone/ducklifespace.html +93 -0
  230. package/Games/standalone/earntodie.html +117 -0
  231. package/Games/standalone/economical.html +77 -0
  232. package/Games/standalone/fireandice.html +22 -0
  233. package/Games/standalone/flappybird.html +137 -0
  234. package/Games/standalone/fnaf.html +115 -0
  235. package/Games/standalone/fnaf2.html +34 -0
  236. package/Games/standalone/fnaf3.html +337 -0
  237. package/Games/standalone/fnaf4.html +338 -0
  238. package/Games/standalone/fnaf4halloween.html +34 -0
  239. package/Games/standalone/fridaynightfunkin.html +76 -0
  240. package/Games/standalone/fruitninja.html +99 -0
  241. package/Games/standalone/galaga.html +216 -0
  242. package/Games/standalone/gdlite.html +255 -0
  243. package/Games/standalone/gladihoppers.html +36 -0
  244. package/Games/standalone/googlefeud.html +1163 -0
  245. package/Games/standalone/granny.html +233 -0
  246. package/Games/standalone/grindcraft.html +44 -0
  247. package/Games/standalone/happywheels.html +19 -0
  248. package/Games/standalone/helixjump.html +30 -0
  249. package/Games/standalone/holeio.html +53 -0
  250. package/Games/standalone/idlebreakout.html +95 -0
  251. package/Games/standalone/jetpack.html +21 -0
  252. package/Games/standalone/magictiles3.html +111 -0
  253. package/Games/standalone/monkeymart.html +365 -0
  254. package/Games/standalone/motox3m.html +1 -0
  255. package/Games/standalone/motox3mpoolparty.html +18 -0
  256. package/Games/standalone/motox3mspookyland.html +68 -0
  257. package/Games/standalone/ngon.html +577 -0
  258. package/Games/standalone/omnombounce.html +82 -0
  259. package/Games/standalone/pacmanoriginal.html +30 -0
  260. package/Games/standalone/papasfreezeria.html +348 -0
  261. package/Games/standalone/paperio2.html +54 -0
  262. package/Games/standalone/parkingfury.html +45 -0
  263. package/Games/standalone/polytrack.html +40 -0
  264. package/Games/standalone/pou.html +73 -0
  265. package/Games/standalone/retrobowl.html +119 -0
  266. package/Games/standalone/retrobowlcollege.html +179 -0
  267. package/Games/standalone/rocketsoccer.html +39 -0
  268. package/Games/standalone/run3.html +64 -0
  269. package/Games/standalone/slender.html +40 -0
  270. package/Games/standalone/slope.html +59 -0
  271. package/Games/standalone/snowrider3d.html +27 -0
  272. package/Games/standalone/soccerrandom.html +0 -0
  273. package/Games/standalone/solitaire.html +32 -0
  274. package/Games/standalone/sonicroboblast2.html +2169 -0
  275. package/Games/standalone/spacewaves.html +239 -0
  276. package/Games/standalone/stack.html +639 -0
  277. package/Games/standalone/station141.html +27 -0
  278. package/Games/standalone/stickmangolf.html +22 -0
  279. package/Games/standalone/stickmanhook.html +39 -0
  280. package/Games/standalone/stuntcars3.html +26 -0
  281. package/Games/standalone/subwaysurfers.html +55 -0
  282. package/Games/standalone/superhot.html +35 -0
  283. package/Games/standalone/superliquidsoccer.html +311 -0
  284. package/Games/standalone/templerun2.html +38 -0
  285. package/Games/standalone/timeshooter.html +99 -0
  286. package/Games/standalone/tinyfishing.html +139 -0
  287. package/Games/standalone/tombofthemask.html +14 -0
  288. package/Games/standalone/triviacrack.html +24 -0
  289. package/Games/standalone/tubejumpers.html +20 -0
  290. package/Games/standalone/ultimatecustomnight.html +34 -0
  291. package/Games/standalone/undertheredsky.html +46 -0
  292. package/Games/standalone/vex3.html +42 -0
  293. package/Games/standalone/vex4.html +38 -0
  294. package/Games/standalone/vex5.html +43 -0
  295. package/Games/standalone/vex6.html +56 -0
  296. package/Games/standalone/vex7.html +53 -0
  297. package/Games/standalone/vex8.html +46 -0
  298. package/Games/standalone/wordle.html +27 -0
  299. package/Games/standalone/worldtour.html +95 -0
  300. package/backup.html +2016 -0
  301. package/games.json +2373 -0
  302. package/index.html +2302 -0
  303. package/new logo.png +0 -0
  304. package/package.json +21 -0
  305. package/port.html +0 -0
  306. package/readme.md +1 -0
  307. package/singlefilegames.json +2266 -0
  308. package/sounds/ambience.mp3 +0 -0
  309. package/sounds/click.mp3 +0 -0
  310. package/sounds/close.mp3 +0 -0
  311. package/sounds/hover.mp3 +0 -0
  312. package/sounds/select.mp3 +0 -0
@@ -0,0 +1,639 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <link rel="icon" href="/new logo.png">
5
+ <base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/Standalone-games@main/stack/">
6
+ <title>Stack</title>
7
+ <meta charset="UTF-8" />
8
+ <script type="text/javascript">
9
+ function disableselect(e) {
10
+ return false;
11
+ }
12
+
13
+ function reEnable() {
14
+ return true;
15
+ }
16
+
17
+ //if IE4+
18
+ document.onselectstart = new Function("return false");
19
+ document.oncontextmenu = new Function("return false");
20
+ //if NS6
21
+ if (window.sidebar) {
22
+ document.onmousedown = disableselect;
23
+ document.onclick = reEnable;
24
+ }
25
+ </script>
26
+ <style>
27
+ @import url("https://fonts.googleapis.com/css?family=Comfortaa");
28
+ html,
29
+ body {
30
+ margin: 0;
31
+ overflow: hidden;
32
+ height: 100%;
33
+ width: 100%;
34
+ position: relative;
35
+ font-family: "Comfortaa", cursive;
36
+ }
37
+
38
+ #container {
39
+ width: 100%;
40
+ height: 100%;
41
+ }
42
+ #container #score {
43
+ position: absolute;
44
+ top: 20px;
45
+ width: 100%;
46
+ text-align: center;
47
+ font-size: 10vh;
48
+ -webkit-transition: -webkit-transform 0.5s ease;
49
+ transition: -webkit-transform 0.5s ease;
50
+ transition: transform 0.5s ease;
51
+ transition: transform 0.5s ease, -webkit-transform 0.5s ease;
52
+ color: #333344;
53
+ -webkit-transform: translatey(-200px) scale(1);
54
+ transform: translatey(-200px) scale(1);
55
+ }
56
+ #container #game {
57
+ position: absolute;
58
+ top: 0;
59
+ right: 0;
60
+ bottom: 0;
61
+ left: 0;
62
+ }
63
+ #container .game-over {
64
+ position: absolute;
65
+ top: 0;
66
+ left: 0;
67
+ width: 100%;
68
+ height: 85%;
69
+ display: -webkit-box;
70
+ display: flex;
71
+ -webkit-box-orient: vertical;
72
+ -webkit-box-direction: normal;
73
+ flex-direction: column;
74
+ -webkit-box-align: center;
75
+ align-items: center;
76
+ -webkit-box-pack: center;
77
+ justify-content: center;
78
+ }
79
+ #container .game-over * {
80
+ -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
81
+ transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
82
+ transition: opacity 0.5s ease, transform 0.5s ease;
83
+ transition: opacity 0.5s ease, transform 0.5s ease,
84
+ -webkit-transform 0.5s ease;
85
+ opacity: 0;
86
+ -webkit-transform: translatey(-50px);
87
+ transform: translatey(-50px);
88
+ color: #333344;
89
+ }
90
+ #container .game-over h2 {
91
+ margin: 0;
92
+ padding: 0;
93
+ font-size: 40px;
94
+ }
95
+ #container .game-ready {
96
+ position: absolute;
97
+ top: 0;
98
+ left: 0;
99
+ width: 100%;
100
+ height: 100%;
101
+ display: -webkit-box;
102
+ display: flex;
103
+ -webkit-box-orient: vertical;
104
+ -webkit-box-direction: normal;
105
+ flex-direction: column;
106
+ -webkit-box-align: center;
107
+ align-items: center;
108
+ justify-content: space-around;
109
+ }
110
+ #container .game-ready #start-button {
111
+ -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
112
+ transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
113
+ transition: opacity 0.5s ease, transform 0.5s ease;
114
+ transition: opacity 0.5s ease, transform 0.5s ease,
115
+ -webkit-transform 0.5s ease;
116
+ opacity: 0;
117
+ -webkit-transform: translatey(-50px);
118
+ transform: translatey(-50px);
119
+ border: 3px solid #333344;
120
+ padding: 10px 20px;
121
+ background-color: transparent;
122
+ color: #333344;
123
+ font-size: 30px;
124
+ }
125
+ #container #instructions {
126
+ position: absolute;
127
+ width: 100%;
128
+ top: 16vh;
129
+ left: 0;
130
+ text-align: center;
131
+ -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
132
+ transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
133
+ transition: opacity 0.5s ease, transform 0.5s ease;
134
+ transition: opacity 0.5s ease, transform 0.5s ease,
135
+ -webkit-transform 0.5s ease;
136
+ opacity: 0;
137
+ }
138
+ #container #instructions.hide {
139
+ opacity: 0 !important;
140
+ }
141
+ #container.playing #score,
142
+ #container.resetting #score {
143
+ -webkit-transform: translatey(0px) scale(1);
144
+ transform: translatey(0px) scale(1);
145
+ }
146
+ #container.playing #instructions {
147
+ opacity: 1;
148
+ }
149
+ #container.ready .game-ready #start-button {
150
+ opacity: 1;
151
+ -webkit-transform: translatey(0);
152
+ transform: translatey(0);
153
+ }
154
+ #container.ended #score {
155
+ -webkit-transform: translatey(6vh) scale(1.5);
156
+ transform: translatey(6vh) scale(1.5);
157
+ }
158
+ #container.ended .game-over * {
159
+ opacity: 1;
160
+ -webkit-transform: translatey(0);
161
+ transform: translatey(0);
162
+ }
163
+ #container.ended .game-over p {
164
+ -webkit-transition-delay: 0.3s;
165
+ transition-delay: 0.3s;
166
+ }
167
+ </style>
168
+ <script>
169
+ window.console = window.console || function (t) {};
170
+ </script>
171
+ <script>
172
+ if (document.location.search.match(/type=embed/gi)) {
173
+ window.parent.postMessage("resize", "*");
174
+ }
175
+ </script>
176
+ </head>
177
+ <body oncontextmenu="return false;" id="ancss">
178
+ <meta name="viewport" content="width=device-width,user-scalable=no" />
179
+ <div id="container">
180
+ <div id="game"></div>
181
+ <div id="score">0</div>
182
+ <div id="instructions">
183
+ Click (or press the spacebar) to place the block
184
+ </div>
185
+ <div class="game-over">
186
+ <h2>Game Over</h2>
187
+ <p>You did great, you're the best.</p>
188
+ <p>Click or spacebar to start again</p>
189
+ </div>
190
+ <div class="game-ready">
191
+ <div id="start-button">Start</div>
192
+ <div></div>
193
+ </div>
194
+ </div>
195
+ <script src="main.js"></script>
196
+ <script src="three.min.js"></script>
197
+ <script src="TweenMax.min.js"></script>
198
+ <script id="rendered-js">
199
+ "use strict";
200
+ console.clear();
201
+ var Stage = /** @class */ (function () {
202
+ function Stage() {
203
+ // container
204
+ var _this = this;
205
+ this.render = function () {
206
+ this.renderer.render(this.scene, this.camera);
207
+ };
208
+ this.add = function (elem) {
209
+ this.scene.add(elem);
210
+ };
211
+ this.remove = function (elem) {
212
+ this.scene.remove(elem);
213
+ };
214
+ this.container = document.getElementById("game");
215
+ // renderer
216
+ this.renderer = new THREE.WebGLRenderer({
217
+ antialias: true,
218
+ alpha: false,
219
+ });
220
+
221
+ this.renderer.setSize(window.innerWidth, window.innerHeight);
222
+ this.renderer.setClearColor("#D0CBC7", 1);
223
+ this.container.appendChild(this.renderer.domElement);
224
+ // scene
225
+ this.scene = new THREE.Scene();
226
+ // camera
227
+ var aspect = window.innerWidth / window.innerHeight;
228
+ var d = 20;
229
+ this.camera = new THREE.OrthographicCamera(
230
+ -d * aspect,
231
+ d * aspect,
232
+ d,
233
+ -d,
234
+ -100,
235
+ 1000
236
+ );
237
+ this.camera.position.x = 2;
238
+ this.camera.position.y = 2;
239
+ this.camera.position.z = 2;
240
+ this.camera.lookAt(new THREE.Vector3(0, 0, 0));
241
+ //light
242
+ this.light = new THREE.DirectionalLight(0xffffff, 0.5);
243
+ this.light.position.set(0, 499, 0);
244
+ this.scene.add(this.light);
245
+ this.softLight = new THREE.AmbientLight(0xffffff, 0.4);
246
+ this.scene.add(this.softLight);
247
+ window.addEventListener("resize", function () {
248
+ return _this.onResize();
249
+ });
250
+ this.onResize();
251
+ }
252
+ Stage.prototype.setCamera = function (y, speed) {
253
+ if (speed === void 0) {
254
+ speed = 0.3;
255
+ }
256
+ TweenLite.to(this.camera.position, speed, {
257
+ y: y + 4,
258
+ ease: Power1.easeInOut,
259
+ });
260
+ TweenLite.to(this.camera.lookAt, speed, {
261
+ y: y,
262
+ ease: Power1.easeInOut,
263
+ });
264
+ };
265
+ Stage.prototype.onResize = function () {
266
+ var viewSize = 30;
267
+ this.renderer.setSize(window.innerWidth, window.innerHeight);
268
+ this.camera.left = window.innerWidth / -viewSize;
269
+ this.camera.right = window.innerWidth / viewSize;
270
+ this.camera.top = window.innerHeight / viewSize;
271
+ this.camera.bottom = window.innerHeight / -viewSize;
272
+ this.camera.updateProjectionMatrix();
273
+ };
274
+ return Stage;
275
+ })();
276
+ var Block = /** @class */ (function () {
277
+ function Block(block) {
278
+ // set size and position
279
+ this.STATES = {
280
+ ACTIVE: "active",
281
+ STOPPED: "stopped",
282
+ MISSED: "missed",
283
+ };
284
+ this.MOVE_AMOUNT = 12;
285
+ this.dimension = { width: 0, height: 0, depth: 0 };
286
+ this.position = { x: 0, y: 0, z: 0 };
287
+ this.targetBlock = block;
288
+ this.index = (this.targetBlock ? this.targetBlock.index : 0) + 1;
289
+ this.workingPlane = this.index % 2 ? "x" : "z";
290
+ this.workingDimension = this.index % 2 ? "width" : "depth";
291
+ // set the dimensions from the target block, or defaults.
292
+ this.dimension.width = this.targetBlock
293
+ ? this.targetBlock.dimension.width
294
+ : 10;
295
+ this.dimension.height = this.targetBlock
296
+ ? this.targetBlock.dimension.height
297
+ : 2;
298
+ this.dimension.depth = this.targetBlock
299
+ ? this.targetBlock.dimension.depth
300
+ : 10;
301
+ this.position.x = this.targetBlock ? this.targetBlock.position.x : 0;
302
+ this.position.y = this.dimension.height * this.index;
303
+ this.position.z = this.targetBlock ? this.targetBlock.position.z : 0;
304
+ this.colorOffset = this.targetBlock
305
+ ? this.targetBlock.colorOffset
306
+ : Math.round(Math.random() * 100);
307
+ // set color
308
+ if (!this.targetBlock) {
309
+ this.color = 0x333344;
310
+ } else {
311
+ var offset = this.index + this.colorOffset;
312
+ var r = Math.sin(0.3 * offset) * 55 + 200;
313
+ var g = Math.sin(0.3 * offset + 2) * 55 + 200;
314
+ var b = Math.sin(0.3 * offset + 4) * 55 + 200;
315
+ this.color = new THREE.Color(r / 255, g / 255, b / 255);
316
+ }
317
+ // state
318
+ this.state =
319
+ this.index > 1 ? this.STATES.ACTIVE : this.STATES.STOPPED;
320
+ // set direction
321
+ this.speed = -0.1 - this.index * 0.005;
322
+ if (this.speed < -4) this.speed = -4;
323
+ this.direction = this.speed;
324
+ // create block
325
+ var geometry = new THREE.BoxGeometry(
326
+ this.dimension.width,
327
+ this.dimension.height,
328
+ this.dimension.depth
329
+ );
330
+ geometry.applyMatrix(
331
+ new THREE.Matrix4().makeTranslation(
332
+ this.dimension.width / 2,
333
+ this.dimension.height / 2,
334
+ this.dimension.depth / 2
335
+ )
336
+ );
337
+ this.material = new THREE.MeshToonMaterial({
338
+ color: this.color,
339
+ shading: THREE.FlatShading,
340
+ });
341
+ this.mesh = new THREE.Mesh(geometry, this.material);
342
+ this.mesh.position.set(
343
+ this.position.x,
344
+ this.position.y + (this.state == this.STATES.ACTIVE ? 0 : 0),
345
+ this.position.z
346
+ );
347
+ if (this.state == this.STATES.ACTIVE) {
348
+ this.position[this.workingPlane] =
349
+ Math.random() > 0.5 ? -this.MOVE_AMOUNT : this.MOVE_AMOUNT;
350
+ }
351
+ }
352
+ Block.prototype.reverseDirection = function () {
353
+ this.direction =
354
+ this.direction > 0 ? this.speed : Math.abs(this.speed);
355
+ };
356
+ Block.prototype.place = function () {
357
+ this.state = this.STATES.STOPPED;
358
+ var overlap =
359
+ this.targetBlock.dimension[this.workingDimension] -
360
+ Math.abs(
361
+ this.position[this.workingPlane] -
362
+ this.targetBlock.position[this.workingPlane]
363
+ );
364
+ var blocksToReturn = {
365
+ plane: this.workingPlane,
366
+ direction: this.direction,
367
+ };
368
+
369
+ if (this.dimension[this.workingDimension] - overlap < 0.3) {
370
+ overlap = this.dimension[this.workingDimension];
371
+ blocksToReturn.bonus = true;
372
+ this.position.x = this.targetBlock.position.x;
373
+ this.position.z = this.targetBlock.position.z;
374
+ this.dimension.width = this.targetBlock.dimension.width;
375
+ this.dimension.depth = this.targetBlock.dimension.depth;
376
+ }
377
+ if (overlap > 0) {
378
+ var choppedDimensions = {
379
+ width: this.dimension.width,
380
+ height: this.dimension.height,
381
+ depth: this.dimension.depth,
382
+ };
383
+ choppedDimensions[this.workingDimension] -= overlap;
384
+ this.dimension[this.workingDimension] = overlap;
385
+ var placedGeometry = new THREE.BoxGeometry(
386
+ this.dimension.width,
387
+ this.dimension.height,
388
+ this.dimension.depth
389
+ );
390
+ placedGeometry.applyMatrix(
391
+ new THREE.Matrix4().makeTranslation(
392
+ this.dimension.width / 2,
393
+ this.dimension.height / 2,
394
+ this.dimension.depth / 2
395
+ )
396
+ );
397
+ var placedMesh = new THREE.Mesh(placedGeometry, this.material);
398
+ var choppedGeometry = new THREE.BoxGeometry(
399
+ choppedDimensions.width,
400
+ choppedDimensions.height,
401
+ choppedDimensions.depth
402
+ );
403
+ choppedGeometry.applyMatrix(
404
+ new THREE.Matrix4().makeTranslation(
405
+ choppedDimensions.width / 2,
406
+ choppedDimensions.height / 2,
407
+ choppedDimensions.depth / 2
408
+ )
409
+ );
410
+ var choppedMesh = new THREE.Mesh(choppedGeometry, this.material);
411
+ var choppedPosition = {
412
+ x: this.position.x,
413
+ y: this.position.y,
414
+ z: this.position.z,
415
+ };
416
+
417
+ if (
418
+ this.position[this.workingPlane] <
419
+ this.targetBlock.position[this.workingPlane]
420
+ ) {
421
+ this.position[this.workingPlane] =
422
+ this.targetBlock.position[this.workingPlane];
423
+ } else {
424
+ choppedPosition[this.workingPlane] += overlap;
425
+ }
426
+ placedMesh.position.set(
427
+ this.position.x,
428
+ this.position.y,
429
+ this.position.z
430
+ );
431
+ choppedMesh.position.set(
432
+ choppedPosition.x,
433
+ choppedPosition.y,
434
+ choppedPosition.z
435
+ );
436
+ blocksToReturn.placed = placedMesh;
437
+ if (!blocksToReturn.bonus) blocksToReturn.chopped = choppedMesh;
438
+ } else {
439
+ this.state = this.STATES.MISSED;
440
+ }
441
+ this.dimension[this.workingDimension] = overlap;
442
+ return blocksToReturn;
443
+ };
444
+ Block.prototype.tick = function () {
445
+ if (this.state == this.STATES.ACTIVE) {
446
+ var value = this.position[this.workingPlane];
447
+ if (value > this.MOVE_AMOUNT || value < -this.MOVE_AMOUNT)
448
+ this.reverseDirection();
449
+ this.position[this.workingPlane] += this.direction;
450
+ this.mesh.position[this.workingPlane] =
451
+ this.position[this.workingPlane];
452
+ }
453
+ };
454
+ return Block;
455
+ })();
456
+ var Game = /** @class */ (function () {
457
+ function Game() {
458
+ var _this = this;
459
+ this.STATES = {
460
+ LOADING: "loading",
461
+ PLAYING: "playing",
462
+ READY: "ready",
463
+ ENDED: "ended",
464
+ RESETTING: "resetting",
465
+ };
466
+
467
+ this.blocks = [];
468
+ this.state = this.STATES.LOADING;
469
+ this.stage = new Stage();
470
+ this.mainContainer = document.getElementById("container");
471
+ this.scoreContainer = document.getElementById("score");
472
+ this.startButton = document.getElementById("start-button");
473
+ this.instructions = document.getElementById("instructions");
474
+ this.scoreContainer.innerHTML = "0";
475
+ this.newBlocks = new THREE.Group();
476
+ this.placedBlocks = new THREE.Group();
477
+ this.choppedBlocks = new THREE.Group();
478
+ this.stage.add(this.newBlocks);
479
+ this.stage.add(this.placedBlocks);
480
+ this.stage.add(this.choppedBlocks);
481
+ this.addBlock();
482
+ this.tick();
483
+ this.updateState(this.STATES.READY);
484
+ document.addEventListener("keydown", function (e) {
485
+ if (e.keyCode == 32) _this.onAction();
486
+ });
487
+ document.addEventListener("click", function (e) {
488
+ _this.onAction();
489
+ });
490
+ document.addEventListener("touchstart", function (e) {
491
+ e.preventDefault();
492
+ // this.onAction();
493
+ // ☝️ this triggers after click on android so you
494
+ // insta-lose, will figure it out later.
495
+ });
496
+ }
497
+ Game.prototype.updateState = function (newState) {
498
+ for (var key in this.STATES)
499
+ this.mainContainer.classList.remove(this.STATES[key]);
500
+ this.mainContainer.classList.add(newState);
501
+ this.state = newState;
502
+ };
503
+ Game.prototype.onAction = function () {
504
+ switch (this.state) {
505
+ case this.STATES.READY:
506
+ this.startGame();
507
+ break;
508
+ case this.STATES.PLAYING:
509
+ this.placeBlock();
510
+ break;
511
+ case this.STATES.ENDED:
512
+ this.restartGame();
513
+ break;
514
+ }
515
+ };
516
+ Game.prototype.startGame = function () {
517
+ if (this.state != this.STATES.PLAYING) {
518
+ this.scoreContainer.innerHTML = "0";
519
+ this.updateState(this.STATES.PLAYING);
520
+ this.addBlock();
521
+ }
522
+ };
523
+ Game.prototype.restartGame = function () {
524
+ var _this = this;
525
+ this.updateState(this.STATES.RESETTING);
526
+ var oldBlocks = this.placedBlocks.children;
527
+ var removeSpeed = 0.2;
528
+ var delayAmount = 0.02;
529
+ var _loop_1 = function (i) {
530
+ TweenLite.to(oldBlocks[i].scale, removeSpeed, {
531
+ x: 0,
532
+ y: 0,
533
+ z: 0,
534
+ delay: (oldBlocks.length - i) * delayAmount,
535
+ ease: Power1.easeIn,
536
+ onComplete: function () {
537
+ return _this.placedBlocks.remove(oldBlocks[i]);
538
+ },
539
+ });
540
+ TweenLite.to(oldBlocks[i].rotation, removeSpeed, {
541
+ y: 0.5,
542
+ delay: (oldBlocks.length - i) * delayAmount,
543
+ ease: Power1.easeIn,
544
+ });
545
+ };
546
+ for (var i = 0; i < oldBlocks.length; i++) {
547
+ _loop_1(i);
548
+ }
549
+ var cameraMoveSpeed =
550
+ removeSpeed * 2 + oldBlocks.length * delayAmount;
551
+ this.stage.setCamera(2, cameraMoveSpeed);
552
+ var countdown = { value: this.blocks.length - 1 };
553
+ TweenLite.to(countdown, cameraMoveSpeed, {
554
+ value: 0,
555
+ onUpdate: function () {
556
+ _this.scoreContainer.innerHTML = String(
557
+ Math.round(countdown.value)
558
+ );
559
+ },
560
+ });
561
+ this.blocks = this.blocks.slice(0, 1);
562
+ setTimeout(function () {
563
+ _this.startGame();
564
+ }, cameraMoveSpeed * 1000);
565
+ };
566
+ Game.prototype.placeBlock = function () {
567
+ var _this = this;
568
+ var currentBlock = this.blocks[this.blocks.length - 1];
569
+ var newBlocks = currentBlock.place();
570
+ this.newBlocks.remove(currentBlock.mesh);
571
+ if (newBlocks.placed) this.placedBlocks.add(newBlocks.placed);
572
+ if (newBlocks.chopped) {
573
+ this.choppedBlocks.add(newBlocks.chopped);
574
+ var positionParams = {
575
+ y: "-=30",
576
+ ease: Power1.easeIn,
577
+ onComplete: function () {
578
+ return _this.choppedBlocks.remove(newBlocks.chopped);
579
+ },
580
+ };
581
+ var rotateRandomness = 10;
582
+ var rotationParams = {
583
+ delay: 0.05,
584
+ x:
585
+ newBlocks.plane == "z"
586
+ ? Math.random() * rotateRandomness - rotateRandomness / 2
587
+ : 0.1,
588
+ z:
589
+ newBlocks.plane == "x"
590
+ ? Math.random() * rotateRandomness - rotateRandomness / 2
591
+ : 0.1,
592
+ y: Math.random() * 0.1,
593
+ };
594
+
595
+ if (
596
+ newBlocks.chopped.position[newBlocks.plane] >
597
+ newBlocks.placed.position[newBlocks.plane]
598
+ ) {
599
+ positionParams[newBlocks.plane] =
600
+ "+=" + 40 * Math.abs(newBlocks.direction);
601
+ } else {
602
+ positionParams[newBlocks.plane] =
603
+ "-=" + 40 * Math.abs(newBlocks.direction);
604
+ }
605
+ TweenLite.to(newBlocks.chopped.position, 1, positionParams);
606
+ TweenLite.to(newBlocks.chopped.rotation, 1, rotationParams);
607
+ }
608
+ this.addBlock();
609
+ };
610
+ Game.prototype.addBlock = function () {
611
+ var lastBlock = this.blocks[this.blocks.length - 1];
612
+ if (lastBlock && lastBlock.state == lastBlock.STATES.MISSED) {
613
+ return this.endGame();
614
+ }
615
+ this.scoreContainer.innerHTML = String(this.blocks.length - 1);
616
+ var newKidOnTheBlock = new Block(lastBlock);
617
+ this.newBlocks.add(newKidOnTheBlock.mesh);
618
+ this.blocks.push(newKidOnTheBlock);
619
+ this.stage.setCamera(this.blocks.length * 2);
620
+ if (this.blocks.length >= 5) this.instructions.classList.add("hide");
621
+ };
622
+ Game.prototype.endGame = function () {
623
+ this.updateState(this.STATES.ENDED);
624
+ };
625
+ Game.prototype.tick = function () {
626
+ var _this = this;
627
+ this.blocks[this.blocks.length - 1].tick();
628
+ this.stage.render();
629
+ requestAnimationFrame(function () {
630
+ _this.tick();
631
+ });
632
+ };
633
+ return Game;
634
+ })();
635
+ var game = new Game();
636
+ </script>
637
+ <script type="application/javascript" src="js/main.js"></script>
638
+ </body>
639
+ </html>
@@ -0,0 +1,27 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en-us">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Station 141</title>
7
+ <link rel="icon" href="/assets/new%20logo.png">
8
+ <base href="https://raw.githack.com/dskjfoisjfsjio/Standalone-games/main/station-141/">
9
+
10
+ <link rel="stylesheet" href="TemplateData/style.css" />
11
+ <script src="TemplateData/UnityProgress.js"></script>
12
+ <script src="Build/UnityLoader.js"></script>
13
+ <script>
14
+ var unityInstance = UnityLoader.instantiate("unityContainer", "Build/WebGL.json", { onProgress: UnityProgress });
15
+ </script>
16
+ </head>
17
+ <body>
18
+ <div class="webgl-content">
19
+ <div id="unityContainer" style="width: 1280px; height: 720px;"></div>
20
+ <div class="footer">
21
+ <div class="webgl-logo"></div>
22
+ <div class="fullscreen" onclick="unityInstance.SetFullscreen(1)"></div>
23
+ <div class="title">Station 141</div>
24
+ </div>
25
+ </div>
26
+ </body>
27
+ </html>
@@ -0,0 +1,22 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/dskjfoisjfsjio.github.io@main/Games/standalone/stickman-golf/">
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Super Stickman Golf</title>
7
+ <meta name="viewport" content="initial-scale=1.0001, minimum-scale=1.0001, maximum-scale=1.0001, user-scalable=no, minimal-ui" />
8
+ <meta name="apple-mobile-web-app-capable" content="yes" />
9
+ <link rel="icon" href="/new logo.png">
10
+ <link rel="stylesheet" type="text/css" href="game.css" />
11
+ <script type="text/javascript" src="game.js"></script>
12
+ <script type="text/javascript" src="jquery-1.7.2.min.js"></script>
13
+ </head>
14
+ <div class="gamecenter-activator"></div>
15
+ <body onload="setTimeout(function(){window.scrollTo(0,1)},1);">
16
+ <div id="ajaxbar">
17
+ <div id="game"><canvas id="canvas"></canvas></div>
18
+ <div id="orientate"><img src="media/landscape.jpg" /></div>
19
+ <div id="play" class="play" onclick=""><img src="media/cover-start.jpg" /></div>
20
+ </div>
21
+ </body>
22
+ </html>