232 lines
7.4 KiB
JavaScript
232 lines
7.4 KiB
JavaScript
main.floors.MT181=
|
||
{
|
||
"floorId": "MT181",
|
||
"title": "人生宇宙",
|
||
"name": "人生宇宙",
|
||
"width": 13,
|
||
"height": 13,
|
||
"canFlyTo": false,
|
||
"canFlyFrom": false,
|
||
"canUseQuickShop": false,
|
||
"cannotViewMap": false,
|
||
"images": [
|
||
{
|
||
"name": "8.jpg",
|
||
"reverse": ":o",
|
||
"canvas": "bg",
|
||
"x": 0,
|
||
"y": 0
|
||
}
|
||
],
|
||
"ratio": 1,
|
||
"defaultGround": "ground",
|
||
"bgm": "jimeiren.mp3",
|
||
"firstArrive": [],
|
||
"eachArrive": [],
|
||
"parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"8.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -296, -88);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}",
|
||
"events": {
|
||
"6,0": [
|
||
{
|
||
"type": "if",
|
||
"condition": "(flag:hard===3)",
|
||
"true": [
|
||
{
|
||
"type": "changeFloor",
|
||
"floorId": "MT182",
|
||
"loc": [
|
||
6,
|
||
12
|
||
]
|
||
}
|
||
],
|
||
"false": [
|
||
{
|
||
"type": "if",
|
||
"condition": "switch:C",
|
||
"true": [
|
||
{
|
||
"type": "changeFloor",
|
||
"floorId": "MT182",
|
||
"loc": [
|
||
6,
|
||
12
|
||
]
|
||
}
|
||
],
|
||
"false": [
|
||
"生活有时是枯燥乏味的,但恰恰可以在这乏味的生活中寻找快乐。这样,自己的人生说不定就会更加丰富多彩不是吗?每个人都有权利追逐快乐。",
|
||
"魔塔是众多人的童年回忆,而我也非常喜欢魔塔。我从2019年入H5,到现在已经四年了,我做了十多个小游戏,投资了攻略激励计划和逐梦九天计划。希望H5可以越来越好。",
|
||
{
|
||
"type": "setValue",
|
||
"name": "switch:C",
|
||
"value": "true"
|
||
},
|
||
{
|
||
"type": "changeFloor",
|
||
"floorId": "MT182",
|
||
"loc": [
|
||
6,
|
||
12
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"changeFloor": {
|
||
"6,12": {
|
||
"floorId": "MT180",
|
||
"loc": [
|
||
6,
|
||
0
|
||
]
|
||
}
|
||
},
|
||
"beforeBattle": {},
|
||
"afterBattle": {
|
||
"6,10": [
|
||
{
|
||
"type": "setValue",
|
||
"name": "flag:wotainanle",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"type": "if",
|
||
"condition": "(flag:wotainanle==28)",
|
||
"true": [
|
||
{
|
||
"type": "openDoor",
|
||
"loc": [
|
||
6,
|
||
1
|
||
],
|
||
"floorId": "MT183"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"6,8": [
|
||
{
|
||
"type": "setValue",
|
||
"name": "flag:wotainanle",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"type": "if",
|
||
"condition": "(flag:wotainanle==28)",
|
||
"true": [
|
||
{
|
||
"type": "openDoor",
|
||
"loc": [
|
||
6,
|
||
1
|
||
],
|
||
"floorId": "MT183"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"6,6": [
|
||
{
|
||
"type": "setValue",
|
||
"name": "flag:wotainanle",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"type": "if",
|
||
"condition": "(flag:wotainanle==28)",
|
||
"true": [
|
||
{
|
||
"type": "openDoor",
|
||
"loc": [
|
||
6,
|
||
1
|
||
],
|
||
"floorId": "MT183"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"6,4": [
|
||
{
|
||
"type": "setValue",
|
||
"name": "flag:wotainanle",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"type": "if",
|
||
"condition": "(flag:wotainanle==28)",
|
||
"true": [
|
||
{
|
||
"type": "openDoor",
|
||
"loc": [
|
||
6,
|
||
1
|
||
],
|
||
"floorId": "MT183"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"6,2": [
|
||
{
|
||
"type": "setValue",
|
||
"name": "flag:wotainanle",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"type": "if",
|
||
"condition": "(flag:wotainanle==28)",
|
||
"true": [
|
||
{
|
||
"type": "openDoor",
|
||
"loc": [
|
||
6,
|
||
1
|
||
],
|
||
"floorId": "MT183"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"afterGetItem": {},
|
||
"afterOpenDoor": {},
|
||
"autoEvent": {},
|
||
"cannotMove": {},
|
||
"cannotMoveIn": {},
|
||
"map": [
|
||
[40044,40044,40044, 22,40044,40044, 89,40044,40044, 23,40044,40044,40044],
|
||
[40044,40044,40044, 22, 22, 83, 0, 82, 82, 82,40044,40044,40044],
|
||
[917,916,40044,40044,40044,40044,920,40044,40044,40044,40044,916,917],
|
||
[917,917,915, 83,916, 81, 0, 81,916, 83,915,917,917],
|
||
[40044,40044,40044,40044,40044,40044,920,40044,40044,40044,40044,40044,40044],
|
||
[916,916,915, 82,916, 81, 0, 81,916, 82,915,916,916],
|
||
[40044,40044,40044,40044,40044,40044,920,40044,40044,40044,40044,40044,40044],
|
||
[916,916,915, 82,916, 81, 0, 81,916, 82,915,916,916],
|
||
[40044,40044,40044,40044,40044,40044,920,40044,40044,40044,40044,40044,40044],
|
||
[917,917,917,916,915, 83, 0, 83,915,916,917,917,917],
|
||
[40044,40044,40044,40044,40044,40044,920,40044,40044,40044,40044,40044,40044],
|
||
[917,917,917,917,917,40044, 0,40044,917,917,917,917,917],
|
||
[917,917,917,40044,40044,40044,104,40044,40044,40044,917,917,917]
|
||
],
|
||
"bgmap": [
|
||
|
||
],
|
||
"fgmap": [
|
||
|
||
],
|
||
"bg2map": [
|
||
|
||
],
|
||
"fg2map": [
|
||
|
||
]
|
||
} |