mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-05-10 02:13:25 +08:00
Deploying to gh-pages from @ 2687a0e50b
🚀
This commit is contained in:
parent
57e020067a
commit
f913a9d187
File diff suppressed because one or more lines are too long
1
assets/antdv-legacy.ba9eaef5.js
Normal file
1
assets/antdv-legacy.ba9eaef5.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
95
assets/antdv.91d45491.js
Normal file
95
assets/antdv.91d45491.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/index-legacy.51ed2954.js
Normal file
1
assets/index-legacy.51ed2954.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/index.3cfc6a2a.js
Normal file
1
assets/index.3cfc6a2a.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
10
index.html
10
index.html
@ -18,10 +18,10 @@
|
|||||||
<meta name="x5-fullscreen" content="true">
|
<meta name="x5-fullscreen" content="true">
|
||||||
<meta name="x5-page-mode" content="app">
|
<meta name="x5-page-mode" content="app">
|
||||||
<link id="mota-css" type='text/css' href='/HumanBreak/styles.css' rel='stylesheet'>
|
<link id="mota-css" type='text/css' href='/HumanBreak/styles.css' rel='stylesheet'>
|
||||||
<script type="module" crossorigin src="/HumanBreak/assets/index.711ce4b9.js"></script>
|
<script type="module" crossorigin src="/HumanBreak/assets/index.3cfc6a2a.js"></script>
|
||||||
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/antdv.10579f22.js">
|
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/antdv.91d45491.js">
|
||||||
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/common.97bd0112.js">
|
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/common.a1f88955.js">
|
||||||
<link rel="stylesheet" href="/HumanBreak/assets/index.f7e6e544.css">
|
<link rel="stylesheet" href="/HumanBreak/assets/index.23165966.css">
|
||||||
<script type="module">try{import.meta.url;import("_").catch(()=>1);}catch(e){}window.__vite_is_modern_browser=true;</script>
|
<script type="module">try{import.meta.url;import("_").catch(()=>1);}catch(e){}window.__vite_is_modern_browser=true;</script>
|
||||||
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy build because dynamic import or import.meta.url is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
|
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy build because dynamic import or import.meta.url is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
|
||||||
</head>
|
</head>
|
||||||
@ -207,7 +207,7 @@
|
|||||||
|
|
||||||
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
|
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
|
||||||
<script nomodule crossorigin id="vite-legacy-polyfill" src="/HumanBreak/assets/polyfills-legacy.000b56dd.js"></script>
|
<script nomodule crossorigin id="vite-legacy-polyfill" src="/HumanBreak/assets/polyfills-legacy.000b56dd.js"></script>
|
||||||
<script nomodule crossorigin id="vite-legacy-entry" data-src="/HumanBreak/assets/index-legacy.7f338ceb.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
|
<script nomodule crossorigin id="vite-legacy-entry" data-src="/HumanBreak/assets/index-legacy.51ed2954.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
@ -502,7 +502,7 @@ control.prototype.showStartAnimate = function (noAnimate, callback) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
control.prototype._showStartAnimate_resetDom = function () {
|
control.prototype._showStartAnimate_resetDom = function () {
|
||||||
core.plugin.loaded.value = true;
|
if (main.mode === 'play') core.plugin.loaded.value = true;
|
||||||
core.status.played = false;
|
core.status.played = false;
|
||||||
core.dom.gameGroup.style.display = 'none';
|
core.dom.gameGroup.style.display = 'none';
|
||||||
core.clearStatus();
|
core.clearStatus();
|
||||||
|
@ -245,7 +245,6 @@ loader.prototype._loadTilesets_sync = function (callback) {
|
|||||||
core.tilesets,
|
core.tilesets,
|
||||||
core.material.images.tilesets,
|
core.material.images.tilesets,
|
||||||
function () {
|
function () {
|
||||||
core.loader._loadTilesets_afterLoad();
|
|
||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@ -259,25 +258,11 @@ loader.prototype._loadTilesets_async = function (onprogress, onfinished) {
|
|||||||
core.material.images.tilesets,
|
core.material.images.tilesets,
|
||||||
onprogress,
|
onprogress,
|
||||||
function () {
|
function () {
|
||||||
core.loader._loadTilesets_afterLoad();
|
|
||||||
onfinished();
|
onfinished();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
loader.prototype._loadTilesets_afterLoad = function () {
|
|
||||||
// 检查宽高是32倍数,如果出错在控制台报错
|
|
||||||
for (var imgName in core.material.images.tilesets) {
|
|
||||||
var img = core.material.images.tilesets[imgName];
|
|
||||||
if (img.width % 32 != 0 || img.height % 32 != 0) {
|
|
||||||
console.warn('警告!' + imgName + '的宽或高不是32的倍数!');
|
|
||||||
}
|
|
||||||
if (img.width * img.height > 32 * 32 * 3000) {
|
|
||||||
console.warn('警告!' + imgName + '上的图块素材个数大于3000!');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// ------ 实际加载一系列图片 ------ //
|
// ------ 实际加载一系列图片 ------ //
|
||||||
|
|
||||||
loader.prototype.loadImages = function (dir, names, toSave, callback) {
|
loader.prototype.loadImages = function (dir, names, toSave, callback) {
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user