mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-24 17:54:30 +08:00
Deploying to gh-pages from @ fd8fb6a068 🚀
This commit is contained in:
1 parent
8438969d32
commit
213f1a5e49
28 files changed
+465
-291
No files matched your search
+99
-27
@@ -17,31 +17,6 @@ main.floors.MT48=
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"7,0": [
|
||||
"本塔的第二章测试版已结束。",
|
||||
"本章还剩余最后一个大区域,约30层,较为复杂,请期待下次更新。",
|
||||
"计分方式:血量/10+黄*2000+蓝*5000+红*10000",
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "status:hp",
|
||||
"operator": "/=",
|
||||
"value": "10"
|
||||
},
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "status:hp",
|
||||
"operator": "+=",
|
||||
"value": "item:yellowKey*2000+item:blueKey*5000+item:redKey*10000"
|
||||
},
|
||||
{
|
||||
"type": "function",
|
||||
"function": "function(){\ncore.status.hero.hp = Math.ceil(core.status.hero.hp);\n}"
|
||||
},
|
||||
{
|
||||
"type": "win",
|
||||
"reason": "第二章测试"
|
||||
}
|
||||
],
|
||||
"7,10": [
|
||||
"\t[苍蓝之灵-虚,E647]\b[up,7,7]你来了,智慧之神看中的人。",
|
||||
"\t[中级智人]\b[up,hero]你是什么人?",
|
||||
@@ -54,13 +29,110 @@ main.floors.MT48=
|
||||
"\t[苍蓝之灵-虚,E647]\b[up,7,7]你现在还有很多疑虑吧,那里便有你想要找的答案。",
|
||||
"\t[中级智人]\b[up,hero]那么我怎么过去?",
|
||||
"\t[苍蓝之灵-虚,E647]\b[up,7,7]打败我,你便有资格进入。",
|
||||
"\t[中级智人]\b[up,hero]为什么又是要打架?",
|
||||
"\t[中级智人]\b[up,hero]为什么又是要打一场?",
|
||||
"\t[苍蓝之灵-虚,E647]\b[up,7,7]......",
|
||||
"\t[苍蓝之灵-虚,E647]\b[up,7,7]之后,你会明白的。",
|
||||
{
|
||||
"type": "hide",
|
||||
"remove": true
|
||||
}
|
||||
],
|
||||
"7,0": [
|
||||
{
|
||||
"type": "if",
|
||||
"condition": "(flag:pale1!==1)",
|
||||
"true": [
|
||||
{
|
||||
"type": "setCurtain",
|
||||
"color": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"time": 1500,
|
||||
"keep": true
|
||||
},
|
||||
{
|
||||
"type": "setText",
|
||||
"text": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"background": "winskin3.png"
|
||||
},
|
||||
"人类简史——进化篇",
|
||||
{
|
||||
"type": "playSound",
|
||||
"name": "paper.mp3"
|
||||
},
|
||||
"孤注一掷。",
|
||||
{
|
||||
"type": "playSound",
|
||||
"name": "paper.mp3"
|
||||
},
|
||||
"为拯救自己,人类执行了苍蓝计划。",
|
||||
{
|
||||
"type": "playSound",
|
||||
"name": "paper.mp3"
|
||||
},
|
||||
"硬币一旦抛出,又有谁能得知它的朝向呢?",
|
||||
{
|
||||
"type": "playSound",
|
||||
"name": "paper.mp3"
|
||||
},
|
||||
"在它落地之前,前方,是毁灭,亦是重生。",
|
||||
{
|
||||
"type": "playSound",
|
||||
"name": "paper.mp3"
|
||||
},
|
||||
"当他踏入宫殿的那一刻,硬币便已抛出。",
|
||||
{
|
||||
"type": "playSound",
|
||||
"name": "paper.mp3"
|
||||
},
|
||||
"来自未来的“孤注一掷”。",
|
||||
{
|
||||
"type": "playSound",
|
||||
"name": "paper.mp3"
|
||||
},
|
||||
{
|
||||
"type": "setText",
|
||||
"text": [
|
||||
255,
|
||||
255,
|
||||
255,
|
||||
1
|
||||
],
|
||||
"background": "winskin2.png"
|
||||
},
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "MT49",
|
||||
"loc": [
|
||||
7,
|
||||
14
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "setCurtain",
|
||||
"time": 1500
|
||||
},
|
||||
"\t[中级智人]\b[up,hero]!!",
|
||||
"\t[中级智人]\b[up,hero]这,这是!",
|
||||
"\t[中级智人]\b[up,hero]这就是未来人类的最后底牌了吗?",
|
||||
"\t[中级智人]\b[up,hero]我一定要弄清楚这里面的东西。",
|
||||
"\t[中级智人]\b[up,hero]前方,一定会有我所寻找的答案。",
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "flag:pale1",
|
||||
"value": "1"
|
||||
}
|
||||
],
|
||||
"false": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"changeFloor": {
|
||||
@@ -75,7 +147,7 @@ main.floors.MT48=
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {
|
||||
"7,7": [
|
||||
"\t[中级智人]\b[up,hero]为什么,为什么一定要打架,决定胜负呢?",
|
||||
"\t[中级智人]\b[up,hero]为什么,为什么一定要打一场,来决定胜负呢?",
|
||||
{
|
||||
"type": "openDoor",
|
||||
"loc": [
|
||||
|
||||
+96
-29
@@ -1,34 +1,95 @@
|
||||
main.floors.MT49=
|
||||
{
|
||||
"floorId": "MT49",
|
||||
"title": "冰封高原",
|
||||
"name": "49",
|
||||
"width": 15,
|
||||
"height": 15,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"images": [],
|
||||
"ratio": 8,
|
||||
"defaultGround": "T580",
|
||||
"bgm": "winter.mp3",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 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, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
"floorId": "MT49",
|
||||
"title": "苍蓝之殿-入",
|
||||
"name": "49",
|
||||
"width": 15,
|
||||
"height": 15,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"images": [],
|
||||
"ratio": 8,
|
||||
"defaultGround": "T580",
|
||||
"bgm": "winter.mp3",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"6,10": [
|
||||
"以万&定%$*#■◁"
|
||||
],
|
||||
"8,10": [
|
||||
"行$天&*至^%?□▼"
|
||||
],
|
||||
"7,14": [
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "MT48",
|
||||
"loc": [
|
||||
7,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"7,10": [
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "MT50",
|
||||
"loc": [
|
||||
7,
|
||||
14
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"changeFloor": {},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0,80922,80923,80924,80925,80926,80927,81120,81121,81122,81123,81124, 0, 0],
|
||||
[ 0, 0,80930,80931,80932,80933,80934,80935,81128,81129,81130,81131,81132, 0, 0],
|
||||
[ 0, 0,80938,80939,80940,80941,80942,80943,81136,81137,81138,81139,81140, 0, 0],
|
||||
[ 0, 0,80946,80947,80948,80949,80950,80951,81144,81145,81146,81147,81148, 0, 0],
|
||||
[ 0, 0,80954,80955,80956,80957,80958,80959,81152,81153,81154,81155,81156, 0, 0],
|
||||
[ 0, 0,80962,80963,80964,80965,80966,80967,81160,81161,81162,81163,81164, 0, 0],
|
||||
[ 0, 0,80970,80971,80972,80973,80974,80975,81168,81169,81170,81171,81172, 0, 0],
|
||||
[ 0, 0,80978,80979,80980,80981,80982,80983,81176,81177,81178,81179,81180, 0, 0],
|
||||
[ 0, 0,80986,80987,80988,80989,80990,80991,81184,81185,81186,81187,81188, 0, 0],
|
||||
[ 0, 0,80994,80995,80996,80997,80998,80999,81192,81193,81194,81195,81196, 0, 0],
|
||||
[ 0, 0,81002,81003, 0,81005,129, 91,129,81201,81202,81203,81204, 0, 0],
|
||||
[ 0, 0,81069,81070,81071, 0, 0, 0, 0, 0,81069,81070,81071, 0, 0],
|
||||
[ 0, 0,81077,81078,81079, 0, 0, 0, 0, 0,81077,81078,81079, 0, 0],
|
||||
[ 0,146,146,146,146, 0, 0, 0, 0, 0, 0, 0,146,146, 0],
|
||||
[146,146,146,146,146,146, 0, 93, 0,146,146,146,146,146,146]
|
||||
],
|
||||
"bgmap": [
|
||||
[70067,70067,70067,70067,70067,70067, 0, 0, 0,70067,70067,70067,70067,70067,70067],
|
||||
[70067,70067,70067,70067,70067,70067, 0, 0, 0,70067,70067,70067,70067,70067,70067],
|
||||
[70067,70067,70067,70067,70067,70067, 0, 0, 0,70067,70067,70067,70067,70067,70067],
|
||||
[70067,70067,70067,70067,70067,70067, 0, 0, 0,70067,70067,70067,70067,70067,70067],
|
||||
[70067,70067,70067,70067,70067,70067, 0, 0, 0,70067,70067,70067,70067,70067,70067],
|
||||
[70067,70067,70067,70067,70067,70067, 0, 0, 0,70067,70067,70067,70067,70067,70067],
|
||||
[70067,70067,70067,70067,70067,70067, 0, 0, 0,70067,70067,70067,70067,70067,70067],
|
||||
[70067,70067,70067,70067,70067,70067, 0, 0, 0,70067,70067,70067,70067,70067,70067],
|
||||
[70067,70067,70067,70067,70067,70067, 0, 0, 0,70067,70067,70067,70067,70067,70067],
|
||||
[70067,70067,70048,70049,70049,70049,70056, 0,70058,70049,70049,70049,70050,70067,70067],
|
||||
[70067,70067,70056, 0, 0, 0,70056, 0,70058, 0, 0, 0,70058,70067,70067],
|
||||
[70049,70049,70051, 0, 0, 0,70056, 0,70058, 0, 0, 0,70052,70049,70049],
|
||||
[ 0, 0, 0, 0, 0, 0,70056, 0,70058, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,70056, 0,70058, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,70056, 0,70058, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
[ 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, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
@@ -40,6 +101,12 @@ main.floors.MT49=
|
||||
[ 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, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0,81085,81086,81087, 0, 0, 0, 0, 0,81085,81086,81087, 0, 0],
|
||||
[ 0, 0,81093,81094,81095, 0, 0, 0, 0, 0,81093,81094,81095, 0, 0],
|
||||
[ 0, 0,81101,81102,81103, 0, 0, 0, 0, 0,81101,81102,81103, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
||||
+82
-29
@@ -1,40 +1,84 @@
|
||||
main.floors.MT50=
|
||||
{
|
||||
"floorId": "MT50",
|
||||
"title": "冰封高原",
|
||||
"name": "50",
|
||||
"width": 15,
|
||||
"height": 15,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"images": [],
|
||||
"ratio": 8,
|
||||
"defaultGround": "T580",
|
||||
"bgm": "winter.mp3",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 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, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
"floorId": "MT50",
|
||||
"title": "苍蓝之殿-中",
|
||||
"name": "50",
|
||||
"width": 15,
|
||||
"height": 15,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"images": [],
|
||||
"ratio": 8,
|
||||
"defaultGround": "T650",
|
||||
"bgm": [
|
||||
"palaceSouth.mp3",
|
||||
"winter.mp3"
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"7,14": [
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "MT49",
|
||||
"loc": [
|
||||
7,
|
||||
10
|
||||
]
|
||||
}
|
||||
],
|
||||
"5,13": [
|
||||
"欢迎来到苍蓝之殿,这是本塔第二章里面最大的一个区,也是最复杂的一个区。整个苍蓝之殿分为四个部分:左下角、右下角、左上角、右上角,每个部分都有不一样的玩法,多多动脑哦。"
|
||||
],
|
||||
"9,13": [
|
||||
"在你刚进入苍蓝之殿时,你只能先前往左下角部分(本地图的左面),右下角暂时不能前往。"
|
||||
],
|
||||
"5,1": [
|
||||
"左边两个机关门在打完左下角区域的boss后开启,右边同理。"
|
||||
],
|
||||
"9,1": [
|
||||
"左下角和右下角两个区域打完之后必须要点开学习技能,不然会卡关。",
|
||||
"本区域可以使用跳跃技能,不要忘记了。"
|
||||
]
|
||||
},
|
||||
"changeFloor": {},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[648,648,648,648,648,648,648, 91,648,648,648,648,648,648,648],
|
||||
[648, 0, 0, 0, 0,129, 0, 0, 0,129, 0, 0, 0, 0,648],
|
||||
[648, 0, 0, 0, 0,648, 0, 0, 0,648, 0, 0, 0, 0,648],
|
||||
[648, 0, 0, 0, 0,648, 0, 0, 0,648, 0, 0, 0, 0,648],
|
||||
[648, 0, 0, 0,103,648, 0, 0, 0,648,103, 0, 0, 0,648],
|
||||
[648, 85,648,648,648,648, 0, 0, 0,648,648,648,648, 85,648],
|
||||
[648, 0, 0, 0, 0, 0,484, 0,484, 0, 0, 0, 0, 0,648],
|
||||
[ 92, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 94],
|
||||
[648, 0, 0, 0, 0, 0,484, 0,484, 0, 0, 0, 0, 0,648],
|
||||
[648, 85,648,648,648,648, 0, 0, 0,648,648,648,648, 85,648],
|
||||
[648, 0, 0, 0,103,648, 0, 0, 0,648,103, 0, 0, 0,648],
|
||||
[648, 0, 0, 0, 0,648, 0, 0, 0,648, 0, 0, 0, 0,648],
|
||||
[648, 0, 0, 0, 0,648, 0, 0, 0,648, 0, 0, 0, 0,648],
|
||||
[648, 0, 0, 0, 0,129, 0, 0, 0,129, 0, 0, 0, 0,648],
|
||||
[648,648,648,648,648,648,648, 93,648,648,648,648,648,648,648]
|
||||
],
|
||||
"bgmap": [
|
||||
[ 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, 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, 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, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50403,50404,50405, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50411,50412,50413, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50419,50420,50421, 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, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
@@ -42,4 +86,13 @@ main.floors.MT50=
|
||||
[ 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, 0]
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
||||
@@ -145,7 +145,10 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
|
||||
// ---------- 重绘新地图;这一步将会设置core.status.floorId ---------- //
|
||||
core.drawMap(floorId);
|
||||
|
||||
if (!main.replayChecking) core.updateShadow();
|
||||
if (!main.replayChecking) {
|
||||
core.updateShadow();
|
||||
core.setCanvasFilterByFloorId(floorId);
|
||||
}
|
||||
|
||||
// 切换楼层BGM
|
||||
if (core.status.maps[floorId].bgm) {
|
||||
|
||||
+6
-1
@@ -126,7 +126,12 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
|
||||
"T627": 66,
|
||||
"T628": 67,
|
||||
"T629": 68,
|
||||
"T640": 69
|
||||
"T640": 69,
|
||||
"T648": 70,
|
||||
"T649": 71,
|
||||
"T650": 72,
|
||||
"T651": 73,
|
||||
"T652": 74
|
||||
},
|
||||
"animates": {
|
||||
"star": 0,
|
||||
|
||||
+6
-1
@@ -84,7 +84,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
||||
"94": {"cls":"animates","id":"rightPortal","canPass":true},
|
||||
"101": {"cls":"animates","id":"crystalUp"},
|
||||
"102": {"cls":"animates","id":"crystalBottom"},
|
||||
"103": {"cls":"animates","id":"fire"},
|
||||
"103": {"cls":"animates","id":"fire","canPass":true,"cannotIn":[]},
|
||||
"104": {"cls":"animates","id":"switch"},
|
||||
"105": {"cls":"animates","id":"steelDoor2","doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{}},"animate":1,"trigger":"openDoor"},
|
||||
"106": {"cls":"animates","id":"steelDoor3","doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{}},"animate":1,"trigger":"openDoor"},
|
||||
@@ -576,6 +576,11 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
||||
"645": {"cls":"enemys","id":"E645"},
|
||||
"646": {"cls":"enemys","id":"E646"},
|
||||
"647": {"cls":"enemys","id":"E647"},
|
||||
"648": {"cls":"terrains","id":"T648"},
|
||||
"649": {"cls":"terrains","id":"T649"},
|
||||
"650": {"cls":"terrains","id":"T650"},
|
||||
"651": {"cls":"terrains","id":"T651"},
|
||||
"652": {"cls":"terrains","id":"T652"},
|
||||
"20032": {"cls":"tileset","id":"X20032","cannotOut":["up","left"],"cannotIn":["up","left"]},
|
||||
"20033": {"cls":"tileset","id":"X20033","cannotOut":["up"],"cannotIn":["up"]},
|
||||
"20034": {"cls":"tileset","id":"X20034","cannotOut":["up","right"],"cannotIn":["up","right"]},
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 62 KiB |
Vendored
+1
-1
@@ -1 +1 @@
|
||||
var CorePlugin=function(exports){"use strict";function createCanvas(e,r){if(e){var t=document.createElement("canvas");t.id=e,t.className="gameCanvas no-anti-aliasing","editor"!=main.mode&&(t.style.zIndex=r||0),document.getElementById("gameDraw").appendChild(t);var o=t.getContext("2d");return core.canvas[e]=o,t}}var bg2Canvas=createCanvas("bg2",20),fg2Canvas=createCanvas("fg2",63);if(core.bigmap.canvas=["bg2","fg2","bg","event","event2","fg","damage"],core.initStatus.bg2maps={},core.initStatus.fg2maps={},"editor"==main.mode){document.getElementById("mapEdit").insertBefore(bg2Canvas,document.getElementById("event")),document.getElementById("mapEdit").insertBefore(fg2Canvas,document.getElementById("ebm"));var num=4;editor.dom.bg2c=core.canvas.bg2.canvas,editor.dom.bg2Ctx=core.canvas.bg2,editor.dom.fg2c=core.canvas.fg2.canvas,editor.dom.fg2Ctx=core.canvas.fg2,editor.dom.maps.push("bg2map","fg2map"),editor.dom.canvas.push("bg2","fg2");var createCanvasBtn=function(e){var r=document.createElement("input"),t="layerMod"+num++,o=e+"map";return r.type="radio",r.name="layerMod",r.id=t,r.value=o,editor.dom[t]=r,r.onchange=function(){editor.uifunctions.setLayerMod(o)},r},createCanvasBtn_mobile=function(e){var r=document.createElement("option"),t="layerMod"+num++,o=e+"map";return r.name="layerMod",r.value=o,editor.dom[t]=r,r};if(editor.isMobile){var input=createCanvasBtn_mobile("bg2"),input2=createCanvasBtn_mobile("fg2");input.innerText="背景2",input2.innerText="前景2";var parent=document.getElementById("layerMod");parent.insertBefore(input,parent.children[1]),parent.appendChild(input2)}else{var input=createCanvasBtn("bg2"),input2=createCanvasBtn("fg2"),child=document.getElementById("layerMod"),parent=child.parentNode;parent.insertBefore(input,child);var txt=document.createTextNode("背2");parent.insertBefore(txt,child),parent.appendChild(input2);var txt2=document.createTextNode("前2");parent.appendChild(txt2)}}core.maps._loadFloor_doNotCopy=function(){return["firstArrive","eachArrive","blocks","parallelDo","map","bgmap","fgmap","bg2map","fg2map","events","changeFloor","afterBattle","afterGetItem","afterOpenDoor","cannotMove"]},core.maps._drawBg_draw=function(e,r,t,o){o.ctx=t,core.maps._drawBg_drawBackground(e,o),core.maps._drawFloorImages(e,o.ctx,"bg",null,null,o.onMap),core.maps._drawBgFgMap(e,"bg",o),o.onMap&&(core.drawImage(r,t.canvas,core.bigmap.v2?-32:0,core.bigmap.v2?-32:0),core.clearMap("bg2"),core.clearMap(t)),core.maps._drawBgFgMap(e,"bg2",o),o.onMap&&core.drawImage("bg2",t.canvas,core.bigmap.v2?-32:0,core.bigmap.v2?-32:0),o.ctx=r},core.maps._drawFg_draw=function(e,r,t,o){o.ctx=t,core.maps._drawFloorImages(e,o.ctx,"fg",null,null,o.onMap),core.maps._drawBgFgMap(e,"fg",o),o.onMap&&(core.drawImage(r,t.canvas,core.bigmap.v2?-32:0,core.bigmap.v2?-32:0),core.clearMap("fg2"),core.clearMap(t)),core.maps._drawBgFgMap(e,"fg2",o),o.onMap&&core.drawImage("fg2",t.canvas,core.bigmap.v2?-32:0,core.bigmap.v2?-32:0),o.ctx=r},core.maps._generateMovableArray_arrays=function(e){return{bgArray:this.getBgMapArray(e),fgArray:this.getFgMapArray(e),eventArray:this.getMapArray(e),bg2Array:this._getBgFgMapArray("bg2",e),fg2Array:this._getBgFgMapArray("fg2",e)}},["up","down","left","right"].forEach((function(e){core.material.icons.hero[e].midFoot=2}));var heroMoving=function(e){core.status.heroMoving<=0||(e-core.animateFrame.moveTime>core.values.moveSpeed&&(core.animateFrame.leftLeg++,core.animateFrame.moveTime=e),core.drawHero(["stop","leftFoot","midFoot","rightFoot"][core.animateFrame.leftLeg%4],4*core.status.heroMoving))};function _iterableToArrayLimit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,a,n,c,s=[],l=!0,i=!1;try{if(n=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;l=!1}else for(;!(l=(o=n.call(t)).done)&&(s.push(o.value),s.length!==r);l=!0);}catch(e){i=!0,a=e}finally{try{if(!l&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(i)throw a}}return s}}function _regeneratorRuntime(){_regeneratorRuntime=function(){return e};var e={},r=Object.prototype,t=r.hasOwnProperty,o=Object.defineProperty||function(e,r,t){e[r]=t.value},a="function"==typeof Symbol?Symbol:{},n=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,r,t){return Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{l({},"")}catch(e){l=function(e,r,t){return e[r]=t}}function i(e,r,t,a){var n=r&&r.prototype instanceof f?r:f,c=Object.create(n.prototype),s=new M(a||[]);return o(c,"_invoke",{value:w(e,t,s)}),c}function u(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}e.wrap=i;var d={};function f(){}function p(){}function h(){}var m={};l(m,n,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(I([])));v&&v!==r&&t.call(v,n)&&(m=v);var y=h.prototype=f.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(r){l(e,r,(function(e){retuLine truncated
|
||||
var CorePlugin=function(exports){"use strict";function createCanvas(e,t){if(e){var r=document.createElement("canvas");r.id=e,r.className="gameCanvas no-anti-aliasing","editor"!=main.mode&&(r.style.zIndex=t||0),document.getElementById("gameDraw").appendChild(r);var o=r.getContext("2d");return core.canvas[e]=o,r}}var bg2Canvas=createCanvas("bg2",20),fg2Canvas=createCanvas("fg2",63);if(core.bigmap.canvas=["bg2","fg2","bg","event","event2","fg","damage"],core.initStatus.bg2maps={},core.initStatus.fg2maps={},"editor"==main.mode){document.getElementById("mapEdit").insertBefore(bg2Canvas,document.getElementById("event")),document.getElementById("mapEdit").insertBefore(fg2Canvas,document.getElementById("ebm"));var num=4;editor.dom.bg2c=core.canvas.bg2.canvas,editor.dom.bg2Ctx=core.canvas.bg2,editor.dom.fg2c=core.canvas.fg2.canvas,editor.dom.fg2Ctx=core.canvas.fg2,editor.dom.maps.push("bg2map","fg2map"),editor.dom.canvas.push("bg2","fg2");var createCanvasBtn=function(e){var t=document.createElement("input"),r="layerMod"+num++,o=e+"map";return t.type="radio",t.name="layerMod",t.id=r,t.value=o,editor.dom[r]=t,t.onchange=function(){editor.uifunctions.setLayerMod(o)},t},createCanvasBtn_mobile=function(e){var t=document.createElement("option"),r="layerMod"+num++,o=e+"map";return t.name="layerMod",t.value=o,editor.dom[r]=t,t};if(editor.isMobile){var input=createCanvasBtn_mobile("bg2"),input2=createCanvasBtn_mobile("fg2");input.innerText="背景2",input2.innerText="前景2";var parent=document.getElementById("layerMod");parent.insertBefore(input,parent.children[1]),parent.appendChild(input2)}else{var input=createCanvasBtn("bg2"),input2=createCanvasBtn("fg2"),child=document.getElementById("layerMod"),parent=child.parentNode;parent.insertBefore(input,child);var txt=document.createTextNode("背2");parent.insertBefore(txt,child),parent.appendChild(input2);var txt2=document.createTextNode("前2");parent.appendChild(txt2)}}core.maps._loadFloor_doNotCopy=function(){return["firstArrive","eachArrive","blocks","parallelDo","map","bgmap","fgmap","bg2map","fg2map","events","changeFloor","afterBattle","afterGetItem","afterOpenDoor","cannotMove"]},core.maps._drawBg_draw=function(e,t,r,o){o.ctx=r,core.maps._drawBg_drawBackground(e,o),core.maps._drawFloorImages(e,o.ctx,"bg",null,null,o.onMap),core.maps._drawBgFgMap(e,"bg",o),o.onMap&&(core.drawImage(t,r.canvas,core.bigmap.v2?-32:0,core.bigmap.v2?-32:0),core.clearMap("bg2"),core.clearMap(r)),core.maps._drawBgFgMap(e,"bg2",o),o.onMap&&core.drawImage("bg2",r.canvas,core.bigmap.v2?-32:0,core.bigmap.v2?-32:0),o.ctx=t},core.maps._drawFg_draw=function(e,t,r,o){o.ctx=r,core.maps._drawFloorImages(e,o.ctx,"fg",null,null,o.onMap),core.maps._drawBgFgMap(e,"fg",o),o.onMap&&(core.drawImage(t,r.canvas,core.bigmap.v2?-32:0,core.bigmap.v2?-32:0),core.clearMap("fg2"),core.clearMap(r)),core.maps._drawBgFgMap(e,"fg2",o),o.onMap&&core.drawImage("fg2",r.canvas,core.bigmap.v2?-32:0,core.bigmap.v2?-32:0),o.ctx=t},core.maps._generateMovableArray_arrays=function(e){return{bgArray:this.getBgMapArray(e),fgArray:this.getFgMapArray(e),eventArray:this.getMapArray(e),bg2Array:this._getBgFgMapArray("bg2",e),fg2Array:this._getBgFgMapArray("fg2",e)}},["up","down","left","right"].forEach((function(e){core.material.icons.hero[e].midFoot=2}));var heroMoving=function(e){core.status.heroMoving<=0||(e-core.animateFrame.moveTime>core.values.moveSpeed&&(core.animateFrame.leftLeg++,core.animateFrame.moveTime=e),core.drawHero(["stop","leftFoot","midFoot","rightFoot"][core.animateFrame.leftLeg%4],4*core.status.heroMoving))};function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,a,n,c,s=[],l=!0,i=!1;try{if(n=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(o=n.call(r)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){i=!0,a=e}finally{try{if(!l&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(i)throw a}}return s}}function _regeneratorRuntime(){_regeneratorRuntime=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},n=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function i(e,t,r,a){var n=t&&t.prototype instanceof f?t:f,c=Object.create(n.prototype),s=new x(a||[]);return o(c,"_invoke",{value:k(e,r,s)}),c}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=i;var d={};function f(){}function p(){}function h(){}var m={};l(m,n,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(I([])));v&&v!==t&&r.call(v,n)&&(m=v);var y=h.prototype=f.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){retuLine truncated
|
||||
Reference in new issue
Block a user