mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-05-01 03:43:25 +08:00
Deploying to gh-pages from @ 5e0d8ac7d4
🚀
This commit is contained in:
parent
548f984983
commit
92e6a5ebae
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
18
assets/index.e66e7efb.js
Normal file
18
assets/index.e66e7efb.js
Normal file
File diff suppressed because one or more lines are too long
@ -18,7 +18,7 @@
|
|||||||
<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.7cfd9d09.js"></script>
|
<script type="module" crossorigin src="/HumanBreak/assets/index.e66e7efb.js"></script>
|
||||||
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/antdv.d3c1a017.js">
|
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/antdv.d3c1a017.js">
|
||||||
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/common.311ffe86.js">
|
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/common.311ffe86.js">
|
||||||
<link rel="stylesheet" href="/HumanBreak/assets/index.3df2849d.css">
|
<link rel="stylesheet" href="/HumanBreak/assets/index.3df2849d.css">
|
||||||
@ -215,7 +215,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.fcbd97b9.js"></script>
|
<script nomodule crossorigin id="vite-legacy-polyfill" src="/HumanBreak/assets/polyfills-legacy.fcbd97b9.js"></script>
|
||||||
<script nomodule crossorigin id="vite-legacy-entry" data-src="/HumanBreak/assets/index-legacy.b7307737.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.ac04a303.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
@ -3202,6 +3202,7 @@ maps.prototype.removeBlock = function (x, y, floorId) {
|
|||||||
const block = blocks[i];
|
const block = blocks[i];
|
||||||
this.removeBlockByIndex(i, floorId);
|
this.removeBlockByIndex(i, floorId);
|
||||||
this._removeBlockFromMap(floorId, block);
|
this._removeBlockFromMap(floorId, block);
|
||||||
|
core.updateShadow(true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
@ -3364,6 +3365,7 @@ maps.prototype.setBlock = function (number, x, y, floorId, noredraw) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
core.updateShadow(true);
|
||||||
};
|
};
|
||||||
|
|
||||||
maps.prototype.animateSetBlock = function (
|
maps.prototype.animateSetBlock = function (
|
||||||
|
@ -4226,7 +4226,8 @@ ui.prototype.deleteCanvas = function (name) {
|
|||||||
|
|
||||||
////// 删除所有动态canvas //////
|
////// 删除所有动态canvas //////
|
||||||
ui.prototype.deleteAllCanvas = function () {
|
ui.prototype.deleteAllCanvas = function () {
|
||||||
return this.deleteCanvas(function () {
|
this.deleteCanvas(function () {
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
if (main.mode === 'play' && !core.isReplaying()) core.initShadowCanvas();
|
||||||
};
|
};
|
||||||
|
@ -31,6 +31,13 @@ main.floors.MT42=
|
|||||||
5,
|
5,
|
||||||
0
|
0
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"8,12": {
|
||||||
|
"floorId": "MT46",
|
||||||
|
"loc": [
|
||||||
|
7,
|
||||||
|
8
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"beforeBattle": {},
|
"beforeBattle": {},
|
||||||
|
@ -1,45 +1,71 @@
|
|||||||
main.floors.MT46=
|
main.floors.MT46=
|
||||||
{
|
{
|
||||||
"floorId": "MT46",
|
"floorId": "MT46",
|
||||||
"title": "冰封高原",
|
"title": "冰封高原",
|
||||||
"name": "46",
|
"name": "46",
|
||||||
"width": 15,
|
"width": 15,
|
||||||
"height": 15,
|
"height": 15,
|
||||||
"canFlyTo": true,
|
"canFlyTo": true,
|
||||||
"canFlyFrom": true,
|
"canFlyFrom": true,
|
||||||
"canUseQuickShop": true,
|
"canUseQuickShop": true,
|
||||||
"cannotViewMap": false,
|
"cannotViewMap": false,
|
||||||
"images": [],
|
"images": [],
|
||||||
"ratio": 8,
|
"ratio": 8,
|
||||||
"defaultGround": "T580",
|
"defaultGround": "T580",
|
||||||
"bgm": "winter.mp3",
|
"bgm": "winter.mp3",
|
||||||
"firstArrive": [],
|
"firstArrive": [],
|
||||||
"eachArrive": [],
|
"eachArrive": [],
|
||||||
"parallelDo": "",
|
"parallelDo": "",
|
||||||
"events": {},
|
"events": {},
|
||||||
"changeFloor": {},
|
"changeFloor": {},
|
||||||
"beforeBattle": {},
|
"beforeBattle": {},
|
||||||
"afterBattle": {},
|
"afterBattle": {},
|
||||||
"afterGetItem": {},
|
"afterGetItem": {},
|
||||||
"afterOpenDoor": {},
|
"afterOpenDoor": {},
|
||||||
"autoEvent": {},
|
"autoEvent": {},
|
||||||
"cannotMove": {},
|
"cannotMove": {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, 0, 0, 0, 0, 0, 0],
|
[ 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
[ 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
[ 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
[ 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
[ 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0]
|
||||||
],
|
],
|
||||||
|
"bgmap": [
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
|
||||||
|
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300]
|
||||||
|
],
|
||||||
|
"fgmap": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"bg2map": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"fg2map": [
|
||||||
|
|
||||||
|
]
|
||||||
}
|
}
|
@ -150,6 +150,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
|
|||||||
// ---------- 重绘新地图;这一步将会设置core.status.floorId ---------- //
|
// ---------- 重绘新地图;这一步将会设置core.status.floorId ---------- //
|
||||||
core.drawMap(floorId);
|
core.drawMap(floorId);
|
||||||
|
|
||||||
|
core.updateShadow();
|
||||||
|
|
||||||
// 切换楼层BGM
|
// 切换楼层BGM
|
||||||
if (core.status.maps[floorId].bgm) {
|
if (core.status.maps[floorId].bgm) {
|
||||||
var bgm = core.status.maps[floorId].bgm;
|
var bgm = core.status.maps[floorId].bgm;
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
|
var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
|
||||||
init: function () {
|
init: function () {
|
||||||
|
// 只看插件没用,插件是与vite样板高度融合的,所以要看的话就在游戏内的百科全书-关于游戏内点那个开源地址吧
|
||||||
this._afterLoadResources = function () {
|
this._afterLoadResources = function () {
|
||||||
if (!main.replayChecking && main.mode === 'play') {
|
if (!main.replayChecking && main.mode === 'play') {
|
||||||
main.forward();
|
main.forward();
|
||||||
@ -770,12 +771,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
|
|||||||
core.status.hero = new Proxy(hero, handler);
|
core.status.hero = new Proxy(hero, handler);
|
||||||
|
|
||||||
core.status.maps[floorId].blocks.forEach(function (block) {
|
core.status.maps[floorId].blocks.forEach(function (block) {
|
||||||
if (
|
if (block.event.cls !== 'items' || block.disable) return;
|
||||||
block.event.cls !== 'items' ||
|
|
||||||
block.event.id === 'superPotion' ||
|
|
||||||
block.disable
|
|
||||||
)
|
|
||||||
return;
|
|
||||||
const x = block.x,
|
const x = block.x,
|
||||||
y = block.y;
|
y = block.y;
|
||||||
// v2优化,只绘制范围内的部分
|
// v2优化,只绘制范围内的部分
|
||||||
|
Loading…
Reference in New Issue
Block a user