-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (83 loc) · 11.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#000000">
<title>Loth Domination</title>
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta>
<style>
* {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background-color: #000000;
}
svg {
width: 100%;
max-width: 200px;
z-index: visible;
}
canvas {
display: none;
}
#rotatediv {
top: 0;
bottom: 0;
left: 0;
right: 0;
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
position: absolute;
z-index: visible;
}
img {
width: 70%;
max-width: 350px;
}
@media screen and (orientation:portrait) {
#rotatediv {
display: flex;
}
}
</style>
</head>
<body onresize="resize()" style="text-align: center">
<div id="rotatediv">
<img src="rotate.svg" alt="">
</div>
<canvas id="unity-canvas"></canvas>
<svg id="loading" width="508px" height="81px" viewBox="0 0 508 81" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Yükleniyor…</title>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path
d="M33.6266996,64 L33.6266996,43.6456531 L56.2060157,6.31561599 L45.658014,6.31561599 L28.5999176,34.4161516 L11.7066337,6.31561599 L0.252163164,6.31561599 L22.9138855,43.8104656 L22.9138855,64 L33.6266996,64 Z M72.4400494,13.0729295 C73.8684247,13.0729295 75.0495811,12.6059607 75.9835187,11.6720231 C76.9174564,10.7380854 77.3844252,9.55692899 77.3844252,8.12855377 C77.3844252,6.64524104 76.9174564,5.43661585 75.9835187,4.5026782 C75.0495811,3.56874056 73.8684247,3.10177173 72.4400494,3.10177173 C71.0116742,3.10177173 69.8305178,3.56874056 68.8965801,4.5026782 C67.9626425,5.43661585 67.4956737,6.64524104 67.4956737,8.12855377 C67.4956737,9.55692899 67.9626425,10.7380854 68.8965801,11.6720231 C69.8305178,12.6059607 71.0116742,13.0729295 72.4400494,13.0729295 Z M88.4268644,13.0729295 C89.8552397,13.0729295 91.0363961,12.6059607 91.9703337,11.6720231 C92.9042714,10.7380854 93.3712402,9.55692899 93.3712402,8.12855377 C93.3712402,6.64524104 92.9042714,5.43661585 91.9703337,4.5026782 C91.0363961,3.56874056 89.8552397,3.10177173 88.4268644,3.10177173 C86.9984892,3.10177173 85.8173328,3.56874056 84.8833951,4.5026782 C83.9494575,5.43661585 83.4824887,6.64524104 83.4824887,8.12855377 C83.4824887,9.55692899 83.9494575,10.7380854 84.8833951,11.6720231 C85.8173328,12.6059607 86.9984892,13.0729295 88.4268644,13.0729295 Z M77.9612691,64.5768438 C80.8180195,64.5768438 83.4824887,64.0412031 85.9546766,62.9699217 C88.4268644,61.8986403 90.487021,60.3741244 92.1351463,58.3963741 L92.1351463,58.3963741 L92.1351463,64 L101.941492,64 L101.941492,19.9950556 L91.6407087,19.9950556 L91.6407087,42.2447466 C91.6407087,46.5298723 90.5556929,49.8123884 88.3856613,52.092295 C86.2156297,54.3722016 83.2902074,55.5121549 79.6093943,55.5121549 C76.3131438,55.5121549 73.772284,54.5370141 71.986815,52.5867326 C70.201346,50.636451 69.3086115,47.68356 69.3086115,43.7280593 L69.3086115,43.7280593 L69.3086115,19.9950556 L59.0078286,19.9950556 L59.0078286,45.1289658 C59.0078286,51.5566543 60.697157,56.4048894 64.0758138,59.6736712 C67.4544705,62.942453 72.0829556,64.5768438 77.9612691,64.5768438 Z M125.756902,64 L125.756902,52.3807169 L133.420684,45.1289658 L148.665843,64 L161.191595,64 L141.084466,38.4540585 L159.461063,19.9950556 L147.100124,19.9950556 L125.756902,39.7725587 L125.756902,2.85455295 L115.456119,2.85455295 L115.456119,64 L125.756902,64 Z M178.167285,64 L178.167285,2.85455295 L167.866502,2.85455295 L167.866502,64 L178.167285,64 Z M212.365884,64.5768438 C216.156572,64.5768438 219.562697,63.9725312 222.58426,62.7639061 C225.605823,61.5552809 228.10548,59.7698118 230.08323,57.407499 L230.08323,57.407499 L224.562011,51.0622167 C221.430573,54.2485922 217.447603,55.84178 212.613103,55.84178 C208.822415,55.84178 205.649773,54.894108 203.095179,52.9987639 C200.540585,51.1034199 198.961132,48.5350913 198.356819,45.2937783 L198.356819,45.2937783 L232.885043,45.2937783 C232.994918,43.9752781 233.049856,42.9589342 233.049856,42.2447466 C233.049856,37.7398709 232.102184,33.7706359 230.20684,30.3370416 C228.311496,26.9034473 225.674495,24.2389782 222.295838,22.3436341 C218.917182,20.4482901 215.08529,19.500618 210.800165,19.500618 C206.460102,19.500618 202.559539,20.4620244 199.098475,22.3848372 C195.637412,24.30765 192.93174,26.9858536 190.981459,30.4194479 C189.031177,33.8530422 188.056036,37.7124021 188.056036,41.9975278 C188.056036,46.337591 189.058646,50.2244197 191.063865,53.658014 C193.069084,57.0916083 195.9121,59.7698118 199.592913,61.6926246 C203.273726,63.6154374 207.531383,64.5768438 212.365884,64.5768438 Z M223.243511,38.4540585 L198.274413,38.4540585 C198.76885,35.2127455 200.156023,32.6169482 202.435929,30.6666667 C204.715836,28.7163851 207.503914,27.7412443 210.800165,27.7412443 C214.151353,27.7412443 216.953166,28.7301195 219.205604,30.7078698 C221.458041,32.6856201 222.80401,35.267683 223.243511,38.4540585 L223.243511,38.4540585 Z M253.23939,64 L253.23939,41.750309 C253.23939,37.4651834 254.33814,34.1826672 256.535641,31.9027606 C258.733141,29.622854 261.727235,28.4829007 265.517923,28.4829007 C268.869111,28.4829007 271.451174,29.4580415 273.264112,31.408323 C275.07705,33.3586046 275.983519,36.2565582 275.983519,40.1021838 L275.983519,40.1021838 L275.983519,64 L286.284302,64 L286.284302,38.7836836 C286.284302,32.4109326 284.608708,27.6039006 281.25752,24.3625876 C277.906332,21.1212746 273.456393,19.500618 267.907705,19.500618 C264.666392,19.500618 261.754704,20.0225244 259.172641,21.066337 C256.590578,22.1101497 254.448015,23.6483999 252.744953,25.6810878 L252.744953,25.6810878 L252.744953,19.9950556 L242.938607,19.9950556 L242.938607,64 L253.23939,64 Z M304.578492,12.7433045 C306.501305,12.7433045 308.080758,12.1252575 309.316852,10.8891636 C310.552946,9.65306963 311.170993,8.12855377 311.170993,6.31561599 C311.170993,4.61255322 310.539212,3.19791237 309.275649,2.07169345 C308.012086,0.945474523 306.446367,0.38236506 304.578492,0.38236506 C302.710617,0.38236506 301.144898,0.972943277 299.881335,2.15409971 C298.617772,3.33525615 297.985991,4.8048345 297.985991,6.56283478 C297.985991,8.32083505 298.617772,9.7904134 299.881335,10.9715698 C301.144898,12.1527263 302.710617,12.7433045 304.578492,12.7433045 Z M309.68768,64 L309.68768,19.9950556 L299.386897,19.9950556 L299.386897,64 L309.68768,64 Z M326.828183,80.5636588 C330.728746,80.5636588 334.052465,79.5885181 336.799341,77.6382365 C339.546216,75.687955 341.88106,72.3230326 343.803873,67.5434693 L343.803873,67.5434693 L364.405439,19.9950556 L354.516687,19.9950556 L340.590029,52.5455295 L326.745777,19.9950556 L316.032963,19.9950556 L335.233622,64.1648125 L334.491965,65.895344 C333.50309,68.0928444 332.418074,69.6585634 331.236918,70.592501 C330.055762,71.5264387 328.558714,71.9934075 326.745777,71.9934075 C325.372339,71.9934075 324.012636,71.71872 322.666667,71.1693449 C321.320698,70.6199698 320.153276,69.8783134 319.1644,68.9443758 L319.1644,68.9443758 L315.044087,76.525752 C316.417525,77.7893147 318.175525,78.7781898 320.318088,79.4923774 C322.460651,80.206565 324.630683,80.5636588 326.828183,80.5636588 Z M389.374536,64.5768438 C393.879412,64.5768438 397.917319,63.6154374 401.488257,61.6926246 C405.059195,59.7698118 407.847274,57.0916083 409.852493,53.658014 C411.857712,50.2244197 412.860321,46.337591 412.860321,41.9975278 C412.860321,37.6574646 411.857712,33.7843703 409.852493,30.3782447 C407.847274,26.9721192 405.059195,24.30765 401.488257,22.3848372 C397.917319,20.4620244 393.879412,19.500618 389.374536,19.500618 C384.924598,19.500618 380.91416,20.4620244 377.343222,22.3848372 C373.772284,24.30765 370.984205,26.9721192 368.978986,30.3782447 C366.973767,33.7843703 365.971158,37.6574646 365.971158,41.9975278 C365.971158,46.337591 366.973767,50.2244197 368.978986,53.658014 C370.984205,57.0916083 373.772284,59.7698118 377.343222,61.6926246 C380.91416,63.6154374 384.924598,64.5768438 389.374536,64.5768438 Z M389.374536,55.7593737 C385.583848,55.7593737 382.466145,54.495811 380.021426,51.9686856 C377.576706,49.4415602 376.354347,46.117841 376.354347,41.9975278 C376.354347,37.8772147 377.576706,34.5534954 380.021426,32.02637 C382.466145,29.4992446 385.583848,28.2356819 389.374536,28.2356819 C393.165225,28.2356819 396.296663,29.4992446 398.76885,32.02637 C401.241038,34.5534954 402.477132,37.8772147 402.477132,41.9975278 C402.477132,46.117841 401.241038,49.4415602 398.76885,51.9686856 C396.296663,54.495811 393.165225,55.7593737 389.374536,55.7593737 Z M433.049856,64 L433.049856,42.6567779 C433.049856,38.2617772 434.176075,34.8968548 436.428513,32.5620107 C438.68095,30.2271666 441.812388,29.0597445 445.822827,29.0597445 C446.537014,29.0597445 447.333608,29.1421508 448.212608,29.3069633 L448.212608,29.3069633 L448.212608,19.500618 C440.741107,19.500618 435.522044,21.8079934 432.555418,26.4227441 L432.555418,26.4227441 L432.555418,19.9950556 L422.749073,19.9950556 L422.749073,64 L433.049856,64 Z M459.831891,64.5768438 C461.699767,64.5768438 463.292954,63.9313281 464.611454,62.6402967 C465.929955,61.3492652 466.589205,59.7148743 466.589205,57.737124 C466.589205,55.7044362 465.943689,54.0563109 464.652658,52.7927482 C463.361626,51.5291856 461.754704,50.8974042 459.831891,50.8974042 C457.909078,50.8974042 456.302156,51.5291856 455.011125,52.7927482 C453.720093,54.0563109 453.074578,55.7044362 453.074578,57.737124 C453.074578,59.7148743 453.733828,61.3492652 455.052328,62.6402967 C456.370828,63.9313281 457.964016,64.5768438 459.831891,64.5768438 Z M480.351051,64.5768438 C482.218926,64.5768438 483.812114,63.9313281 485.130614,62.6402967 C486.449114,61.3492652 487.108364,59.7148743 487.108364,57.737124 C487.108364,55.7044362 486.462849,54.0563109 485.171817,52.7927482 C483.880786,51.5291856 482.273863,50.8974042 480.351051,50.8974042 C478.428238,50.8974042 476.821316,51.5291856 475.530284,52.7927482 C474.239253,54.0563109 473.593737,55.7044362 473.593737,57.737124 C473.593737,59.7148743 474.252987,61.3492652 475.571487,62.6402967 C476.889988,63.9313281 478.483175,64.5768438 480.351051,64.5768438 Z M500.952616,64.5768438 C502.820492,64.5768438 504.413679,63.9313281 505.73218,62.6402967 C507.05068,61.3492652 507.70993,59.7148743 507.70993,57.737124 C507.70993,55.7044362 507.064414,54.0563109 505.773383,52.7927482 C504.482351,51.5291856 502.875429,50.8974042 500.952616,50.8974042 C499.029804,50.8974042 497.422881,51.5291856 496.13185,52.7927482 C494.840819,54.0563109 494.195303,55.7044362 494.195303,57.737124 C494.195303,59.7148743 494.854553,61.3492652 496.173053,62.6402967 C497.491553,63.9313281 499.084741,64.5768438 500.952616,64.5768438 Z"
id="Yükleniyor…" fill="#FFFFFF" fill-rule="nonzero"></path>
</g>
</svg>
<script src="Build/WebGL.loader.js"></script>
<script>
createUnityInstance(document.querySelector("#unity-canvas"), {
dataUrl: "Build/WebGL.data.unityweb",
frameworkUrl: "Build/WebGL.framework.js.unityweb",
codeUrl: "Build/WebGL.wasm.unityweb",
streamingAssetsUrl: "StreamingAssets",
companyName: "Loth Robotics",
productName: "Loth Domination",
productVersion: "1.0"
}).then((unityInstance) => {
document.getElementById("loading").style.display = "none";
document.getElementById("unity-canvas").style.display = "block";
}).catch((message) => {
alert("Bir hata oluştu: \n" + message);
});
</script>
</body>
</html>