234 lines
7.5 KiB
JavaScript
234 lines
7.5 KiB
JavaScript
main.floors.MT183=
|
|
{
|
|
"floorId": "MT183",
|
|
"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": "setCurtain",
|
|
"color": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
],
|
|
"time": 1000,
|
|
"keep": true
|
|
},
|
|
"到底什么是梦境什么是真实?为何我会如此确信自己不是做梦?也许人生不过是一场梦境,醒来之时一切都已经结束了。",
|
|
"但是,人生不是梦。梦里啥都有,现实自己闯!因为我们只能一步一个脚印的走下去,从无到有,而不是一开始啥都有,因为这样我们才能如此确信自己不是在做梦。",
|
|
"我坚信,我可以把自己的现实闯好!",
|
|
{
|
|
"type": "setCurtain",
|
|
"color": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
],
|
|
"time": 1000,
|
|
"keep": true
|
|
},
|
|
{
|
|
"type": "hideStatusBar"
|
|
},
|
|
{
|
|
"type": "changeFloor",
|
|
"floorId": "JQ48",
|
|
"loc": [
|
|
4,
|
|
6
|
|
],
|
|
"direction": "right"
|
|
}
|
|
]
|
|
},
|
|
"changeFloor": {
|
|
"6,12": {
|
|
"floorId": "MT182",
|
|
"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": [
|
|
[917,917,917,40044,40044, 17, 89, 17,40044,40044,917,917,917],
|
|
[917,917,917,917,917,40044, 86,40044,917,917,917,917,917],
|
|
[40044,40044,40044,40044,40044,40044,455,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,455,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,455,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,455,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,455,40044,40044,40044,40044,40044,40044],
|
|
[917,916,915, 83,916, 81, 0, 81,916, 83,915,916,917],
|
|
[917,917,40044,40044,40044,40044,104,40044,40044,40044,40044,917,917]
|
|
],
|
|
"bgmap": [
|
|
|
|
],
|
|
"fgmap": [
|
|
|
|
],
|
|
"bg2map": [
|
|
[ 0, 0, 0, 0, 0,40044, 0,40044, 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],
|
|
[ 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]
|
|
],
|
|
"fg2map": [
|
|
|
|
]
|
|
} |