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,48 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
5
|
+
<meta http-equiv="pragma" content="no-cache" />
|
|
6
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, minimal-ui" />
|
|
8
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
9
|
+
<meta charset="utf-8" />
|
|
10
|
+
<meta name="MobileOptimized" content="width" />
|
|
11
|
+
<meta name="HandheldFriendly" content="true" />
|
|
12
|
+
<title>Dragon Vs Bricks</title>
|
|
13
|
+
<base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/Standalone-games@main/dragon-vs-bricks/">
|
|
14
|
+
<link rel="stylesheet" href="files/game.css" type="text/css" />
|
|
15
|
+
<link rel="icon" href="/assets/new%20logo.png">
|
|
16
|
+
</head>
|
|
17
|
+
<body>
|
|
18
|
+
<div id="sg-orient-screen"></div>
|
|
19
|
+
<div id="sg-loading-screen"></div>
|
|
20
|
+
<div id="sg-loading-bar-back"><div id="sg-loading-bar"></div></div>
|
|
21
|
+
<div class="gm4html5_div_class" id="gm4html5_div_id">
|
|
22
|
+
<canvas id="canvas" width="960" height="1280">
|
|
23
|
+
<p>Your browser doesn't support HTML5 canvas.</p>
|
|
24
|
+
</canvas>
|
|
25
|
+
</div>
|
|
26
|
+
<script type="text/javascript">
|
|
27
|
+
splash_w = 960;
|
|
28
|
+
splash_h = 1280;
|
|
29
|
+
bar_img_w = 400;
|
|
30
|
+
bar_img_h = 44;
|
|
31
|
+
bar_img_x = (splash_w - bar_img_w) / 2;
|
|
32
|
+
bar_img_y = 1160;
|
|
33
|
+
canvasobj = document.getElementById("canvas");
|
|
34
|
+
loadbarobj = document.getElementById("sg-loading-bar");
|
|
35
|
+
loadbarbackobj = document.getElementById("sg-loading-bar-back");
|
|
36
|
+
orientobj = document.getElementById("sg-orient-screen");
|
|
37
|
+
loadingobj = document.getElementById("sg-loading-screen");
|
|
38
|
+
document.addEventListener(
|
|
39
|
+
"touchmove",
|
|
40
|
+
function (e) {
|
|
41
|
+
e.preventDefault();
|
|
42
|
+
},
|
|
43
|
+
false
|
|
44
|
+
);
|
|
45
|
+
</script>
|
|
46
|
+
<script type="text/javascript" src="files/SnakeIceWeb.js"></script>
|
|
47
|
+
</body>
|
|
48
|
+
</html>
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<title>Drift Boss</title>
|
|
6
|
+
<base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/dskjfoisjfsjio.github.io@main/Games/standalone/drift-boss/">
|
|
7
|
+
<link rel="icon" href="/new logo.png">
|
|
8
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
9
|
+
<meta name="viewport"
|
|
10
|
+
content="initial-scale=1.0001, minimum-scale=1.0001, maximum-scale=1.0001, user-scalable=no, minimal-ui" />
|
|
11
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
12
|
+
<link rel="stylesheet" type="text/css" href="game.css">
|
|
13
|
+
<script type="text/javascript" src="game.js"></script>
|
|
14
|
+
</head>
|
|
15
|
+
<body onload="setTimeout(function(){window.scrollTo(0,1)},1);">
|
|
16
|
+
<!--body-->
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<div id="ajaxbar">
|
|
20
|
+
<div id="game"><canvas id="canvas"></canvas></div>
|
|
21
|
+
<div id="webgl"><canvas id="webglcanvas"></canvas></div>
|
|
22
|
+
|
|
23
|
+
<div id="orientate"><img src="media/graphics/orientate/landscape.jpg" /></div>
|
|
24
|
+
<div id="play" class="play" onclick=""><img src="media/graphics/splash/mobile/cover-start.jpg" /></div>
|
|
25
|
+
<!--<img id="scrollDown" width="220" height="277"></img>-->
|
|
26
|
+
|
|
27
|
+
<!-- SECTION GENERATED BY CODE -->
|
|
28
|
+
<div id="MobileAdInGamePreroll">
|
|
29
|
+
<div id="MobileAdInGamePreroll-Box">
|
|
30
|
+
<div id="MobileAdInGamePreroll-Box-Header"></div>
|
|
31
|
+
<a id="MobileAdInGamePreroll-Box-Close" onclick="MobileAdInGamePreroll.Close();"></a>
|
|
32
|
+
<div id="MobileAdInGamePreroll-Box-Body">
|
|
33
|
+
<center>
|
|
34
|
+
<!-- MobileAdInGamePreroll -->
|
|
35
|
+
<!-- AdTest-MobileAdInGamePreroll -->
|
|
36
|
+
<img src="https://cdn-factory.marketjs.com/generic.png">
|
|
37
|
+
<!-- EndOfAdTest-MobileAdInGamePreroll -->
|
|
38
|
+
</center>
|
|
39
|
+
</div>
|
|
40
|
+
<div id='MobileAdInGamePreroll-Box-Footer'></div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<!-- SECOND AD (ROTATION) -->
|
|
45
|
+
<div id="MobileAdInGamePreroll2">
|
|
46
|
+
<div id="MobileAdInGamePreroll2-Box">
|
|
47
|
+
<div id="MobileAdInGamePreroll2-Box-Header"></div>
|
|
48
|
+
<a id="MobileAdInGamePreroll2-Box-Close" onclick="MobileAdInGamePreroll.Close();"></a>
|
|
49
|
+
<div id="MobileAdInGamePreroll2-Box-Body">
|
|
50
|
+
<center>
|
|
51
|
+
<!-- MobileAdInGamePreroll2 -->
|
|
52
|
+
</center>
|
|
53
|
+
</div>
|
|
54
|
+
<div id='MobileAdInGamePreroll2-Box-Footer'></div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<!-- THIRD AD (ROTATION) -->
|
|
59
|
+
<div id="MobileAdInGamePreroll3">
|
|
60
|
+
<div id="MobileAdInGamePreroll3-Box">
|
|
61
|
+
<div id="MobileAdInGamePreroll3-Box-Header"></div>
|
|
62
|
+
<a id="MobileAdInGamePreroll3-Box-Close" onclick="MobileAdInGamePreroll.Close();"></a>
|
|
63
|
+
<div id="MobileAdInGamePreroll3-Box-Body">
|
|
64
|
+
<center>
|
|
65
|
+
<!-- MobileAdInGamePreroll3 -->
|
|
66
|
+
</center>
|
|
67
|
+
</div>
|
|
68
|
+
<div id='MobileAdInGamePreroll3-Box-Footer'></div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div id="MobileAdInGameHeader">
|
|
73
|
+
<!-- MobileAdInGameHeader -->
|
|
74
|
+
</div>
|
|
75
|
+
<div id="MobileAdInGameHeader2">
|
|
76
|
+
<!-- MobileAdInGameHeader2 -->
|
|
77
|
+
</div>
|
|
78
|
+
<div id="MobileAdInGameHeader3">
|
|
79
|
+
<!-- MobileAdInGameHeader3 -->
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
<div id="MobileAdInGameFooter">
|
|
83
|
+
<!-- MobileAdInGameFooter -->
|
|
84
|
+
</div>
|
|
85
|
+
<div id="MobileAdInGameFooter2">
|
|
86
|
+
<!-- MobileAdInGameFooter2 -->
|
|
87
|
+
</div>
|
|
88
|
+
<div id="MobileAdInGameFooter3">
|
|
89
|
+
<!-- MobileAdInGameFooter3 -->
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<div id="MobileAdInGameEnd">
|
|
94
|
+
<div id="MobileAdInGameEnd-Box">
|
|
95
|
+
<div id="MobileAdInGameEnd-Box-Header"></div>
|
|
96
|
+
<a id="MobileAdInGameEnd-Box-Close" onclick="MobileAdInGameEnd.Close();"></a>
|
|
97
|
+
<div id="MobileAdInGameEnd-Box-Body">
|
|
98
|
+
<center>
|
|
99
|
+
<!-- MobileAdInGameEnd -->
|
|
100
|
+
</center>
|
|
101
|
+
</div>
|
|
102
|
+
<div id='MobileAdInGameEnd-Box-Footer'></div>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
|
|
106
|
+
<!-- SECOND AD (ROTATION) -->
|
|
107
|
+
<div id="MobileAdInGameEnd2">
|
|
108
|
+
<div id="MobileAdInGameEnd2-Box">
|
|
109
|
+
<div id="MobileAdInGameEnd2-Box-Header"></div>
|
|
110
|
+
<a id="MobileAdInGameEnd2-Box-Close" onclick="MobileAdInGameEnd.Close();"></a>
|
|
111
|
+
<div id="MobileAdInGameEnd2-Box-Body">
|
|
112
|
+
<center>
|
|
113
|
+
<!-- MobileAdInGameEnd2 -->
|
|
114
|
+
</center>
|
|
115
|
+
</div>
|
|
116
|
+
<div id='MobileAdInGameEnd2-Box-Footer'></div>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
<!-- THIRD AD (ROTATION) -->
|
|
121
|
+
<div id="MobileAdInGameEnd3">
|
|
122
|
+
<div id="MobileAdInGameEnd3-Box">
|
|
123
|
+
<div id="MobileAdInGameEnd3-Box-Header"></div>
|
|
124
|
+
<a id="MobileAdInGameEnd3-Box-Close" onclick="MobileAdInGameEnd.Close();"></a>
|
|
125
|
+
<div id="MobileAdInGameEnd3-Box-Body">
|
|
126
|
+
<center>
|
|
127
|
+
<!-- MobileAdInGameEnd3 -->
|
|
128
|
+
</center>
|
|
129
|
+
</div>
|
|
130
|
+
<div id='MobileAdInGameEnd3-Box-Footer'></div>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
|
|
134
|
+
<!-- END OF SECTION GENERATED BY CODE -->
|
|
135
|
+
|
|
136
|
+
</div>
|
|
137
|
+
<!-- <div id="tempdiv"><br><br><br></div> -->
|
|
138
|
+
<!-- APICode2 -->
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
<!-- END OF TEST -->
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
</body>
|
|
145
|
+
|
|
146
|
+
</html>
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en-us">
|
|
3
|
+
<head>
|
|
4
|
+
<title>Drift Hunters</title>
|
|
5
|
+
<base href="https://raw.githack.com/dskjfoisjfsjio/Standalone-games/main/drifthunters/">
|
|
6
|
+
<link rel="icon" href="/new logo.png">
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<meta
|
|
9
|
+
name="viewport"
|
|
10
|
+
content="width=device-width, initial-scale=1.0, user-scalable=no"
|
|
11
|
+
/>
|
|
12
|
+
|
|
13
|
+
<meta name="robots" content="noindex,nofollow" />
|
|
14
|
+
<style>
|
|
15
|
+
body {
|
|
16
|
+
margin: 0;
|
|
17
|
+
padding: 0;
|
|
18
|
+
}
|
|
19
|
+
.webgl-content * {
|
|
20
|
+
border: 0;
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
}
|
|
24
|
+
.webgl-content {
|
|
25
|
+
position: absolute;
|
|
26
|
+
}
|
|
27
|
+
.webgl-content,
|
|
28
|
+
#gameContainer,
|
|
29
|
+
#unityContainer,
|
|
30
|
+
canvas {
|
|
31
|
+
width: 100% !important;
|
|
32
|
+
height: 100% !important;
|
|
33
|
+
}
|
|
34
|
+
.webgl-content .logo,
|
|
35
|
+
.progress {
|
|
36
|
+
position: absolute;
|
|
37
|
+
left: 50%;
|
|
38
|
+
top: 50%;
|
|
39
|
+
-webkit-transform: translate(-50%, -50%);
|
|
40
|
+
transform: translate(-50%, -50%);
|
|
41
|
+
}
|
|
42
|
+
.webgl-content .logo {
|
|
43
|
+
background: url("progressLogo.Light.png") no-repeat center/contain;
|
|
44
|
+
width: 354px;
|
|
45
|
+
height: 130px;
|
|
46
|
+
}
|
|
47
|
+
.webgl-content .progress {
|
|
48
|
+
height: 18px;
|
|
49
|
+
width: 141px;
|
|
50
|
+
margin-top: 90px;
|
|
51
|
+
}
|
|
52
|
+
.webgl-content .progress .empty {
|
|
53
|
+
background: url("progressEmpty.Light.png") no-repeat right/cover;
|
|
54
|
+
float: right;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
display: inline-block;
|
|
58
|
+
}
|
|
59
|
+
.webgl-content .progress .full {
|
|
60
|
+
background: url("progressFull.Light.png") no-repeat left/cover;
|
|
61
|
+
float: left;
|
|
62
|
+
width: 0%;
|
|
63
|
+
height: 100%;
|
|
64
|
+
display: inline-block;
|
|
65
|
+
}
|
|
66
|
+
.webgl-content .logo.Dark {
|
|
67
|
+
background-image: url(progressLogo.Dark.png);
|
|
68
|
+
}
|
|
69
|
+
.webgl-content .progress.Dark .empty {
|
|
70
|
+
background-image: url(progressEmpty.Dark.png);
|
|
71
|
+
}
|
|
72
|
+
.webgl-content .progress.Dark .full {
|
|
73
|
+
background-image: url(progressFull.Dark.png);
|
|
74
|
+
}
|
|
75
|
+
.webgl-content .footer {
|
|
76
|
+
margin-top: 5px;
|
|
77
|
+
height: 38px;
|
|
78
|
+
line-height: 38px;
|
|
79
|
+
font-family: Helvetica, Verdana, Arial, sans-serif;
|
|
80
|
+
font-size: 18px;
|
|
81
|
+
}
|
|
82
|
+
.webgl-content .footer .webgl-logo,
|
|
83
|
+
.title,
|
|
84
|
+
.fullscreen {
|
|
85
|
+
height: 100%;
|
|
86
|
+
display: inline-block;
|
|
87
|
+
background: transparent center no-repeat;
|
|
88
|
+
}
|
|
89
|
+
.webgl-content .footer .webgl-logo {
|
|
90
|
+
background-image: url(webgl-logo.png);
|
|
91
|
+
width: 204px;
|
|
92
|
+
float: left;
|
|
93
|
+
}
|
|
94
|
+
.webgl-content .footer .title {
|
|
95
|
+
margin-right: 10px;
|
|
96
|
+
float: right;
|
|
97
|
+
}
|
|
98
|
+
.webgl-content .footer .fullscreen {
|
|
99
|
+
background-image: url(fullscreen.png);
|
|
100
|
+
width: 38px;
|
|
101
|
+
float: right;
|
|
102
|
+
}
|
|
103
|
+
</style>
|
|
104
|
+
</head>
|
|
105
|
+
<body style="margin: 0 auto; overflow: hidden">
|
|
106
|
+
<div class="webgl-content">
|
|
107
|
+
<div
|
|
108
|
+
id="gameContainer"
|
|
109
|
+
style="width: 100%; height: 100%; margin: 0"
|
|
110
|
+
></div>
|
|
111
|
+
</div>
|
|
112
|
+
</body>
|
|
113
|
+
<script src="UnityLoader2019.js"></script>
|
|
114
|
+
<script>
|
|
115
|
+
var gameInstance = UnityLoader.instantiate("gameContainer", "dh.json");
|
|
116
|
+
|
|
117
|
+
function UnityProgress(gameInstance, progress) {
|
|
118
|
+
if (!gameInstance.Module) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
</script>
|
|
123
|
+
</html>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en-us">
|
|
3
|
+
<head>
|
|
4
|
+
<base href="https://cdn.jsdelivr.net/gh/dskjfoisjfsjio/Standalone-games@main/drive-mad-main/drive-mad-main/">
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
7
|
+
<title>Drive Mad</title>
|
|
8
|
+
<script type="text/javascript" src="Jump_Gamemonetize.js"></script>
|
|
9
|
+
<meta name="description" content="">
|
|
10
|
+
<meta name="google" content="notranslate">
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
|
12
|
+
<link rel="stylesheet" href="webapp/fancade.css">
|
|
13
|
+
<link rel="icon" href="/new logo.png">
|
|
14
|
+
</head>
|
|
15
|
+
<body id="body">
|
|
16
|
+
<div id="modal_parent">
|
|
17
|
+
<div id="modal_content"><span id="modal_close_button">×</span>
|
|
18
|
+
<div id="store_link_modal_content" class="modal_inner"></div>
|
|
19
|
+
<div id="share_file_modal_content" class="modal_inner"></div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<div id="canvas_border" class="emscripten_border">
|
|
23
|
+
<div id="play_content" class="middle center">
|
|
24
|
+
<div class="edge">
|
|
25
|
+
<div class="box">
|
|
26
|
+
<div class="black"><img src="webapp/cover.jpg" class="cover">
|
|
27
|
+
<p class="title">Drive Mad</p>
|
|
28
|
+
<p class="author">Martin Magni</p>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
<div id="progress_or_play"><progress id="progress" class="loading" value="0" max="100"></progress></div>
|
|
33
|
+
<p class="description"></p>
|
|
34
|
+
</div><canvas class="emscripten" id="canvas" tabindex="-1"></canvas>
|
|
35
|
+
<div id="gradient"></div>
|
|
36
|
+
<div id="webview_content"></div>
|
|
37
|
+
</div>
|
|
38
|
+
<script type="text/javascript" src="webapp/source_min.js"></script>
|
|
39
|
+
<script type="text/javascript" src="webapp/index.js"></script>
|
|
40
|
+
</body>
|
|
41
|
+
</html>
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
<html lang="en-us">
|
|
2
|
+
<base href="https://cdn.jsdelivr.net/gh/bubbls/UGS-Assets@459835670515536e0f7ecec6c127d11ef8fa2a82/duck%20life%20battle/">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
7
|
+
<title>Duck Life Battle</title>
|
|
8
|
+
|
|
9
|
+
<link rel="shortcut icon" href="TemplateData/favicon.ico">
|
|
10
|
+
<link rel="stylesheet" href="TemplateData/style.css">
|
|
11
|
+
</head>
|
|
12
|
+
|
|
13
|
+
<body class="dark">
|
|
14
|
+
<div id="unity-container" class="unity-desktop">
|
|
15
|
+
<canvas id="unity-canvas"></canvas>
|
|
16
|
+
</div>
|
|
17
|
+
<div id="loading-cover" style="display:none;">
|
|
18
|
+
<div id="unity-loading-bar">
|
|
19
|
+
<div id="unity-logo"><img src="logo.png" style="margin-bottom: 20px"></div>
|
|
20
|
+
<div id="unity-progress-bar-empty" style="display: none;">
|
|
21
|
+
<div id="unity-progress-bar-full"></div>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="spinner"></div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
<div id="unity-fullscreen-button" style="display: none;"></div>
|
|
27
|
+
<script>
|
|
28
|
+
function mergeFiles(fileParts) {
|
|
29
|
+
return new Promise((resolve, reject) => {
|
|
30
|
+
let buffers = [];
|
|
31
|
+
|
|
32
|
+
function fetchPart(index) {
|
|
33
|
+
if (index >= fileParts.length) {
|
|
34
|
+
let mergedBlob = new Blob(buffers);
|
|
35
|
+
let mergedFileUrl = URL.createObjectURL(mergedBlob);
|
|
36
|
+
resolve(mergedFileUrl);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
fetch(fileParts[index]).then((response) => response.arrayBuffer()).then((data) => {
|
|
40
|
+
buffers.push(data);
|
|
41
|
+
fetchPart(index + 1);
|
|
42
|
+
}).catch(reject);
|
|
43
|
+
}
|
|
44
|
+
fetchPart(0);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function getParts(file, start, end) {
|
|
49
|
+
let parts = [];
|
|
50
|
+
for (let i = start; i <= end; i++) {
|
|
51
|
+
parts.push(file + ".part" + i);
|
|
52
|
+
}
|
|
53
|
+
return parts;
|
|
54
|
+
}
|
|
55
|
+
Promise.all([
|
|
56
|
+
mergeFiles(getParts("Build/Freezenova6.data.unityweb", 1, 3))
|
|
57
|
+
]).then(([dataBlobUrl]) => {
|
|
58
|
+
const buildUrl = "Build";
|
|
59
|
+
const loaderUrl = buildUrl + "/Freezenova6.loader.js";
|
|
60
|
+
const config = {
|
|
61
|
+
dataUrl: dataBlobUrl,
|
|
62
|
+
frameworkUrl: buildUrl + "/Freezenova6.framework.js.unityweb",
|
|
63
|
+
codeUrl: buildUrl + "/Freezenova6.wasm.unityweb",
|
|
64
|
+
streamingAssetsUrl: "StreamingAssets",
|
|
65
|
+
companyName: "Wix Games",
|
|
66
|
+
productName: "Duck Life Battle",
|
|
67
|
+
productVersion: "2024.5.28",
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
// Query DOM elements before using them
|
|
71
|
+
const container = document.querySelector("#unity-container");
|
|
72
|
+
const canvas = document.querySelector("#unity-canvas");
|
|
73
|
+
const loadingCover = document.querySelector("#loading-cover");
|
|
74
|
+
const progressBarEmpty = document.querySelector("#unity-progress-bar-empty");
|
|
75
|
+
const progressBarFull = document.querySelector("#unity-progress-bar-full");
|
|
76
|
+
const fullscreenButton = document.querySelector("#unity-fullscreen-button");
|
|
77
|
+
const spinner = document.querySelector('.spinner');
|
|
78
|
+
|
|
79
|
+
const canFullscreen = (function() {
|
|
80
|
+
for (const key of [
|
|
81
|
+
'exitFullscreen',
|
|
82
|
+
'webkitExitFullscreen',
|
|
83
|
+
'webkitCancelFullScreen',
|
|
84
|
+
'mozCancelFullScreen',
|
|
85
|
+
'msExitFullscreen',
|
|
86
|
+
]) {
|
|
87
|
+
if (key in document) {
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return false;
|
|
92
|
+
}());
|
|
93
|
+
|
|
94
|
+
if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
|
|
95
|
+
container.className = "unity-mobile";
|
|
96
|
+
config.devicePixelRatio = 1;
|
|
97
|
+
}
|
|
98
|
+
loadingCover.style.display = "";
|
|
99
|
+
|
|
100
|
+
// hideFullScreenButton should be a boolean (false to show button)
|
|
101
|
+
const hideFullScreenButton = false;
|
|
102
|
+
|
|
103
|
+
const script = document.createElement("script");
|
|
104
|
+
script.src = loaderUrl;
|
|
105
|
+
script.onload = () => {
|
|
106
|
+
createUnityInstance(canvas, config, (progress) => {
|
|
107
|
+
if (spinner) spinner.style.display = "none";
|
|
108
|
+
if (progressBarEmpty) progressBarEmpty.style.display = "";
|
|
109
|
+
if (progressBarFull) progressBarFull.style.width = `${100 * progress}%`;
|
|
110
|
+
}).then((unityInstance) => {
|
|
111
|
+
if (loadingCover) loadingCover.style.display = "none";
|
|
112
|
+
if (canFullscreen) {
|
|
113
|
+
if (!hideFullScreenButton && fullscreenButton) {
|
|
114
|
+
fullscreenButton.style.display = "";
|
|
115
|
+
}
|
|
116
|
+
if (fullscreenButton) {
|
|
117
|
+
fullscreenButton.onclick = () => {
|
|
118
|
+
unityInstance.SetFullscreen(1);
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}).catch((message) => {
|
|
123
|
+
alert(message);
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
document.body.appendChild(script);
|
|
127
|
+
});
|
|
128
|
+
</script>
|
|
129
|
+
</body>
|
|
130
|
+
|
|
131
|
+
</html>
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
7
|
+
<title>Duck Life Space</title>
|
|
8
|
+
<base href="https://raw.githack.com/dskjfoisjfsjio/Standalone-games/main/duck-life-space/">
|
|
9
|
+
<link rel="icon" href="/assets/new%20logo.png">
|
|
10
|
+
<link rel="stylesheet" href="TemplateData/style.css">
|
|
11
|
+
</head>
|
|
12
|
+
<body class="dark">
|
|
13
|
+
<div id="unity-container" class="unity-desktop">
|
|
14
|
+
<canvas id="unity-canvas"></canvas>
|
|
15
|
+
</div>
|
|
16
|
+
<div id="loading-cover" style="display:none;">
|
|
17
|
+
<div id="unity-loading-bar">
|
|
18
|
+
<div id="unity-logo"><img src="logo.png" style="margin-bottom: 20px"></div>
|
|
19
|
+
<div id="unity-progress-bar-empty" style="display: none;">
|
|
20
|
+
<div id="unity-progress-bar-full"></div>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="spinner"></div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div id="unity-fullscreen-button" style="display: none;"></div>
|
|
26
|
+
<script>
|
|
27
|
+
const hideFullScreenButton = "true";
|
|
28
|
+
const buildUrl = "Build";
|
|
29
|
+
const loaderUrl = buildUrl + "/Freezenova5.loader.js";
|
|
30
|
+
const config = {
|
|
31
|
+
dataUrl: buildUrl + "/Freezenova5.data.unityweb",
|
|
32
|
+
frameworkUrl: buildUrl + "/Freezenova5.framework.js.unityweb",
|
|
33
|
+
codeUrl: buildUrl + "/Freezenova5.wasm.unityweb",
|
|
34
|
+
streamingAssetsUrl: "StreamingAssets",
|
|
35
|
+
companyName: "Mofunzone",
|
|
36
|
+
productName: "Duck Life Space",
|
|
37
|
+
productVersion: "2024.5.27",
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
const container = document.querySelector("#unity-container");
|
|
41
|
+
const canvas = document.querySelector("#unity-canvas");
|
|
42
|
+
const loadingCover = document.querySelector("#loading-cover");
|
|
43
|
+
const progressBarEmpty = document.querySelector("#unity-progress-bar-empty");
|
|
44
|
+
const progressBarFull = document.querySelector("#unity-progress-bar-full");
|
|
45
|
+
const fullscreenButton = document.querySelector("#unity-fullscreen-button");
|
|
46
|
+
const spinner = document.querySelector('.spinner');
|
|
47
|
+
|
|
48
|
+
const canFullscreen = (function() {
|
|
49
|
+
for (const key of [
|
|
50
|
+
'exitFullscreen',
|
|
51
|
+
'webkitExitFullscreen',
|
|
52
|
+
'webkitCancelFullScreen',
|
|
53
|
+
'mozCancelFullScreen',
|
|
54
|
+
'msExitFullscreen',
|
|
55
|
+
]) {
|
|
56
|
+
if (key in document) {
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return false;
|
|
61
|
+
}());
|
|
62
|
+
|
|
63
|
+
if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
|
|
64
|
+
container.className = "unity-mobile";
|
|
65
|
+
config.devicePixelRatio = 1;
|
|
66
|
+
}
|
|
67
|
+
loadingCover.style.display = "";
|
|
68
|
+
|
|
69
|
+
const script = document.createElement("script");
|
|
70
|
+
script.src = loaderUrl;
|
|
71
|
+
script.onload = () => {
|
|
72
|
+
createUnityInstance(canvas, config, (progress) => {
|
|
73
|
+
spinner.style.display = "none";
|
|
74
|
+
progressBarEmpty.style.display = "";
|
|
75
|
+
progressBarFull.style.width = `${100 * progress}%`;
|
|
76
|
+
}).then((unityInstance) => {
|
|
77
|
+
loadingCover.style.display = "none";
|
|
78
|
+
if (canFullscreen) {
|
|
79
|
+
if (!hideFullScreenButton) {
|
|
80
|
+
fullscreenButton.style.display = "";
|
|
81
|
+
}
|
|
82
|
+
fullscreenButton.onclick = () => {
|
|
83
|
+
unityInstance.SetFullscreen(1);
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
}).catch((message) => {
|
|
87
|
+
alert(message);
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
document.body.appendChild(script);
|
|
91
|
+
</script>
|
|
92
|
+
</body>
|
|
93
|
+
</html>
|