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.
- package/Apps/30dollarwebsite.html +403 -0
- package/Apps/emulatorjs.html +258 -0
- package/Apps/ruffle.html +93 -0
- package/Apps/soundboard.html +4 -0
- package/Games/WAflash/connect4.html +87 -0
- package/Games/WAflash/dealornodeal.html +89 -0
- package/Games/WAflash/escapingtheprison.html +87 -0
- package/Games/WAflash/fancypants2.html +86 -0
- package/Games/WAflash/freegear.html +87 -0
- package/Games/WAflash/learntoflyidle.html +87 -0
- package/Games/WAflash/papascoop.html +88 -0
- package/Games/WAflash/papashotdog.html +88 -0
- package/Games/WAflash/papaspancake.html +89 -0
- package/Games/WAflash/papaswingeria.html +87 -0
- package/Games/WAflash/pottyracers3.html +86 -0
- package/Games/WAflash/run.html +88 -0
- package/Games/WAflash/run2.html +88 -0
- package/Games/WAflash/shoppingcarthero2.html +88 -0
- package/Games/WAflash/sonicultimate.html +87 -0
- package/Games/WAflash/sugarsugar.html +91 -0
- package/Games/WAflash/vex.html +91 -0
- package/Games/WAflash/worldshardestgame3.html +89 -0
- package/Games/emulated/GBA/emeraldversion.html +30 -0
- package/Games/emulated/GBA/fireredversion.html +30 -0
- package/Games/emulated/GBA/leafgreenversion.html +30 -0
- package/Games/emulated/GBA/rubyversion.html +30 -0
- package/Games/emulated/GBA/sapphireversion.html +30 -0
- package/Games/emulated/N64/mariokart64.html +27 -0
- package/Games/emulated/N64/supermario64.html +30 -0
- package/Games/emulated/SNES/earthbound.html +31 -0
- package/Games/ruffle/MahjongTower.html +40 -0
- package/Games/ruffle/QWOP.html +41 -0
- package/Games/ruffle/achievementunlocked.html +41 -0
- package/Games/ruffle/achievementunlocked2.html +41 -0
- package/Games/ruffle/achievementunlocked3.html +41 -0
- package/Games/ruffle/ageofdefense.html +41 -0
- package/Games/ruffle/ageofwar.html +41 -0
- package/Games/ruffle/ageofwar2.html +41 -0
- package/Games/ruffle/airship.html +41 -0
- package/Games/ruffle/alien.html +41 -0
- package/Games/ruffle/angrybirdshalloween.html +40 -0
- package/Games/ruffle/appleshooter.html +41 -0
- package/Games/ruffle/axisfootballleague.html +40 -0
- package/Games/ruffle/badpiggies.html +41 -0
- package/Games/ruffle/bejeweledtwist.html +41 -0
- package/Games/ruffle/blinding.html +40 -0
- package/Games/ruffle/bloons.html +41 -0
- package/Games/ruffle/bloonsupermonkey.html +40 -0
- package/Games/ruffle/bloxorz.html +40 -0
- package/Games/ruffle/bobtherobber.html +41 -0
- package/Games/ruffle/bowling.html +40 -0
- package/Games/ruffle/breakingthebank.html +40 -0
- package/Games/ruffle/btd.html +40 -0
- package/Games/ruffle/btd2.html +40 -0
- package/Games/ruffle/btd3.html +41 -0
- package/Games/ruffle/btd4.html +41 -0
- package/Games/ruffle/btd4expansion.html +41 -0
- package/Games/ruffle/btd5.html +41 -0
- package/Games/ruffle/bubbleshooter.html +41 -0
- package/Games/ruffle/burgerrun.html +41 -0
- package/Games/ruffle/burritobisonrevenge.html +41 -0
- package/Games/ruffle/crimsonroom.html +41 -0
- package/Games/ruffle/cubefield.html +40 -0
- package/Games/ruffle/curveball.html +41 -0
- package/Games/ruffle/deadzed2.html +40 -0
- package/Games/ruffle/dinerdash.html +41 -0
- package/Games/ruffle/donkeykong.html +40 -0
- package/Games/ruffle/douchebagworkout.html +40 -0
- package/Games/ruffle/douchebagworkout2.html +40 -0
- package/Games/ruffle/ducklife.html +40 -0
- package/Games/ruffle/ducklife2.html +40 -0
- package/Games/ruffle/ducklife3.html +40 -0
- package/Games/ruffle/ducklife4.html +40 -0
- package/Games/ruffle/electricman.html +41 -0
- package/Games/ruffle/electricman2.html +41 -0
- package/Games/ruffle/factoryballs.html +42 -0
- package/Games/ruffle/factoryballs2.html +42 -0
- package/Games/ruffle/factoryballs3.html +41 -0
- package/Games/ruffle/factoryballs4.html +41 -0
- package/Games/ruffle/fancypants.html +41 -0
- package/Games/ruffle/fancypants3.html +41 -0
- package/Games/ruffle/fleeingthecomplex.html +41 -0
- package/Games/ruffle/fltron.html +40 -0
- package/Games/ruffle/foresttemple.html +40 -0
- package/Games/ruffle/frogger.html +40 -0
- package/Games/ruffle/frontlinedefense.html +40 -0
- package/Games/ruffle/galagaflash.html +41 -0
- package/Games/ruffle/gravitee.html +41 -0
- package/Games/ruffle/gravitee2.html +41 -0
- package/Games/ruffle/growcube.html +41 -0
- package/Games/ruffle/growisland.html +41 -0
- package/Games/ruffle/growvalley.html +41 -0
- package/Games/ruffle/impossiblequiz.html +41 -0
- package/Games/ruffle/impossiblequiz2.html +41 -0
- package/Games/ruffle/injustice.html +41 -0
- package/Games/ruffle/isoball.html +41 -0
- package/Games/ruffle/johnnyupgrade.html +41 -0
- package/Games/ruffle/jumpingfinn.html +40 -0
- package/Games/ruffle/kaboomz.html +40 -0
- package/Games/ruffle/leaguebowling.html +41 -0
- package/Games/ruffle/learntofly.html +40 -0
- package/Games/ruffle/learntofly2.html +40 -0
- package/Games/ruffle/learntofly3.html +40 -0
- package/Games/ruffle/lemonade.html +40 -0
- package/Games/ruffle/madness.html +40 -0
- package/Games/ruffle/madnessa.html +40 -0
- package/Games/ruffle/mahjonggardens.html +40 -0
- package/Games/ruffle/mahjongtitans.html +40 -0
- package/Games/ruffle/mariocombat.html +40 -0
- package/Games/ruffle/minecrafttowerdefense.html +41 -0
- package/Games/ruffle/minecrafttowerdefense2.html +41 -0
- package/Games/ruffle/motherload.html +40 -0
- package/Games/ruffle/murder.html +41 -0
- package/Games/ruffle/myfriendpedro.html +40 -0
- package/Games/ruffle/neonrider.html +41 -0
- package/Games/ruffle/nyancatlostinspace.html +40 -0
- package/Games/ruffle/pacman.html +40 -0
- package/Games/ruffle/pacxon.html +41 -0
- package/Games/ruffle/pacxondeluxe.html +41 -0
- package/Games/ruffle/pandemic2.html +41 -0
- package/Games/ruffle/papas sushi.html +40 -0
- package/Games/ruffle/papasbake.html +40 -0
- package/Games/ruffle/papasburgeria.html +41 -0
- package/Games/ruffle/papascheese.html +40 -0
- package/Games/ruffle/papascupcake.html +40 -0
- package/Games/ruffle/papasdonut.html +40 -0
- package/Games/ruffle/papaspasta.html +42 -0
- package/Games/ruffle/papaspizza.html +41 -0
- package/Games/ruffle/papastaco.html +42 -0
- package/Games/ruffle/plantsvszombies.html +41 -0
- package/Games/ruffle/poppit.html +42 -0
- package/Games/ruffle/portaltheflashversion.html +42 -0
- package/Games/ruffle/pottyracers.html +40 -0
- package/Games/ruffle/pottyracers2.html +40 -0
- package/Games/ruffle/raftwars.html +40 -0
- package/Games/ruffle/redball.html +42 -0
- package/Games/ruffle/redball2.html +41 -0
- package/Games/ruffle/redball3.html +41 -0
- package/Games/ruffle/riddleschool.html +41 -0
- package/Games/ruffle/riddleschool2.html +41 -0
- package/Games/ruffle/riddleschool3.html +41 -0
- package/Games/ruffle/riddleschool4.html +41 -0
- package/Games/ruffle/riddleschool5.html +41 -0
- package/Games/ruffle/riddletransfer.html +41 -0
- package/Games/ruffle/riddletransfer2.html +41 -0
- package/Games/ruffle/rollercoaster.html +41 -0
- package/Games/ruffle/shoppingcarthero.html +41 -0
- package/Games/ruffle/spaceiskey.html +41 -0
- package/Games/ruffle/spaceiskey2.html +41 -0
- package/Games/ruffle/sprinter.html +41 -0
- package/Games/ruffle/stealingthediamond.html +41 -0
- package/Games/ruffle/stickwar.html +41 -0
- package/Games/ruffle/strikeforceheros.html +40 -0
- package/Games/ruffle/strikeforceheros2.html +40 -0
- package/Games/ruffle/strikeforcekitty.html +41 -0
- package/Games/ruffle/sugarsugar2.html +41 -0
- package/Games/ruffle/superfighters.html +41 -0
- package/Games/ruffle/supermarioflash.html +41 -0
- package/Games/ruffle/supermarioflash2.html +41 -0
- package/Games/ruffle/supermarioflash3.html +41 -0
- package/Games/ruffle/supersmashflash.html +41 -0
- package/Games/ruffle/tactical.html +41 -0
- package/Games/ruffle/tactical2.html +41 -0
- package/Games/ruffle/tacticaloriginal.html +41 -0
- package/Games/ruffle/territorywar.html +41 -0
- package/Games/ruffle/tetrix2.html +41 -0
- package/Games/ruffle/thefightforglorton.html +41 -0
- package/Games/ruffle/thinice.html +41 -0
- package/Games/ruffle/treasurehunt.html +40 -0
- package/Games/ruffle/unfairmario.html +40 -0
- package/Games/ruffle/vex2.html +41 -0
- package/Games/ruffle/whenpizzaattacks.html +41 -0
- package/Games/ruffle/whg.html +40 -0
- package/Games/ruffle/whg2.html +40 -0
- package/Games/ruffle/whg4.html +40 -0
- package/Games/ruffle/yahootennis.html +40 -0
- package/Games/ruffle/zombocalypse.html +41 -0
- package/Games/singlefile.html +67 -0
- package/Games/sonic-games/sonicthehedgehog.html +29 -0
- package/Games/sonic-games/sonicthehedgehog2.html +31 -0
- package/Games/sonic-games/sonicthehedgehog3.html +23 -0
- package/Games/standalone/10minutestilldawn.html +85 -0
- package/Games/standalone/1v1lol.html +299 -0
- package/Games/standalone/2048.html +129 -0
- package/Games/standalone/2048cupcakes.html +135 -0
- package/Games/standalone/Angry Birds.html +20 -0
- package/Games/standalone/BlockPost.html +36 -0
- package/Games/standalone/BuildNow.gg.html +136 -0
- package/Games/standalone/Flappy Dunk.html +169 -0
- package/Games/standalone/Granny 2.html +202 -0
- package/Games/standalone/Time Shooter 2.html +94 -0
- package/Games/standalone/adventure.html +128 -0
- package/Games/standalone/angrybirdsshowdown.html +24 -0
- package/Games/standalone/badicecream.html +163 -0
- package/Games/standalone/badicecream2.html +165 -0
- package/Games/standalone/badicecream3.html +165 -0
- package/Games/standalone/badtime.html +145 -0
- package/Games/standalone/baldi.html +26 -0
- package/Games/standalone/basketrandom.html +46 -0
- package/Games/standalone/bigtower.html +65 -0
- package/Games/standalone/bigtower2.html +20 -0
- package/Games/standalone/bitlife.html +22 -0
- package/Games/standalone/blockblast.html +94 -0
- package/Games/standalone/blockthepig.html +142 -0
- package/Games/standalone/bowmasters.html +27 -0
- package/Games/standalone/boxingrandom.html +0 -0
- package/Games/standalone/candycrush.html +67 -0
- package/Games/standalone/carssimulator.html +40 -0
- package/Games/standalone/caseclicker.html +310 -0
- package/Games/standalone/cellmachine.html +24 -0
- package/Games/standalone/choppyorc.html +210 -0
- package/Games/standalone/circleo.html +99 -0
- package/Games/standalone/clusterrush.html +47 -0
- package/Games/standalone/colorswitch.html +224 -0
- package/Games/standalone/colortunnel.html +24 -0
- package/Games/standalone/cookieclicker.html +150 -0
- package/Games/standalone/crazycattle3d.html +246 -0
- package/Games/standalone/crossyroad.html +23 -0
- package/Games/standalone/cyberpunkracing.html +37 -0
- package/Games/standalone/dadish.html +46 -0
- package/Games/standalone/dadish2.html +72 -0
- package/Games/standalone/deathrun3d.html +69 -0
- package/Games/standalone/dogeminer.html +996 -0
- package/Games/standalone/dragonvsbricks.html +48 -0
- package/Games/standalone/driftboss.html +146 -0
- package/Games/standalone/drifthunters.html +123 -0
- package/Games/standalone/drivemad.html +41 -0
- package/Games/standalone/ducklifebattle.html +131 -0
- package/Games/standalone/ducklifespace.html +93 -0
- package/Games/standalone/earntodie.html +117 -0
- package/Games/standalone/economical.html +77 -0
- package/Games/standalone/fireandice.html +22 -0
- package/Games/standalone/flappybird.html +137 -0
- package/Games/standalone/fnaf.html +115 -0
- package/Games/standalone/fnaf2.html +34 -0
- package/Games/standalone/fnaf3.html +337 -0
- package/Games/standalone/fnaf4.html +338 -0
- package/Games/standalone/fnaf4halloween.html +34 -0
- package/Games/standalone/fridaynightfunkin.html +76 -0
- package/Games/standalone/fruitninja.html +99 -0
- package/Games/standalone/galaga.html +216 -0
- package/Games/standalone/gdlite.html +255 -0
- package/Games/standalone/gladihoppers.html +36 -0
- package/Games/standalone/googlefeud.html +1163 -0
- package/Games/standalone/granny.html +233 -0
- package/Games/standalone/grindcraft.html +44 -0
- package/Games/standalone/happywheels.html +19 -0
- package/Games/standalone/helixjump.html +30 -0
- package/Games/standalone/holeio.html +53 -0
- package/Games/standalone/idlebreakout.html +95 -0
- package/Games/standalone/jetpack.html +21 -0
- package/Games/standalone/magictiles3.html +111 -0
- package/Games/standalone/monkeymart.html +365 -0
- package/Games/standalone/motox3m.html +1 -0
- package/Games/standalone/motox3mpoolparty.html +18 -0
- package/Games/standalone/motox3mspookyland.html +68 -0
- package/Games/standalone/ngon.html +577 -0
- package/Games/standalone/omnombounce.html +82 -0
- package/Games/standalone/pacmanoriginal.html +30 -0
- package/Games/standalone/papasfreezeria.html +348 -0
- package/Games/standalone/paperio2.html +54 -0
- package/Games/standalone/parkingfury.html +45 -0
- package/Games/standalone/polytrack.html +40 -0
- package/Games/standalone/pou.html +73 -0
- package/Games/standalone/retrobowl.html +119 -0
- package/Games/standalone/retrobowlcollege.html +179 -0
- package/Games/standalone/rocketsoccer.html +39 -0
- package/Games/standalone/run3.html +64 -0
- package/Games/standalone/slender.html +40 -0
- package/Games/standalone/slope.html +59 -0
- package/Games/standalone/snowrider3d.html +27 -0
- package/Games/standalone/soccerrandom.html +0 -0
- package/Games/standalone/solitaire.html +32 -0
- package/Games/standalone/sonicroboblast2.html +2169 -0
- package/Games/standalone/spacewaves.html +239 -0
- package/Games/standalone/stack.html +639 -0
- package/Games/standalone/station141.html +27 -0
- package/Games/standalone/stickmangolf.html +22 -0
- package/Games/standalone/stickmanhook.html +39 -0
- package/Games/standalone/stuntcars3.html +26 -0
- package/Games/standalone/subwaysurfers.html +55 -0
- package/Games/standalone/superhot.html +35 -0
- package/Games/standalone/superliquidsoccer.html +311 -0
- package/Games/standalone/templerun2.html +38 -0
- package/Games/standalone/timeshooter.html +99 -0
- package/Games/standalone/tinyfishing.html +139 -0
- package/Games/standalone/tombofthemask.html +14 -0
- package/Games/standalone/triviacrack.html +24 -0
- package/Games/standalone/tubejumpers.html +20 -0
- package/Games/standalone/ultimatecustomnight.html +34 -0
- package/Games/standalone/undertheredsky.html +46 -0
- package/Games/standalone/vex3.html +42 -0
- package/Games/standalone/vex4.html +38 -0
- package/Games/standalone/vex5.html +43 -0
- package/Games/standalone/vex6.html +56 -0
- package/Games/standalone/vex7.html +53 -0
- package/Games/standalone/vex8.html +46 -0
- package/Games/standalone/wordle.html +27 -0
- package/Games/standalone/worldtour.html +95 -0
- package/backup.html +2016 -0
- package/games.json +2373 -0
- package/index.html +2302 -0
- package/new logo.png +0 -0
- package/package.json +21 -0
- package/port.html +0 -0
- package/readme.md +1 -0
- package/singlefilegames.json +2266 -0
- package/sounds/ambience.mp3 +0 -0
- package/sounds/click.mp3 +0 -0
- package/sounds/close.mp3 +0 -0
- package/sounds/hover.mp3 +0 -0
- package/sounds/select.mp3 +0 -0
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en-us">
|
|
3
|
+
<head>
|
|
4
|
+
<title>Granny</title>
|
|
5
|
+
<link rel="icon" href="/new logo.png">
|
|
6
|
+
<meta charset="utf-8">
|
|
7
|
+
<meta name="robots" content="noindex, nofollow">
|
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
9
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/gru6nny/ohd@main/TemplateData/style.css">
|
|
10
|
+
<script src="https://cdn.jsdelivr.net/gh/gru6nny/ohd@main/sdk.js"></script>
|
|
11
|
+
<!-- GameMonetize SDK Entegrasyonu -->
|
|
12
|
+
<script type="text/javascript">
|
|
13
|
+
window.SDK_OPTIONS = {
|
|
14
|
+
gameId: "jp112o3o4hzgrnc7zaewjkrfk282pul8",
|
|
15
|
+
onEvent: function (a) {
|
|
16
|
+
switch (a.name) {
|
|
17
|
+
case "SDK_GAME_PAUSE":
|
|
18
|
+
console.log("Oyun duraklatıldı, ses kapatılıyor...");
|
|
19
|
+
if (typeof myGameInstance !== 'undefined' && myGameInstance) {
|
|
20
|
+
myGameInstance.SendMessage('AudioManager', 'MuteAudio');
|
|
21
|
+
}
|
|
22
|
+
break;
|
|
23
|
+
case "SDK_GAME_START":
|
|
24
|
+
console.log("Reklam bitti, oyun devam ediyor...");
|
|
25
|
+
if (typeof myGameInstance !== 'undefined' && myGameInstance) {
|
|
26
|
+
myGameInstance.SendMessage('AudioManager', 'UnmuteAudio');
|
|
27
|
+
}
|
|
28
|
+
break;
|
|
29
|
+
case "SDK_READY":
|
|
30
|
+
console.log("SDK hazır.");
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
(function (a, b, c) {
|
|
36
|
+
var d = a.getElementsByTagName(b)[0];
|
|
37
|
+
a.getElementById(c) || (a = a.createElement(b), a.id = c, a.src = "https://cdn.jsdelivr.net/gh/testamalame/sef@main/sedk.js", d.parentNode.insertBefore(a, d));
|
|
38
|
+
})(document, "script", "gamemonetize-sdk");
|
|
39
|
+
</script>
|
|
40
|
+
<style>
|
|
41
|
+
body {
|
|
42
|
+
margin: 0;
|
|
43
|
+
padding: 0;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
background: url('https://cdn.jsdelivr.net/gh/gru6nny/ohd@main/background.png') no-repeat center center fixed;
|
|
46
|
+
background-size: cover;
|
|
47
|
+
}
|
|
48
|
+
#unity-container {
|
|
49
|
+
position: absolute;
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
left: 0;
|
|
53
|
+
top: 0;
|
|
54
|
+
}
|
|
55
|
+
#unity-loading-bar {
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 50%;
|
|
58
|
+
left: 50%;
|
|
59
|
+
transform: translate(-50%, -50%);
|
|
60
|
+
width: 400px;
|
|
61
|
+
height: 20px;
|
|
62
|
+
background: rgba(0, 0, 0, 0.5);
|
|
63
|
+
border: 2px solid #ffffff;
|
|
64
|
+
border-radius: 10px;
|
|
65
|
+
display: block;
|
|
66
|
+
}
|
|
67
|
+
#unity-logo {
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: calc(50% - 100px);
|
|
70
|
+
left: 50%;
|
|
71
|
+
transform: translateX(-50%);
|
|
72
|
+
width: 200px;
|
|
73
|
+
height: auto;
|
|
74
|
+
}
|
|
75
|
+
#unity-logo img {
|
|
76
|
+
max-width: 100%;
|
|
77
|
+
height: auto;
|
|
78
|
+
}
|
|
79
|
+
#unity-progress-bar-empty {
|
|
80
|
+
width: 100%;
|
|
81
|
+
height: 100%;
|
|
82
|
+
position: relative;
|
|
83
|
+
}
|
|
84
|
+
#unity-progress-bar-full {
|
|
85
|
+
position: absolute;
|
|
86
|
+
top: 0;
|
|
87
|
+
left: 0;
|
|
88
|
+
width: 0%;
|
|
89
|
+
height: 100%;
|
|
90
|
+
background: #4caf50;
|
|
91
|
+
border-radius: 8px;
|
|
92
|
+
transition: width 0.3s ease;
|
|
93
|
+
}
|
|
94
|
+
#unity-warning {
|
|
95
|
+
position: absolute;
|
|
96
|
+
left: 50%;
|
|
97
|
+
top: 5%;
|
|
98
|
+
transform: translate(-50%);
|
|
99
|
+
background: white;
|
|
100
|
+
padding: 10px;
|
|
101
|
+
display: none;
|
|
102
|
+
border: 1px solid #ccc;
|
|
103
|
+
border-radius: 5px;
|
|
104
|
+
}
|
|
105
|
+
</style>
|
|
106
|
+
</head>
|
|
107
|
+
<body>
|
|
108
|
+
<div id="unity-container">
|
|
109
|
+
<canvas id="unity-canvas" style="position: absolute; width: 100%; height: 100%"></canvas>
|
|
110
|
+
<div id="unity-loading-bar">
|
|
111
|
+
<div id="unity-logo">
|
|
112
|
+
<img src="https://cdn.jsdelivr.net/gh/gru6nny/ohd@main/logo.png" alt="Granny Logo">
|
|
113
|
+
</div>
|
|
114
|
+
<div id="unity-progress-bar-empty">
|
|
115
|
+
<div id="unity-progress-bar-full"></div>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
<div id="unity-warning"></div>
|
|
119
|
+
</div>
|
|
120
|
+
<script>
|
|
121
|
+
async function mergeUnityWebFiles(baseUrl, filePrefix, totalParts, extension) {
|
|
122
|
+
const partUrls = [];
|
|
123
|
+
for (let i = 1; i <= totalParts; i++) {
|
|
124
|
+
partUrls.push(`${baseUrl}/${filePrefix}_part${i}.${extension}`);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
const buffers = [];
|
|
128
|
+
for (let i = 0; i < totalParts; i++) {
|
|
129
|
+
const response = await fetch(partUrls[i]);
|
|
130
|
+
if (!response.ok) {
|
|
131
|
+
throw new Error(`Failed to load part: ${partUrls[i]}`);
|
|
132
|
+
}
|
|
133
|
+
const buffer = await response.arrayBuffer();
|
|
134
|
+
buffers.push(buffer);
|
|
135
|
+
|
|
136
|
+
const progress = ((i + 1) / totalParts) * 100;
|
|
137
|
+
document.querySelector("#unity-progress-bar-full").style.width = `${progress}%`;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
const totalLength = buffers.reduce((acc, buffer) => acc + buffer.byteLength, 0);
|
|
141
|
+
const combinedBuffer = new Uint8Array(totalLength);
|
|
142
|
+
let offset = 0;
|
|
143
|
+
|
|
144
|
+
buffers.forEach((buffer) => {
|
|
145
|
+
combinedBuffer.set(new Uint8Array(buffer), offset);
|
|
146
|
+
offset += buffer.byteLength;
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
return combinedBuffer;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
var container = document.querySelector("#unity-container");
|
|
153
|
+
var canvas = document.querySelector("#unity-canvas");
|
|
154
|
+
var loadingBar = document.querySelector("#unity-loading-bar");
|
|
155
|
+
var progressBarFull = document.querySelector("#unity-progress-bar-full");
|
|
156
|
+
var warningBanner = document.querySelector("#unity-warning");
|
|
157
|
+
|
|
158
|
+
let myGameInstance = null;
|
|
159
|
+
let isAdShown = false;
|
|
160
|
+
|
|
161
|
+
function unityShowBanner(msg, type) {
|
|
162
|
+
function updateBannerVisibility() {
|
|
163
|
+
warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
|
|
164
|
+
}
|
|
165
|
+
var div = document.createElement('div');
|
|
166
|
+
div.innerHTML = msg;
|
|
167
|
+
warningBanner.appendChild(div);
|
|
168
|
+
if (type == 'error') div.style = 'background: red; padding: 10px;';
|
|
169
|
+
else {
|
|
170
|
+
if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
|
|
171
|
+
setTimeout(function() {
|
|
172
|
+
warningBanner.removeChild(div);
|
|
173
|
+
updateBannerVisibility();
|
|
174
|
+
}, 5000);
|
|
175
|
+
}
|
|
176
|
+
updateBannerVisibility();
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
function showAdOnClick() {
|
|
180
|
+
if (!isAdShown && typeof sdk !== 'undefined' && typeof sdk.showBanner !== 'undefined') {
|
|
181
|
+
sdk.showBanner();
|
|
182
|
+
isAdShown = true;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
var buildUrl = "https://cdn.jsdelivr.net/gh/gru6nny/ohd@main/Build";
|
|
187
|
+
var loaderUrl = buildUrl + "/Granny.loader.js";
|
|
188
|
+
|
|
189
|
+
async function initializeGame() {
|
|
190
|
+
try {
|
|
191
|
+
const dataBuffer = await mergeUnityWebFiles(buildUrl, "Granny", 2, "data");
|
|
192
|
+
const wasmBuffer = await mergeUnityWebFiles(buildUrl, "Granny", 2, "wasm");
|
|
193
|
+
|
|
194
|
+
const dataBlobUrl = URL.createObjectURL(new Blob([dataBuffer], { type: "application/octet-stream" }));
|
|
195
|
+
const wasmBlobUrl = URL.createObjectURL(new Blob([wasmBuffer], { type: "application/octet-stream" }));
|
|
196
|
+
|
|
197
|
+
var config = {
|
|
198
|
+
dataUrl: dataBlobUrl,
|
|
199
|
+
frameworkUrl: buildUrl + "/Granny.framework.js",
|
|
200
|
+
codeUrl: wasmBlobUrl,
|
|
201
|
+
streamingAssetsUrl: "https://cdn.jsdelivr.net/gh/gru6nny/ohd@main/StreamingAssets",
|
|
202
|
+
companyName: "Anastasia Kazantseva",
|
|
203
|
+
productName: "Granny",
|
|
204
|
+
productVersion: "1.0",
|
|
205
|
+
showBanner: unityShowBanner,
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
var script = document.createElement("script");
|
|
209
|
+
script.src = loaderUrl;
|
|
210
|
+
script.onload = () => {
|
|
211
|
+
createUnityInstance(canvas, config, (progress) => {
|
|
212
|
+
progressBarFull.style.width = 100 * progress + "%";
|
|
213
|
+
}).then((unityInstance) => {
|
|
214
|
+
myGameInstance = unityInstance;
|
|
215
|
+
loadingBar.style.display = "none";
|
|
216
|
+
// Oyun yüklendiğinde tıklama olayını ekle
|
|
217
|
+
canvas.addEventListener('pointerdown', showAdOnClick);
|
|
218
|
+
canvas.addEventListener('touchstart', showAdOnClick);
|
|
219
|
+
}).catch((message) => {
|
|
220
|
+
alert(message);
|
|
221
|
+
});
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
document.body.appendChild(script);
|
|
225
|
+
} catch (error) {
|
|
226
|
+
console.error("Game initialization failed:", error);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
initializeGame();
|
|
231
|
+
</script>
|
|
232
|
+
</body>
|
|
233
|
+
</html>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/Standalone-games@main/grindcraft/">
|
|
6
|
+
<link rel="icon" href="/assets/new%20logo.png">
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
|
9
|
+
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no" />
|
|
10
|
+
<title>Grindcraft</title>
|
|
11
|
+
<script type="text/javascript" src="/js/main.js"></script>
|
|
12
|
+
<script type="text/javascript" src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
|
|
13
|
+
</head>
|
|
14
|
+
<style>
|
|
15
|
+
body {
|
|
16
|
+
overflow-y: hidden;
|
|
17
|
+
overflow-x: hidden;
|
|
18
|
+
margin: 0px;
|
|
19
|
+
padding: 0px;
|
|
20
|
+
}
|
|
21
|
+
</style>
|
|
22
|
+
<body>
|
|
23
|
+
<div id="turn"></div>
|
|
24
|
+
<div id="gameContainer"></div>
|
|
25
|
+
<script type="text/javascript">
|
|
26
|
+
var gameName = "grindcraft.min.js";
|
|
27
|
+
|
|
28
|
+
//This all here is for cache busting;
|
|
29
|
+
function addScript(src, buster, callback) {
|
|
30
|
+
var s = document.createElement("script");
|
|
31
|
+
s.setAttribute("src", src + "?v=" + buster);
|
|
32
|
+
if (typeof callback === "function") {
|
|
33
|
+
s.onload = callback;
|
|
34
|
+
}
|
|
35
|
+
document.body.appendChild(s);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Google Analytics stuff
|
|
39
|
+
addScript("version.js", Date.now(), function () {
|
|
40
|
+
addScript(gameName, version, function () {});
|
|
41
|
+
});
|
|
42
|
+
</script>
|
|
43
|
+
</body>
|
|
44
|
+
</html>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<base href="https://cdn.jsdelivr.net/gh/jargdev/openWheels@main/">
|
|
5
|
+
<title>Happy Wheels</title>
|
|
6
|
+
|
|
7
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
8
|
+
<meta charset="UTF-8">
|
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
10
|
+
|
|
11
|
+
<link rel="stylesheet" href="style.css">
|
|
12
|
+
|
|
13
|
+
<script src="main.js" type="module"></script>
|
|
14
|
+
|
|
15
|
+
</head>
|
|
16
|
+
<body>
|
|
17
|
+
<div id="og-game-holder"></div>
|
|
18
|
+
</body>
|
|
19
|
+
</html>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<html><head><title>Helix Jump</title><link rel="icon" href="/assets/new%20logo.png">
|
|
2
|
+
</script><style type="text/css">body,td,div,span,p{font-family:arial,sans-serif;}a {color:#0000cc;}a:visited {color:#551a8b;}a:active {color:#ff0000;}body{margin: 0px;padding: 0px;background-color:white;}</style><script>window['__isgadget']=true;</script><link href="https://cdn.jsdelivr.net/gh/paigerodeghero/academicwebsite@897c910c65e6c68b04c44a6b6eba0b99d0f2f2cf/TemplateData/style.css" rel="stylesheet">
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<style type="text/css">#button {
|
|
6
|
+
display:none;
|
|
7
|
+
}
|
|
8
|
+
.imgb_vis {
|
|
9
|
+
animation: imgb-animation 7s linear;
|
|
10
|
+
}
|
|
11
|
+
@keyframes imgb-animation {
|
|
12
|
+
10% {
|
|
13
|
+
transform: translateX(0);
|
|
14
|
+
}
|
|
15
|
+
20% {
|
|
16
|
+
transform: translateX(100px);
|
|
17
|
+
}
|
|
18
|
+
90% {
|
|
19
|
+
transform: translateX(100px);
|
|
20
|
+
}
|
|
21
|
+
100% {
|
|
22
|
+
transform: translateX(0);
|
|
23
|
+
}
|
|
24
|
+
}</style></head><body dir="ltr"><script src="https://cdn.jsdelivr.net/gh/paigerodeghero/academicwebsite@897c910c65e6c68b04c44a6b6eba0b99d0f2f2cf/TemplateData/UnityProgress.js"></script><script src="https://cdn.jsdelivr.net/gh/gertdoro/Toolkit@6801bd97f311bef640fafcedd8783d426423bd67/Code/Python/HelixJump.js"></script><script>
|
|
25
|
+
var gameInstance = UnityLoader.instantiate("gameContainer", "https://cdn.jsdelivr.net/gh/gertdoro/Toolkit@6801bd97f311bef640fafcedd8783d426423bd67/Code/Python/HelixJump.json", {onProgress: UnityProgress,Module:{onRuntimeInitialized: function() {UnityProgress(gameInstance, "complete")}}});
|
|
26
|
+
</script><div class="webgl-content">
|
|
27
|
+
<div id="gameContainer" style="width: 100vw; height: 100vh; padding: 0px; margin: 0px; border: 0px; position: relative; background: rgb(34, 44, 54);"><canvas id="#canvas" width="1536" height="739" style="cursor: default;"></canvas><div class="logo Dark" style="display: none;"></div><div class="progress Dark" style="display: none;"><div class="empty" style="width: 0%;"></div><div class="full" style="width: 100%;"></div></div></div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
</body></html>
|
|
@@ -0,0 +1,53 @@
|
|
|
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>Hole.io</title>
|
|
7
|
+
<base href="https://rawcdn.githack.com/dskjfoisjfsjio/Standalone-games/main/hole-io/">
|
|
8
|
+
|
|
9
|
+
<link rel="stylesheet" href="Style/style.css">
|
|
10
|
+
<link rel="icon" href="/new logo.png">
|
|
11
|
+
|
|
12
|
+
<script src="UnityProgress.js"></script>
|
|
13
|
+
<script src="unityloader.js"></script>
|
|
14
|
+
|
|
15
|
+
<style>
|
|
16
|
+
html, body {
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
overflow: hidden; /* Prevents scrollbars if the game slightly exceeds the window */
|
|
22
|
+
}
|
|
23
|
+
.webgl-content {
|
|
24
|
+
width: 100% !important;
|
|
25
|
+
height: 100% !important;
|
|
26
|
+
position: fixed; /* Ensures it is always anchored to the viewport */
|
|
27
|
+
top: 0;
|
|
28
|
+
left: 0;
|
|
29
|
+
}
|
|
30
|
+
#gameContainer {
|
|
31
|
+
/* Set the container to fill the entire content area */
|
|
32
|
+
width: 100% !important;
|
|
33
|
+
height: 100% !important;
|
|
34
|
+
}
|
|
35
|
+
</style>
|
|
36
|
+
|
|
37
|
+
<script>
|
|
38
|
+
// The game instantiation script remains the same
|
|
39
|
+
var gameInstance = UnityLoader.instantiate("gameContainer", "build.json", {onProgress: UnityProgress});
|
|
40
|
+
</script>
|
|
41
|
+
</head>
|
|
42
|
+
<body>
|
|
43
|
+
<div class="webgl-content">
|
|
44
|
+
<div id="gameContainer"></div>
|
|
45
|
+
|
|
46
|
+
<div class="footer">
|
|
47
|
+
<div class="webgl-logo"></div>
|
|
48
|
+
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div>
|
|
49
|
+
<div class="title">Hole.IO</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</body>
|
|
53
|
+
</html>
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/Standalone-games@main/idle-breakout/">
|
|
6
|
+
<link rel="icon" href="/new logo.png">
|
|
7
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
8
|
+
<meta http-equiv="pragma" content="no-cache"/>
|
|
9
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
10
|
+
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
|
|
11
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
12
|
+
<meta charset="utf-8"/>
|
|
13
|
+
|
|
14
|
+
<!-- Set the title bar of the page -->
|
|
15
|
+
<title>Idle Breakout</title>
|
|
16
|
+
|
|
17
|
+
<!-- Set the background colour of the document -->
|
|
18
|
+
<style>
|
|
19
|
+
body {
|
|
20
|
+
background: #000000;
|
|
21
|
+
color:#cccccc;
|
|
22
|
+
margin: 0px;
|
|
23
|
+
padding: 0px;
|
|
24
|
+
border: 0px;
|
|
25
|
+
}
|
|
26
|
+
canvas {
|
|
27
|
+
image-rendering: optimizeSpeed;
|
|
28
|
+
-webkit-interpolation-mode: nearest-neighbor;
|
|
29
|
+
-ms-touch-action: none;
|
|
30
|
+
margin: 0px;
|
|
31
|
+
padding: 0px;
|
|
32
|
+
border: 0px;
|
|
33
|
+
}
|
|
34
|
+
:-webkit-full-screen #canvas {
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 100%;
|
|
37
|
+
}
|
|
38
|
+
div.gm4html5_div_class
|
|
39
|
+
{
|
|
40
|
+
margin: 0px;
|
|
41
|
+
padding: 0px;
|
|
42
|
+
border: 0px;
|
|
43
|
+
}
|
|
44
|
+
/* START - Login Dialog Box */
|
|
45
|
+
div.gm4html5_login
|
|
46
|
+
{
|
|
47
|
+
padding: 20px;
|
|
48
|
+
position: absolute;
|
|
49
|
+
border: solid 2px #000000;
|
|
50
|
+
background-color: #404040;
|
|
51
|
+
color:#00ff00;
|
|
52
|
+
border-radius: 15px;
|
|
53
|
+
box-shadow: #101010 20px 20px 40px;
|
|
54
|
+
}
|
|
55
|
+
div.gm4html5_cancel_button
|
|
56
|
+
{
|
|
57
|
+
float: right;
|
|
58
|
+
}
|
|
59
|
+
div.gm4html5_login_button
|
|
60
|
+
{
|
|
61
|
+
float: left;
|
|
62
|
+
}
|
|
63
|
+
div.gm4html5_login_header
|
|
64
|
+
{
|
|
65
|
+
text-align: center;
|
|
66
|
+
}
|
|
67
|
+
/* END - Login Dialog Box */
|
|
68
|
+
:-webkit-full-screen {
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 100%;
|
|
71
|
+
}
|
|
72
|
+
</style>
|
|
73
|
+
</head>
|
|
74
|
+
<body style="overflow:hidden; margin:0; padding:0;" onresize="CanvasResize();">
|
|
75
|
+
<div class="gm4html5_div_class" id="gm4html5_div_id" align="center">
|
|
76
|
+
<!-- Create the canvas element the game draws to -->
|
|
77
|
+
<script>
|
|
78
|
+
window_width= window.innerWidth;
|
|
79
|
+
window_height= window.innerHeight;
|
|
80
|
+
if (window_height> window_width*3/4) {
|
|
81
|
+
window_height= Math.floor(window_width*3/4);
|
|
82
|
+
}
|
|
83
|
+
if (window_width> window_height*4/3) {
|
|
84
|
+
window_width= Math.floor(window_height*4/3);
|
|
85
|
+
}
|
|
86
|
+
console.log("--fx--", window_width, window_height);
|
|
87
|
+
document.write("<canvas id=\"canvas\" width=\""+ window_width+ "\" height=\""+ window_height+ "\"><p>Your browser doesn't support HTML5 canvas.</p></canvas>");
|
|
88
|
+
</script>
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<!-- Run the game code -->
|
|
92
|
+
<script type="text/javascript" src="html5game/Coding_BreakOut1.js?MBCYB=1433039701"></script>
|
|
93
|
+
<script>window.onload = GameMaker_Init;</script>
|
|
94
|
+
</body>
|
|
95
|
+
</html>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title>Jetpack Joyride</title>
|
|
6
|
+
<base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/Standalone-games@main/Jetpack%20Joyride/">
|
|
7
|
+
<link rel="stylesheet" type="text/css" href="css/styles.css" />
|
|
8
|
+
<link rel="icon" href="/new logo.png" />
|
|
9
|
+
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1" />
|
|
10
|
+
<script type="text/javascript" src="engine/phaser-3.24.1.min.js"></script>
|
|
11
|
+
<script type="text/javascript" src="game3.js"></script>
|
|
12
|
+
<script type="text/javascript" src="/js/main.js"></script>
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<div class="fontLoader" style="font-family: jetpackia;">-</div>
|
|
16
|
+
<img id="rotate_image" src="img/HB_ic_rotateScreen.png" alt="rotate_screen" class="center" />
|
|
17
|
+
<div id="content">
|
|
18
|
+
<div id="phaser-canvas"></div>
|
|
19
|
+
</div>
|
|
20
|
+
</body>
|
|
21
|
+
</html>
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>Magic Tiles 3</title>
|
|
7
|
+
<base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/Standalone-games@main/magic-tiles-3/">
|
|
8
|
+
<link rel="icon" type="image/png" href="/new logo.png">
|
|
9
|
+
<script src="https://cdn.jsdelivr.net/gh/bubbls/youtube-playables@main/ytgame.js" nonce="4eHT7UXCvu0lKrKpiCZYiQ"></script>
|
|
10
|
+
<meta name="viewport"
|
|
11
|
+
content="width=device-width,user-scalable=no,initial-scale=1, minimum-scale=1,maximum-scale=1" />
|
|
12
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
13
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
14
|
+
<meta name="format-detection" content="telephone=no">
|
|
15
|
+
<meta name="renderer" content="webkit" />
|
|
16
|
+
<meta name="force-rendering" content="webkit" />
|
|
17
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
18
|
+
<meta name="msapplication-tap-highlight" content="no">
|
|
19
|
+
<meta name="full-screen" content="yes" />
|
|
20
|
+
<meta name="x5-fullscreen" content="true" />
|
|
21
|
+
<meta name="360-fullscreen" content="true" />
|
|
22
|
+
<meta name="screen-orientation" content="<%=orientation%>" />
|
|
23
|
+
<meta name="x5-orientation" content="<%=orientation%>">
|
|
24
|
+
<meta name="x5-page-mode" content="app">
|
|
25
|
+
<link rel="stylesheet" type="text/css" href="style-mobile.css" nonce="4eHT7UXCvu0lKrKpiCZYiQ" />
|
|
26
|
+
<style>
|
|
27
|
+
body,
|
|
28
|
+
html {
|
|
29
|
+
margin: 0;
|
|
30
|
+
padding: 0;
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 100%;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
#splash {
|
|
37
|
+
position: fixed;
|
|
38
|
+
top: 0;
|
|
39
|
+
left: 0;
|
|
40
|
+
width: 100%;
|
|
41
|
+
height: 100%;
|
|
42
|
+
background: #FFFFFF;
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
z-index: 999;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
#splash-logo {
|
|
50
|
+
width: 100vmin;
|
|
51
|
+
height: 100vmin;
|
|
52
|
+
object-fit: contain;
|
|
53
|
+
opacity: 0;
|
|
54
|
+
transition: opacity 0.5s ease-in-out;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
#GameCanvas {
|
|
58
|
+
position: fixed;
|
|
59
|
+
top: 0;
|
|
60
|
+
left: 0;
|
|
61
|
+
width: 100%;
|
|
62
|
+
height: 100%;
|
|
63
|
+
}
|
|
64
|
+
</style>
|
|
65
|
+
</head>
|
|
66
|
+
|
|
67
|
+
<body>
|
|
68
|
+
<div id="splash">
|
|
69
|
+
<img id="splash-logo" src="logo_expanded.jpeg" alt="Amanotes Logo">
|
|
70
|
+
</div>
|
|
71
|
+
<canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="0"></canvas>
|
|
72
|
+
<script src="src/settings.js" charset="utf-8" nonce="4eHT7UXCvu0lKrKpiCZYiQ"></script>
|
|
73
|
+
<%=webDebugger%>
|
|
74
|
+
<script src="main.js" charset="utf-8" nonce="4eHT7UXCvu0lKrKpiCZYiQ"></script>
|
|
75
|
+
|
|
76
|
+
<script type="text/javascript" nonce="4eHT7UXCvu0lKrKpiCZYiQ">
|
|
77
|
+
(function () {
|
|
78
|
+
if (typeof VConsole !== 'undefined') {
|
|
79
|
+
window.vConsole = new VConsole();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
var debug = window._CCSettings.debug;
|
|
83
|
+
var splash = document.getElementById('splash');
|
|
84
|
+
splash.style.display = 'block';
|
|
85
|
+
|
|
86
|
+
function loadScript(moduleName, cb) {
|
|
87
|
+
function scriptLoaded() {
|
|
88
|
+
document.body.removeChild(domScript);
|
|
89
|
+
domScript.removeEventListener('load', scriptLoaded, false);
|
|
90
|
+
cb && cb();
|
|
91
|
+
};
|
|
92
|
+
var domScript = document.createElement('script');
|
|
93
|
+
domScript.async = true;
|
|
94
|
+
domScript.src = moduleName;
|
|
95
|
+
domScript.addEventListener('load', scriptLoaded, false);
|
|
96
|
+
document.body.appendChild(domScript);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
loadScript(debug ? 'cocos2d-js.js' : 'cocos2d-js-min.js', function () {
|
|
100
|
+
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
|
|
101
|
+
loadScript(debug ? 'physics.js' : 'physics-min.js', window.boot);
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
window.boot();
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
})();
|
|
108
|
+
</script>
|
|
109
|
+
</body>
|
|
110
|
+
|
|
111
|
+
</html>
|