@dcl-regenesislabs/bevy-explorer-web 0.1.0-22248438405.commit-98df4a9 → 0.1.0-22248470623.commit-3de2d44
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/.env +1 -1
- package/index.html +158 -7
- package/package.json +3 -3
- package/pkg/manifest.json +1 -1
- package/pkg/webgpu_build.js +18 -18
- package/pkg/webgpu_build_bg.wasm +0 -0
- package/ui.js +2 -0
package/.env
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
1
|
+
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-22248470623.commit-3de2d44"
|
package/index.html
CHANGED
|
@@ -10,6 +10,101 @@
|
|
|
10
10
|
document.head.appendChild(base);
|
|
11
11
|
})();
|
|
12
12
|
</script>
|
|
13
|
+
<script>
|
|
14
|
+
(function () {
|
|
15
|
+
function isMobile() {
|
|
16
|
+
return /Android|iPhone|iPad|iPod|webOS|BlackBerry|Opera Mini|IEMobile|Windows Phone/i.test(navigator.userAgent);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function isLikelyGoogleChromeDesktop() {
|
|
20
|
+
var ua = navigator.userAgent;
|
|
21
|
+
if (!/Chrome\//.test(ua)) return false;
|
|
22
|
+
if (/Edg\//.test(ua)) return false;
|
|
23
|
+
if (/OPR\//.test(ua)) return false;
|
|
24
|
+
if (/Brave/.test(ua)) return false;
|
|
25
|
+
if (/SamsungBrowser\//.test(ua)) return false;
|
|
26
|
+
if (/YaBrowser\//.test(ua)) return false;
|
|
27
|
+
if (/Vivaldi\//.test(ua)) return false;
|
|
28
|
+
if (navigator.brave && typeof navigator.brave.isBrave === 'function') return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function renderGatePage(html) {
|
|
33
|
+
document.addEventListener('DOMContentLoaded', function () {
|
|
34
|
+
document.body.innerHTML = '';
|
|
35
|
+
document.body.style.display = 'flex';
|
|
36
|
+
document.body.style.alignItems = 'center';
|
|
37
|
+
document.body.style.justifyContent = 'center';
|
|
38
|
+
document.body.style.minHeight = '100vh';
|
|
39
|
+
document.body.style.margin = '0';
|
|
40
|
+
document.body.style.fontFamily = "'Inter', sans-serif";
|
|
41
|
+
document.body.style.color = '#fff';
|
|
42
|
+
|
|
43
|
+
var wrapper = document.createElement('div');
|
|
44
|
+
wrapper.style.textAlign = 'center';
|
|
45
|
+
wrapper.style.padding = '2rem';
|
|
46
|
+
wrapper.style.maxWidth = '490px';
|
|
47
|
+
wrapper.style.zIndex = '1';
|
|
48
|
+
wrapper.innerHTML = html;
|
|
49
|
+
document.body.appendChild(wrapper);
|
|
50
|
+
|
|
51
|
+
var badge = document.getElementById('bevy-badge');
|
|
52
|
+
if (!badge) {
|
|
53
|
+
badge = document.createElement('div');
|
|
54
|
+
badge.id = 'bevy-badge';
|
|
55
|
+
badge.innerHTML = '<a href="https://bevyengine.org" target="_blank" rel="noopener">' +
|
|
56
|
+
'<svg viewBox="0 0 146.71918 36.62384" xmlns="http://www.w3.org/2000/svg"><g transform="translate(-33.379558,-123.86623)"><g transform="translate(-517.96199,-278.01119)" style="fill:#787878;fill-opacity:1;stroke-width:0.755906"><g transform="matrix(-0.40426719,-0.17438247,-0.17438247,0.40426719,678.77611,389.84765)" style="fill:#787878;fill-opacity:1"><path style="fill:#787878;fill-opacity:1;stroke:none" d="m 2246.0312,2340.1914 v 0 c -0.016,3e-4 -0.031,0 -0.047,0 -0.9804,3.0675 -1.7386,6.3997 -1.8828,10.1953 -0.2712,7.1263 0.453,11.4639 -0.3672,16.0801 -0.8202,4.6163 -3.2453,9.161 -9.4141,16.2871 -7.3424,8.482 -18.9789,15.0453 -32.4199,17.2637 -2.5015,1.5971 -5.1421,3.0609 -7.9199,4.3633 10.4618,3.9385 21.4025,4.1531 30.0761,1.3066 15.2793,-5.0141 14.0962,-8.6155 20.9434,-19.1074 2.1569,-3.3051 4.6474,-5.8282 7.1484,-7.9004 7.1248,3.1068 14.1431,5.1015 18.5157,4.6074 2.351,-5.4505 -0.057,-11.7712 -4.0586,-17.7461 3.2821,-10.196 -1.6986,-20.4059 -12.7305,-24.0156 -2.8775,-0.9415 -5.4633,-1.3844 -7.8438,-1.3379 z m 8.2754,14.9707 a 4.1668789,4.2454995 48.679502 0 1 3.1973,1.3965 4.1668789,4.2454995 48.679502 0 1 -0.4375,5.9336 4.1668789,4.2454995 48.679502 0 1 -5.9394,-0.3262 4.1668789,4.2454995 48.679502 0 1 0.4375,-5.9336 4.1668789,4.2454995 48.679502 0 1 2.7421,-1.0703 z m -68.375,45.3789 c 0.1273,0.075 0.2572,0.1408 0.3848,0.2149 0.131,-0.049 0.2642,-0.1009 0.3945,-0.1504 -0.2598,-0.023 -0.5188,-0.039 -0.7793,-0.064 z" transform="matrix(-0.55180403,-0.23802315,-0.23802315,0.55180403,1946.7322,-620.612)"/></g></g><g transform="matrix(-0.45399624,0.36689705,0.36689705,0.45399624,73.527335,10.816805)" style="fill:#ececec;fill-opacity:1;stroke:none;stroke-width:0.755906"><g transform="matrix(-0.35254083,0.28490586,0.28490586,0.35254083,477.11004,-1021.7666)" style="fill:#ececec;fill-opacity:1"><path style="fill:#ececec;fill-opacity:1;stroke:none" d="m 2191.1465,2276.7832 c -5.9729,-0.035 -12.0979,2.348 -17.3613,7.459 -6.9129,6.7127 -9.0602,12.7555 -7.8477,20.2949 l 0.332,2.0684 -2.0664,-0.336 c -15.1877,-2.4609 -33.9847,-1.2178 -55.3711,7.4336 6.2868,2.6948 17.8259,7.1926 30.6309,13.3418 l 4.0605,1.9512 -4.414,0.8945 c -16.9087,3.4274 -36.9729,13.3275 -55.2989,34.9336 8.1981,-0.6372 24.9531,-2.6089 42.4278,-2.582 9.7138,0.015 19.2869,0.687 27.0859,2.709 7.7991,2.022 14.8874,6.6498 15.8861,10.0406 0.9987,3.3908 0.432,5.1761 -0.5519,7.8285 -0.9839,2.6524 -4.0098,6.6817 -8.1953,9.3418 -4.1855,2.6601 -9.4961,4.9849 -15.0137,6.9609 -11.0352,3.9521 -22.7798,6.4773 -27.9648,6.959 -1.1021,0.1024 -1.5421,0.4983 -1.9668,1.2696 -0.4247,0.7712 -0.659,1.9824 -0.6934,3.25 -0.046,1.6926 0.217,2.576 0.6949,3.246 0.4779,0.67 1.2243,0.9381 1.9934,0.9902 32.5822,2.2052 56.9441,-5.9907 74.6379,-13.0116 20.3508,-9.3311 33.2134,-27.7577 36.0058,-44.3477 1.7499,-10.395 1.3746,-15.4894 -0.3124,-19.8281 -1.6873,-4.3387 -4.9223,-8.1914 -9.0254,-15.5488 -2.6368,-4.7281 -4.1077,-9.367 -5.0196,-13.6875 l -0.1933,-0.9102 0.7265,-0.582 c 7.5403,-6.0446 13.6809,-12.6444 15.9102,-17.4492 -4.5742,-4.8648 -12.4787,-5.893 -21.3223,-4.9473 l -0.7265,0.076 -0.5118,-0.5215 c -4.7125,-4.8006 -10.5615,-7.2614 -16.5351,-7.2969 z m 2.6484,11.2324 c 2.593,-0.041 4.8808,1.7566 5.502,4.3223 0.7307,3.0216 -1.0812,6.0525 -4.0469,6.7695 -2.9656,0.7176 -5.9625,-1.1502 -6.6934,-4.1719 -0.7307,-3.0216 1.0812,-6.0525 4.0469,-6.7695 0.3902,-0.094 0.7897,-0.1445 1.1914,-0.1504 z" transform="translate(5.0092774e-5,-757.87625)"/></g></g><g style="fill:#b2b2b2;fill-opacity:1;stroke-width:0.755906" transform="matrix(-0.50509374,0.06754889,0.06754889,0.50509374,156.75523,55.243465)"><g style="fill:#b2b2b2;fill-opacity:1" transform="translate(-20.244579,-6.1209206)"><g style="fill:#b2b2b2;fill-opacity:1" transform="translate(61.54776,-5.6726683)"><g style="fill:#b2b2b2;fill-opacity:1"><g transform="matrix(-0.514626,0.06882369,0.06882369,0.514626,1184.3644,-811.9091)" style="fill:#b2b2b2;fill-opacity:1"><path style="fill:#b2b2b2;fill-opacity:1;stroke:none" d="m 2230.8945,2301.1738 c -1.9108,-0.039 -3.9117,0.162 -5.9785,0.6328 -0.1394,0.032 -0.2613,0.071 -0.3984,0.1036 -2.274,2.2481 -4.8127,4.5047 -7.5293,6.7168 0.8746,3.8597 2.1735,7.8829 4.4707,12.0019 3.9872,7.1495 7.2742,10.9657 9.2031,15.9258 1.9289,4.9601 2.2639,10.7945 0.4746,21.4238 -2.2183,13.178 -10.2404,27.1324 -22.959,37.4336 9.8717,-2.8792 18.2866,-8.1915 23.8575,-14.6269 6.0132,-6.9464 8.0191,-10.8762 8.7226,-14.836 0.7036,-3.9598 0.044,-8.2997 0.3242,-15.664 0.1805,-4.7447 1.1911,-8.8958 2.4766,-12.545 l 0.3086,-0.875 0.9219,-0.1211 c 8.2284,-1.0673 15.6654,-3.167 19.5097,-5.6484 -1.2349,-5.5522 -6.4807,-9.8603 -13.4277,-13.1348 l -0.6621,-0.3125 -0.166,-0.7129 c -2.2034,-9.4614 -9.5905,-15.5632 -19.1485,-15.7617 z m 4.7832,11.6856 a 4.8229105,4.9139092 17.729059 0 1 1.4473,0.2246 4.8229105,4.9139092 17.729059 0 1 3.0977,6.1484 4.8229105,4.9139092 17.729059 0 1 -6.0899,3.2129 4.8229105,4.9139092 17.729059 0 1 -3.0976,-6.1484 4.8229105,4.9139092 17.729059 0 1 4.6425,-3.4375 z" transform="translate(1.2499985e-4,-757.87627)"/></g></g></g></g></g><g aria-label="BEVY" transform="matrix(1.7088406,0,0,1.8039104,-52.767175,-214.85137)" style="font-size:10.3007px;fill:#ececec;fill-opacity:1;stroke:none;stroke-width:0.257517"><path d="m 87.399725,202.26207 q 0.344867,0.0985 0.886803,0.1478 0.541936,0.0247 1.034604,0.0247 0.985338,0 1.625808,-0.39414 0.665102,-0.41877 0.665102,-1.28094 0,-0.8129 -0.541936,-1.15776 -0.541936,-0.34488 -1.650441,-0.34488 h -2.01994 z m 0,-6.01056 h 1.79824 q 1.059239,0 1.527274,-0.39413 0.492668,-0.39414 0.492668,-1.15777 0,-0.6651 -0.56657,-1.05925 -0.541934,-0.39413 -1.650439,-0.39413 -0.369502,0 -0.86217,0.0247 -0.468036,0.0246 -0.739003,0.0739 z m 1.601173,9.48388 q -0.418769,0 -0.985337,-0.0247 -0.56657,-0.0246 -1.182405,-0.0985 -0.591203,-0.0739 -1.182406,-0.19708 -0.591202,-0.0985 -1.083871,-0.29559 -1.354839,-0.5173 -1.354839,-1.79824 v -11.50381 q 0,-0.51731 0.270969,-0.78828 0.2956,-0.2956 0.788269,-0.46804 0.837536,-0.29559 2.093842,-0.41877 1.256306,-0.1478 2.586512,-0.1478 3.153079,0 4.852786,1.05924 1.699706,1.05923 1.699706,3.27625 0,1.10851 -0.640469,1.92141 -0.640469,0.78827 -1.72434,1.15777 1.231672,0.34487 2.044575,1.25631 0.837537,0.91143 0.837537,2.29091 0,2.4387 -1.822875,3.62111 -1.79824,1.15778 -5.197654,1.15778 z" style="font-size:21.9748px;font-family:Baloo Bhaijaan;fill:#ececec;fill-opacity:1;stroke-width:0.288674"/><path d="m 96.48021,192.7043 q 0,-1.05924 0.615839,-1.67508 0.615835,-0.61582 1.675075,-0.61582 h 8.129006 q 0.17244,0.27096 0.29561,0.71435 0.1478,0.44341 0.1478,0.93609 0,0.93606 -0.41877,1.33019 -0.39413,0.39414 -1.05924,0.39414 h -5.19763 v 2.29091 h 5.5425 q 0.17243,0.27097 0.29561,0.71437 0.1478,0.41877 0.1478,0.91144 0,0.93607 -0.39414,1.3302 -0.39414,0.39413 -1.05925,0.39413 h -4.53252 v 2.58653 h 6.33077 q 0.17244,0.27095 0.2956,0.71435 0.1478,0.44341 0.1478,0.93608 0,0.93607 -0.41876,1.35484 -0.39415,0.39413 -1.05924,0.39413 h -7.192946 q -1.05924,0 -1.675075,-0.61583 -0.615839,-0.61584 -0.615839,-1.67508 z" style="font-size:21.9748px;font-family:Baloo Bhaijaan;fill:#ececec;fill-opacity:1;stroke-width:0.288674"/><path d="m 117.84176,204.84858 q -0.34487,0.2956 -1.08387,0.5173 -0.71437,0.22171 -1.57654,0.22171 -1.03461,0 -1.77361,-0.29561 -0.739,-0.32023 -1.00997,-0.86217 -0.27097,-0.56657 -0.66509,-1.45337 -0.39414,-0.91144 -0.83755,-2.01994 -0.41877,-1.10851 -0.8868,-2.34018 -0.4434,-1.2563 -0.86217,-2.53724 -0.41877,-1.28094 -0.78827,-2.51261 -0.3695,-1.23167 -0.64047,-2.31554 0.34487,-0.34487 0.98534,-0.61584 0.66511,-0.2956 1.40411,-0.2956 0.91144,0 1.5519,0.39414 0.61583,0.3695 0.86215,1.4041 0.66511,2.41408 1.33022,4.63109 0.68973,2.19237 1.42873,4.58182 h 0.1478 q 0.66511,-2.31555 1.35485,-5.04985 0.71437,-2.73432 1.35483,-5.444 0.44341,-0.2217 0.93607,-0.3695 0.51731,-0.1478 1.0346,-0.1478 0.91144,0 1.55191,0.41877 0.64047,0.39413 0.64047,1.3302 0,0.2956 -0.12317,0.71437 -0.12317,0.41877 -0.56656,1.28093 -0.44341,0.83754 -1.30558,2.29092 -0.83753,1.45337 -2.29091,3.79355 z" style="font-size:21.9748px;font-family:Baloo Bhaijaan;fill:#ececec;fill-opacity:1;stroke-width:0.288674"/><path d="m 131.98507,205.24272 q -0.27096,0.0739 -0.83753,0.1478 -0.56657,0.0739 -1.10851,0.0739 -1.13314,0 -1.69971,-0.36951 -0.56657,-0.39412 -0.56657,-1.6258 v -3.32552 q -0.61583,-0.91143 -1.3302,-2.01993 -0.71437,-1.10851 -1.4041,-2.26629 -0.68974,-1.15776 -1.28094,-2.26627 -0.5912,-1.13314 -0.96071,-2.0692 0.32024,-0.44342 0.86218,-0.81291 0.56657,-0.36951 1.37947,-0.36951 0.9607,0 1.5519,0.39414 0.61583,0.39413 1.15777,1.478 l 2.04458,4.11379 h 0.1478 q 0.34486,-0.76364 0.5912,-1.37947 0.27097,-0.64047 0.51731,-1.25631 0.24633,-0.64046 0.5173,-1.30557 0.27096,-0.68973 0.61583,-1.57654 0.4434,-0.2217 0.98534,-0.34487 0.54194,-0.12317 1.0346,-0.12317 0.86218,0 1.45337,0.46804 0.61584,0.44341 0.61584,1.35484 0,0.2956 -0.12317,0.71437 -0.12317,0.41877 -0.56656,1.28093 -0.44341,0.83754 -1.30558,2.29092 -0.83753,1.45337 -2.29091,3.79355 z" style="font-size:21.9748px;font-family:Baloo Bhaijaan;fill:#ececec;fill-opacity:1;stroke-width:0.288674"/></g></g></svg>' +
|
|
57
|
+
'</a>';
|
|
58
|
+
document.body.appendChild(badge);
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
if (isMobile()) {
|
|
64
|
+
window.__browserGateBlocked = true;
|
|
65
|
+
var isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
|
|
66
|
+
var isAndroid = /android/i.test(navigator.userAgent);
|
|
67
|
+
|
|
68
|
+
var appleBtn =
|
|
69
|
+
'<a href="https://testflight.apple.com/join/KF4r3jlU" class="store-btn apple">' +
|
|
70
|
+
'<svg viewBox="0 0 24 24" fill="currentColor"><path d="M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"></path></svg>' +
|
|
71
|
+
'Install from App Store' +
|
|
72
|
+
'</a>';
|
|
73
|
+
var googleBtn =
|
|
74
|
+
'<a href="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer" class="store-btn google">' +
|
|
75
|
+
'<svg viewBox="0 0 24 24" fill="currentColor"><path d="M3,20.5V3.5C3,2.91 3.34,2.39 3.84,2.15L13.69,12L3.84,21.85C3.34,21.6 3,21.09 3,20.5M16.81,15.12L6.05,21.34L14.54,12.85L16.81,15.12M20.16,10.81C20.5,11.08 20.75,11.5 20.75,12C20.75,12.5 20.53,12.9 20.18,13.18L17.89,14.5L15.39,12L17.89,9.5L20.16,10.81M6.05,2.66L16.81,8.88L14.54,11.15L6.05,2.66Z"></path></svg>' +
|
|
76
|
+
'Install from Google Play' +
|
|
77
|
+
'</a>';
|
|
78
|
+
|
|
79
|
+
var buttons;
|
|
80
|
+
if (isIOS) {
|
|
81
|
+
buttons = appleBtn;
|
|
82
|
+
} else if (isAndroid) {
|
|
83
|
+
buttons = googleBtn;
|
|
84
|
+
} else {
|
|
85
|
+
buttons = appleBtn + googleBtn;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
renderGatePage(
|
|
89
|
+
'<h1 style="font-size:1.8rem;margin-bottom:1rem;">Decentraland Web</h1>' +
|
|
90
|
+
'<p style="margin-bottom:2rem;color:rgba(255,255,255,0.7);">This experience is not available on mobile browsers. Download the app instead:</p>' +
|
|
91
|
+
'<div class="store-buttons">' + buttons + '</div>'
|
|
92
|
+
);
|
|
93
|
+
} else if (!isLikelyGoogleChromeDesktop()) {
|
|
94
|
+
window.__browserGateBlocked = true;
|
|
95
|
+
renderGatePage(
|
|
96
|
+
'<h1 style="font-size:1.8rem;margin-bottom:1rem;">Browser Not Supported</h1>' +
|
|
97
|
+
'<p style="margin-bottom:2rem;color:rgba(255,255,255,0.7);">Decentraland Web requires <strong>Google Chrome</strong> on desktop to run.</p>' +
|
|
98
|
+
'<div class="store-buttons">' +
|
|
99
|
+
'<a href="https://www.google.com/chrome/" class="store-btn">' +
|
|
100
|
+
'<svg viewBox="0 0 48 48" fill="none"><defs><linearGradient id="cg-a" x1="3.2173" y1="15" x2="44.7812" y2="15" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#d93025"/><stop offset="1" stop-color="#ea4335"/></linearGradient><linearGradient id="cg-b" x1="20.7219" y1="47.6791" x2="41.5039" y2="11.6837" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fcc934"/><stop offset="1" stop-color="#fbbc04"/></linearGradient><linearGradient id="cg-c" x1="26.5981" y1="46.5015" x2="5.8161" y2="10.506" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#1e8e3e"/><stop offset="1" stop-color="#34a853"/></linearGradient></defs><circle cx="24" cy="23.9947" r="12" fill="#fff"/><path d="M24,12H44.7812a23.9939,23.9939,0,0,0-41.5639.0029L13.6079,30l.0093-.0024A11.9852,11.9852,0,0,1,24,12Z" fill="url(#cg-a)"/><circle cx="24" cy="24" r="9.5" fill="#1a73e8"/><path d="M34.3913,30.0029,24.0007,48A23.994,23.994,0,0,0,44.78,12.0031H23.9989l-.0025.0093A11.985,11.985,0,0,1,34.3913,30.0029Z" fill="url(#cg-b)"/><path d="M13.6086,30.0031,3.218,12.006A23.994,23.994,0,0,0,24.0025,48L34.3931,30.0029l-.0067-.0068a11.9852,11.9852,0,0,1-20.7778.007Z" fill="url(#cg-c)"/></svg>' +
|
|
101
|
+
'Download Chrome' +
|
|
102
|
+
'</a>' +
|
|
103
|
+
'</div>'
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
})();
|
|
107
|
+
</script>
|
|
13
108
|
<link rel="icon" type="image/png" href="favicon/favicon-96x96.png" sizes="96x96" />
|
|
14
109
|
<link rel="icon" type="image/svg+xml" href="favicon/favicon.svg" />
|
|
15
110
|
<link rel="shortcut icon" href="favicon/favicon.ico" />
|
|
@@ -253,6 +348,54 @@
|
|
|
253
348
|
height: calc(var(--vh, 1vh) * 10);
|
|
254
349
|
}
|
|
255
350
|
|
|
351
|
+
/* Store buttons */
|
|
352
|
+
.store-buttons {
|
|
353
|
+
display: flex;
|
|
354
|
+
gap: 1rem;
|
|
355
|
+
justify-content: center;
|
|
356
|
+
flex-wrap: wrap;
|
|
357
|
+
}
|
|
358
|
+
.store-btn {
|
|
359
|
+
display: inline-flex;
|
|
360
|
+
align-items: center;
|
|
361
|
+
gap: 0.5rem;
|
|
362
|
+
padding: 12px 24px;
|
|
363
|
+
background: rgba(255, 255, 255, 0.1);
|
|
364
|
+
color: #fff;
|
|
365
|
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
366
|
+
border-radius: 8px;
|
|
367
|
+
text-decoration: none;
|
|
368
|
+
font-weight: 600;
|
|
369
|
+
font-size: 1rem;
|
|
370
|
+
transition: background 0.2s ease;
|
|
371
|
+
}
|
|
372
|
+
.store-btn:hover {
|
|
373
|
+
background: rgba(255, 255, 255, 0.2);
|
|
374
|
+
}
|
|
375
|
+
.store-btn svg {
|
|
376
|
+
width: 24px;
|
|
377
|
+
height: 24px;
|
|
378
|
+
flex-shrink: 0;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/* Bevy logo corner badge */
|
|
382
|
+
#bevy-badge {
|
|
383
|
+
position: fixed;
|
|
384
|
+
bottom: 16px;
|
|
385
|
+
right: 16px;
|
|
386
|
+
z-index: 10;
|
|
387
|
+
opacity: 0.5;
|
|
388
|
+
transition: opacity 0.2s ease;
|
|
389
|
+
}
|
|
390
|
+
#bevy-badge:hover {
|
|
391
|
+
opacity: 1;
|
|
392
|
+
}
|
|
393
|
+
#bevy-badge svg {
|
|
394
|
+
display: block;
|
|
395
|
+
width: 120px;
|
|
396
|
+
height: auto;
|
|
397
|
+
}
|
|
398
|
+
|
|
256
399
|
/* For smaller screens */
|
|
257
400
|
@media (max-width: 600px) {
|
|
258
401
|
body {
|
|
@@ -270,7 +413,7 @@
|
|
|
270
413
|
}
|
|
271
414
|
</style>
|
|
272
415
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
|
273
|
-
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
416
|
+
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-22248470623.commit-3de2d44";</script>
|
|
274
417
|
</head>
|
|
275
418
|
<body>
|
|
276
419
|
<div id="header" class="container">
|
|
@@ -387,17 +530,25 @@
|
|
|
387
530
|
<img src="logo.svg" alt="Logo">
|
|
388
531
|
</div>
|
|
389
532
|
|
|
533
|
+
<div id="bevy-badge">
|
|
534
|
+
<a href="https://bevyengine.org" target="_blank" rel="noopener">
|
|
535
|
+
<svg viewBox="0 0 146.71918 36.62384" xmlns="http://www.w3.org/2000/svg"><g transform="translate(-33.379558,-123.86623)"><g id="g1911-8-3-9-3-2-8" transform="translate(-517.96199,-278.01119)" style="fill:#787878;fill-opacity:1;stroke-width:0.755906"><g transform="matrix(-0.40426719,-0.17438247,-0.17438247,0.40426719,678.77611,389.84765)" style="fill:#787878;fill-opacity:1"><path style="fill:#787878;fill-opacity:1;stroke:none" d="m 2246.0312,2340.1914 v 0 c -0.016,3e-4 -0.031,0 -0.047,0 -0.9804,3.0675 -1.7386,6.3997 -1.8828,10.1953 -0.2712,7.1263 0.453,11.4639 -0.3672,16.0801 -0.8202,4.6163 -3.2453,9.161 -9.4141,16.2871 -7.3424,8.482 -18.9789,15.0453 -32.4199,17.2637 -2.5015,1.5971 -5.1421,3.0609 -7.9199,4.3633 10.4618,3.9385 21.4025,4.1531 30.0761,1.3066 15.2793,-5.0141 14.0962,-8.6155 20.9434,-19.1074 2.1569,-3.3051 4.6474,-5.8282 7.1484,-7.9004 7.1248,3.1068 14.1431,5.1015 18.5157,4.6074 2.351,-5.4505 -0.057,-11.7712 -4.0586,-17.7461 3.2821,-10.196 -1.6986,-20.4059 -12.7305,-24.0156 -2.8775,-0.9415 -5.4633,-1.3844 -7.8438,-1.3379 z m 8.2754,14.9707 a 4.1668789,4.2454995 48.679502 0 1 3.1973,1.3965 4.1668789,4.2454995 48.679502 0 1 -0.4375,5.9336 4.1668789,4.2454995 48.679502 0 1 -5.9394,-0.3262 4.1668789,4.2454995 48.679502 0 1 0.4375,-5.9336 4.1668789,4.2454995 48.679502 0 1 2.7421,-1.0703 z m -68.375,45.3789 c 0.1273,0.075 0.2572,0.1408 0.3848,0.2149 0.131,-0.049 0.2642,-0.1009 0.3945,-0.1504 -0.2598,-0.023 -0.5188,-0.039 -0.7793,-0.064 z" transform="matrix(-0.55180403,-0.23802315,-0.23802315,0.55180403,1946.7322,-620.612)"/></g></g><g transform="matrix(-0.45399624,0.36689705,0.36689705,0.45399624,73.527335,10.816805)" style="fill:#ececec;fill-opacity:1;stroke:none;stroke-width:0.755906"><g transform="matrix(-0.35254083,0.28490586,0.28490586,0.35254083,477.11004,-1021.7666)" style="fill:#ececec;fill-opacity:1"><path style="fill:#ececec;fill-opacity:1;stroke:none" d="m 2191.1465,2276.7832 c -5.9729,-0.035 -12.0979,2.348 -17.3613,7.459 -6.9129,6.7127 -9.0602,12.7555 -7.8477,20.2949 l 0.332,2.0684 -2.0664,-0.336 c -15.1877,-2.4609 -33.9847,-1.2178 -55.3711,7.4336 6.2868,2.6948 17.8259,7.1926 30.6309,13.3418 l 4.0605,1.9512 -4.414,0.8945 c -16.9087,3.4274 -36.9729,13.3275 -55.2989,34.9336 8.1981,-0.6372 24.9531,-2.6089 42.4278,-2.582 9.7138,0.015 19.2869,0.687 27.0859,2.709 7.7991,2.022 14.8874,6.6498 15.8861,10.0406 0.9987,3.3908 0.432,5.1761 -0.5519,7.8285 -0.9839,2.6524 -4.0098,6.6817 -8.1953,9.3418 -4.1855,2.6601 -9.4961,4.9849 -15.0137,6.9609 -11.0352,3.9521 -22.7798,6.4773 -27.9648,6.959 -1.1021,0.1024 -1.5421,0.4983 -1.9668,1.2696 -0.4247,0.7712 -0.659,1.9824 -0.6934,3.25 -0.046,1.6926 0.217,2.576 0.6949,3.246 0.4779,0.67 1.2243,0.9381 1.9934,0.9902 32.5822,2.2052 56.9441,-5.9907 74.6379,-13.0116 20.3508,-9.3311 33.2134,-27.7577 36.0058,-44.3477 1.7499,-10.395 1.3746,-15.4894 -0.3124,-19.8281 -1.6873,-4.3387 -4.9223,-8.1914 -9.0254,-15.5488 -2.6368,-4.7281 -4.1077,-9.367 -5.0196,-13.6875 l -0.1933,-0.9102 0.7265,-0.582 c 7.5403,-6.0446 13.6809,-12.6444 15.9102,-17.4492 -4.5742,-4.8648 -12.4787,-5.893 -21.3223,-4.9473 l -0.7265,0.076 -0.5118,-0.5215 c -4.7125,-4.8006 -10.5615,-7.2614 -16.5351,-7.2969 z m 2.6484,11.2324 c 2.593,-0.041 4.8808,1.7566 5.502,4.3223 0.7307,3.0216 -1.0812,6.0525 -4.0469,6.7695 -2.9656,0.7176 -5.9625,-1.1502 -6.6934,-4.1719 -0.7307,-3.0216 1.0812,-6.0525 4.0469,-6.7695 0.3902,-0.094 0.7897,-0.1445 1.1914,-0.1504 z" transform="translate(5.0092774e-5,-757.87625)"/></g></g><g style="fill:#b2b2b2;fill-opacity:1;stroke-width:0.755906" transform="matrix(-0.50509374,0.06754889,0.06754889,0.50509374,156.75523,55.243465)"><g style="fill:#b2b2b2;fill-opacity:1" transform="translate(-20.244579,-6.1209206)"><g style="fill:#b2b2b2;fill-opacity:1" transform="translate(61.54776,-5.6726683)"><g style="fill:#b2b2b2;fill-opacity:1"><g transform="matrix(-0.514626,0.06882369,0.06882369,0.514626,1184.3644,-811.9091)" style="fill:#b2b2b2;fill-opacity:1"><path style="fill:#b2b2b2;fill-opacity:1;stroke:none" d="m 2230.8945,2301.1738 c -1.9108,-0.039 -3.9117,0.162 -5.9785,0.6328 -0.1394,0.032 -0.2613,0.071 -0.3984,0.1036 -2.274,2.2481 -4.8127,4.5047 -7.5293,6.7168 0.8746,3.8597 2.1735,7.8829 4.4707,12.0019 3.9872,7.1495 7.2742,10.9657 9.2031,15.9258 1.9289,4.9601 2.2639,10.7945 0.4746,21.4238 -2.2183,13.178 -10.2404,27.1324 -22.959,37.4336 9.8717,-2.8792 18.2866,-8.1915 23.8575,-14.6269 6.0132,-6.9464 8.0191,-10.8762 8.7226,-14.836 0.7036,-3.9598 0.044,-8.2997 0.3242,-15.664 0.1805,-4.7447 1.1911,-8.8958 2.4766,-12.545 l 0.3086,-0.875 0.9219,-0.1211 c 8.2284,-1.0673 15.6654,-3.167 19.5097,-5.6484 -1.2349,-5.5522 -6.4807,-9.8603 -13.4277,-13.1348 l -0.6621,-0.3125 -0.166,-0.7129 c -2.2034,-9.4614 -9.5905,-15.5632 -19.1485,-15.7617 z m 4.7832,11.6856 a 4.8229105,4.9139092 17.729059 0 1 1.4473,0.2246 4.8229105,4.9139092 17.729059 0 1 3.0977,6.1484 4.8229105,4.9139092 17.729059 0 1 -6.0899,3.2129 4.8229105,4.9139092 17.729059 0 1 -3.0976,-6.1484 4.8229105,4.9139092 17.729059 0 1 4.6425,-3.4375 z" transform="translate(1.2499985e-4,-757.87627)"/></g></g></g></g></g><g aria-label="BEVY" transform="matrix(1.7088406,0,0,1.8039104,-52.767175,-214.85137)" style="font-size:10.3007px;fill:#ececec;fill-opacity:1;stroke:none;stroke-width:0.257517"><path d="m 87.399725,202.26207 q 0.344867,0.0985 0.886803,0.1478 0.541936,0.0247 1.034604,0.0247 0.985338,0 1.625808,-0.39414 0.665102,-0.41877 0.665102,-1.28094 0,-0.8129 -0.541936,-1.15776 -0.541936,-0.34488 -1.650441,-0.34488 h -2.01994 z m 0,-6.01056 h 1.79824 q 1.059239,0 1.527274,-0.39413 0.492668,-0.39414 0.492668,-1.15777 0,-0.6651 -0.56657,-1.05925 -0.541934,-0.39413 -1.650439,-0.39413 -0.369502,0 -0.86217,0.0247 -0.468036,0.0246 -0.739003,0.0739 z m 1.601173,9.48388 q -0.418769,0 -0.985337,-0.0247 -0.56657,-0.0246 -1.182405,-0.0985 -0.591203,-0.0739 -1.182406,-0.19708 -0.591202,-0.0985 -1.083871,-0.29559 -1.354839,-0.5173 -1.354839,-1.79824 v -11.50381 q 0,-0.51731 0.270969,-0.78828 0.2956,-0.2956 0.788269,-0.46804 0.837536,-0.29559 2.093842,-0.41877 1.256306,-0.1478 2.586512,-0.1478 3.153079,0 4.852786,1.05924 1.699706,1.05923 1.699706,3.27625 0,1.10851 -0.640469,1.92141 -0.640469,0.78827 -1.72434,1.15777 1.231672,0.34487 2.044575,1.25631 0.837537,0.91143 0.837537,2.29091 0,2.4387 -1.822875,3.62111 -1.79824,1.15778 -5.197654,1.15778 z" style="font-size:21.9748px;font-family:'Baloo Bhaijaan';fill:#ececec;fill-opacity:1;stroke-width:0.288674"/><path d="m 96.48021,192.7043 q 0,-1.05924 0.615839,-1.67508 0.615835,-0.61582 1.675075,-0.61582 h 8.129006 q 0.17244,0.27096 0.29561,0.71435 0.1478,0.44341 0.1478,0.93609 0,0.93606 -0.41877,1.33019 -0.39413,0.39414 -1.05924,0.39414 h -5.19763 v 2.29091 h 5.5425 q 0.17243,0.27097 0.29561,0.71437 0.1478,0.41877 0.1478,0.91144 0,0.93607 -0.39414,1.3302 -0.39414,0.39413 -1.05925,0.39413 h -4.53252 v 2.58653 h 6.33077 q 0.17244,0.27095 0.2956,0.71435 0.1478,0.44341 0.1478,0.93608 0,0.93607 -0.41876,1.35484 -0.39415,0.39413 -1.05924,0.39413 h -7.192946 q -1.05924,0 -1.675075,-0.61583 -0.615839,-0.61584 -0.615839,-1.67508 z" style="font-size:21.9748px;font-family:'Baloo Bhaijaan';fill:#ececec;fill-opacity:1;stroke-width:0.288674"/><path d="m 117.84176,204.84858 q -0.34487,0.2956 -1.08387,0.5173 -0.71437,0.22171 -1.57654,0.22171 -1.03461,0 -1.77361,-0.29561 -0.739,-0.32023 -1.00997,-0.86217 -0.27097,-0.56657 -0.66509,-1.45337 -0.39414,-0.91144 -0.83755,-2.01994 -0.41877,-1.10851 -0.8868,-2.34018 -0.4434,-1.2563 -0.86217,-2.53724 -0.41877,-1.28094 -0.78827,-2.51261 -0.3695,-1.23167 -0.64047,-2.31554 0.34487,-0.34487 0.98534,-0.61584 0.66511,-0.2956 1.40411,-0.2956 0.91144,0 1.5519,0.39414 0.61583,0.3695 0.86215,1.4041 0.66511,2.41408 1.33022,4.63109 0.68973,2.19237 1.42873,4.58182 h 0.1478 q 0.66511,-2.31555 1.35485,-5.04985 0.71437,-2.73432 1.35483,-5.444 0.44341,-0.2217 0.93607,-0.3695 0.51731,-0.1478 1.0346,-0.1478 0.91144,0 1.55191,0.41877 0.64047,0.39413 0.64047,1.3302 0,0.2956 -0.12317,0.71437 -0.12317,0.41877 -0.56656,1.28093 -0.44341,0.83754 -1.30558,2.29092 -0.83753,1.45337 -2.29091,3.79355 z" style="font-size:21.9748px;font-family:'Baloo Bhaijaan';fill:#ececec;fill-opacity:1;stroke-width:0.288674"/><path d="m 131.98507,205.24272 q -0.27096,0.0739 -0.83753,0.1478 -0.56657,0.0739 -1.10851,0.0739 -1.13314,0 -1.69971,-0.36951 -0.56657,-0.39412 -0.56657,-1.6258 v -3.32552 q -0.61583,-0.91143 -1.3302,-2.01993 -0.71437,-1.10851 -1.4041,-2.26629 -0.68974,-1.15776 -1.28094,-2.26627 -0.5912,-1.13314 -0.96071,-2.0692 0.32024,-0.44342 0.86218,-0.81291 0.56657,-0.36951 1.37947,-0.36951 0.9607,0 1.5519,0.39414 0.61583,0.39413 1.15777,1.478 l 2.04458,4.11379 h 0.1478 q 0.34486,-0.76364 0.5912,-1.37947 0.27097,-0.64047 0.51731,-1.25631 0.24633,-0.64046 0.5173,-1.30557 0.27096,-0.68973 0.61583,-1.57654 0.4434,-0.2217 0.98534,-0.34487 0.54194,-0.12317 1.0346,-0.12317 0.86218,0 1.45337,0.46804 0.61584,0.44341 0.61584,1.35484 0,0.2956 -0.12317,0.71437 -0.12317,0.41877 -0.56656,1.28093 -0.44341,0.83754 -1.30558,2.29092 -0.83753,1.45337 -2.29091,3.79355 z" style="font-size:21.9748px;font-family:'Baloo Bhaijaan';fill:#ececec;fill-opacity:1;stroke-width:0.288674"/></g></g></svg>
|
|
536
|
+
</a>
|
|
537
|
+
</div>
|
|
538
|
+
|
|
390
539
|
<div id="canvas-parent">
|
|
391
540
|
<canvas id="mygame-canvas"></canvas>
|
|
392
541
|
</div>
|
|
393
542
|
<div id="shader-compiling" style="position: absolute; height:30%; aspect-ratio: 1; background: radial-gradient(circle closest-side, #000000aa, #00000000); align-items: center; justify-content: center; display: none;">
|
|
394
543
|
<image src="shader_compiling_transparent2.png" style="width: 100%;"/>
|
|
395
544
|
</div>
|
|
396
|
-
<script
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
<script src="
|
|
400
|
-
|
|
401
|
-
<script type="module" src="
|
|
545
|
+
<script>
|
|
546
|
+
if (!window.__browserGateBlocked) {
|
|
547
|
+
document.write('<script src="https://cdn.jsdelivr.net/npm/livekit-client/dist/livekit-client.umd.min.js" crossorigin="anonymous"><\/script>');
|
|
548
|
+
document.write('<script src="https://cdn.jsdelivr.net/npm/hls.js@1" crossorigin="anonymous"><\/script>');
|
|
549
|
+
document.write('<script src="ui.js"><\/script>');
|
|
550
|
+
document.write('<script type="module" src="main.js"><\/script>');
|
|
551
|
+
}
|
|
552
|
+
</script>
|
|
402
553
|
</body>
|
|
403
554
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl-regenesislabs/bevy-explorer-web",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-22248470623.commit-3de2d44",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"postinstall": "node ./scripts/prebuild.js"
|
|
6
6
|
},
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/bevy-explorer.git"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
12
|
-
"commit": "
|
|
11
|
+
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-22248470623.commit-3de2d44",
|
|
12
|
+
"commit": "3de2d44070fc1fd6a4418ccfc20e5caf7545133f"
|
|
13
13
|
}
|
package/pkg/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"wasmSize":
|
|
1
|
+
{"wasmSize":115698249}
|
package/pkg/webgpu_build.js
CHANGED
|
@@ -4791,15 +4791,15 @@ function __wbg_get_imports() {
|
|
|
4791
4791
|
const ret = false;
|
|
4792
4792
|
return ret;
|
|
4793
4793
|
};
|
|
4794
|
-
imports.wbg.
|
|
4794
|
+
imports.wbg.__wbindgen_closure_wrapper151270 = function(arg0, arg1, arg2) {
|
|
4795
4795
|
const ret = makeMutClosure(arg0, arg1, 119673, __wbg_adapter_111);
|
|
4796
4796
|
return ret;
|
|
4797
4797
|
};
|
|
4798
|
-
imports.wbg.
|
|
4798
|
+
imports.wbg.__wbindgen_closure_wrapper172066 = function(arg0, arg1, arg2) {
|
|
4799
4799
|
const ret = makeMutClosure(arg0, arg1, 134927, __wbg_adapter_114);
|
|
4800
4800
|
return ret;
|
|
4801
4801
|
};
|
|
4802
|
-
imports.wbg.
|
|
4802
|
+
imports.wbg.__wbindgen_closure_wrapper172068 = function(arg0, arg1, arg2) {
|
|
4803
4803
|
const ret = makeMutClosure(arg0, arg1, 134927, __wbg_adapter_114);
|
|
4804
4804
|
return ret;
|
|
4805
4805
|
};
|
|
@@ -4807,52 +4807,48 @@ function __wbg_get_imports() {
|
|
|
4807
4807
|
const ret = makeMutClosure(arg0, arg1, 15904, __wbg_adapter_62);
|
|
4808
4808
|
return ret;
|
|
4809
4809
|
};
|
|
4810
|
-
imports.wbg.
|
|
4810
|
+
imports.wbg.__wbindgen_closure_wrapper54370 = function(arg0, arg1, arg2) {
|
|
4811
4811
|
const ret = makeClosure(arg0, arg1, 41571, __wbg_adapter_65);
|
|
4812
4812
|
return ret;
|
|
4813
4813
|
};
|
|
4814
|
-
imports.wbg.
|
|
4814
|
+
imports.wbg.__wbindgen_closure_wrapper67183 = function(arg0, arg1, arg2) {
|
|
4815
4815
|
const ret = makeMutClosure(arg0, arg1, 50990, __wbg_adapter_68);
|
|
4816
4816
|
return ret;
|
|
4817
4817
|
};
|
|
4818
|
-
imports.wbg.
|
|
4818
|
+
imports.wbg.__wbindgen_closure_wrapper67322 = function(arg0, arg1, arg2) {
|
|
4819
4819
|
const ret = makeMutClosure(arg0, arg1, 51093, __wbg_adapter_71);
|
|
4820
4820
|
return ret;
|
|
4821
4821
|
};
|
|
4822
|
-
imports.wbg.
|
|
4822
|
+
imports.wbg.__wbindgen_closure_wrapper71146 = function(arg0, arg1, arg2) {
|
|
4823
4823
|
const ret = makeMutClosure(arg0, arg1, 54030, __wbg_adapter_74);
|
|
4824
4824
|
return ret;
|
|
4825
4825
|
};
|
|
4826
|
-
imports.wbg.
|
|
4826
|
+
imports.wbg.__wbindgen_closure_wrapper72344 = function(arg0, arg1, arg2) {
|
|
4827
4827
|
const ret = makeMutClosure(arg0, arg1, 54644, __wbg_adapter_77);
|
|
4828
4828
|
return ret;
|
|
4829
4829
|
};
|
|
4830
|
-
imports.wbg.
|
|
4830
|
+
imports.wbg.__wbindgen_closure_wrapper72346 = function(arg0, arg1, arg2) {
|
|
4831
4831
|
const ret = makeMutClosure(arg0, arg1, 54644, __wbg_adapter_77);
|
|
4832
4832
|
return ret;
|
|
4833
4833
|
};
|
|
4834
|
-
imports.wbg.
|
|
4834
|
+
imports.wbg.__wbindgen_closure_wrapper72348 = function(arg0, arg1, arg2) {
|
|
4835
4835
|
const ret = makeMutClosure(arg0, arg1, 54644, __wbg_adapter_77);
|
|
4836
4836
|
return ret;
|
|
4837
4837
|
};
|
|
4838
|
-
imports.wbg.
|
|
4838
|
+
imports.wbg.__wbindgen_closure_wrapper76915 = function(arg0, arg1, arg2) {
|
|
4839
4839
|
const ret = makeMutClosure(arg0, arg1, 57878, __wbg_adapter_84);
|
|
4840
4840
|
return ret;
|
|
4841
4841
|
};
|
|
4842
|
-
imports.wbg.
|
|
4842
|
+
imports.wbg.__wbindgen_closure_wrapper77950 = function(arg0, arg1, arg2) {
|
|
4843
4843
|
const ret = makeMutClosure(arg0, arg1, 58259, __wbg_adapter_87);
|
|
4844
4844
|
return ret;
|
|
4845
4845
|
};
|
|
4846
|
-
imports.wbg.__wbindgen_closure_wrapper80096 = function(arg0, arg1, arg2) {
|
|
4847
|
-
const ret = makeMutClosure(arg0, arg1, 59718, __wbg_adapter_90);
|
|
4848
|
-
return ret;
|
|
4849
|
-
};
|
|
4850
4846
|
imports.wbg.__wbindgen_closure_wrapper80098 = function(arg0, arg1, arg2) {
|
|
4851
|
-
const ret = makeMutClosure(arg0, arg1, 59718,
|
|
4847
|
+
const ret = makeMutClosure(arg0, arg1, 59718, __wbg_adapter_90);
|
|
4852
4848
|
return ret;
|
|
4853
4849
|
};
|
|
4854
4850
|
imports.wbg.__wbindgen_closure_wrapper80100 = function(arg0, arg1, arg2) {
|
|
4855
|
-
const ret = makeMutClosure(arg0, arg1, 59718,
|
|
4851
|
+
const ret = makeMutClosure(arg0, arg1, 59718, __wbg_adapter_93);
|
|
4856
4852
|
return ret;
|
|
4857
4853
|
};
|
|
4858
4854
|
imports.wbg.__wbindgen_closure_wrapper80102 = function(arg0, arg1, arg2) {
|
|
@@ -4876,6 +4872,10 @@ function __wbg_get_imports() {
|
|
|
4876
4872
|
return ret;
|
|
4877
4873
|
};
|
|
4878
4874
|
imports.wbg.__wbindgen_closure_wrapper80112 = function(arg0, arg1, arg2) {
|
|
4875
|
+
const ret = makeMutClosure(arg0, arg1, 59718, __wbg_adapter_90);
|
|
4876
|
+
return ret;
|
|
4877
|
+
};
|
|
4878
|
+
imports.wbg.__wbindgen_closure_wrapper80114 = function(arg0, arg1, arg2) {
|
|
4879
4879
|
const ret = makeMutClosure(arg0, arg1, 59718, __wbg_adapter_108);
|
|
4880
4880
|
return ret;
|
|
4881
4881
|
};
|
package/pkg/webgpu_build_bg.wasm
CHANGED
|
Binary file
|
package/ui.js
CHANGED
|
@@ -87,6 +87,8 @@ function showCanvas(){
|
|
|
87
87
|
if (canvas) canvas.style.display = "block";
|
|
88
88
|
const logo = document.getElementById("loading-logo");
|
|
89
89
|
if (logo) logo.style.display = "none";
|
|
90
|
+
const bevyBadge = document.getElementById("bevy-badge");
|
|
91
|
+
if (bevyBadge) bevyBadge.style.display = "none";
|
|
90
92
|
}
|
|
91
93
|
|
|
92
94
|
/**
|