99 lines
2.9 KiB
JavaScript
99 lines
2.9 KiB
JavaScript
main.floors.MT184=
|
|
{
|
|
"floorId": "MT184",
|
|
"title": "最后的大学",
|
|
"name": "最后的大学",
|
|
"width": 13,
|
|
"height": 13,
|
|
"canFlyTo": false,
|
|
"canFlyFrom": false,
|
|
"canUseQuickShop": false,
|
|
"cannotViewMap": false,
|
|
"images": [
|
|
{
|
|
"name": "yuzhou.jpg",
|
|
"canvas": "bg",
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
],
|
|
"ratio": 1,
|
|
"defaultGround": "ground",
|
|
"bgm": "gaolikangzhi.mp3",
|
|
"firstArrive": [],
|
|
"eachArrive": [],
|
|
"parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"yuzhou.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, -150, -140);\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": "hideStatusBar"
|
|
},
|
|
{
|
|
"type": "setHeroOpacity",
|
|
"opacity": 0
|
|
},
|
|
{
|
|
"type": "changeFloor",
|
|
"floorId": "JQ47",
|
|
"loc": [
|
|
6,
|
|
12
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"changeFloor": {
|
|
"6,12": {
|
|
"floorId": "MT178",
|
|
"loc": [
|
|
6,
|
|
0
|
|
]
|
|
}
|
|
},
|
|
"beforeBattle": {},
|
|
"afterBattle": {},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"autoEvent": {},
|
|
"cannotMove": {},
|
|
"cannotMoveIn": {},
|
|
"map": [
|
|
[ 81, 81, 81,915, 4, 4, 89, 4, 4,915, 81, 81, 81],
|
|
[915, 4,916, 81, 81, 81, 0, 81, 81, 81,916, 4,915],
|
|
[916, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4,916],
|
|
[ 4,917,916,915,914, 83, 81, 83,914,915,916,917, 4],
|
|
[ 4, 4, 4, 4, 4, 4, 81, 4, 4, 4, 4, 4, 4],
|
|
[915,917, 82, 82,915, 81, 81, 82, 82,917,915, 81,915],
|
|
[ 4, 4, 4, 4, 4, 4, 81, 4, 4, 4, 4, 4, 4],
|
|
[915,917, 82, 82,915, 81, 81, 82, 82,917,915, 81,915],
|
|
[ 4, 4, 4, 4, 4, 4, 82, 4, 4, 4, 4, 4, 4],
|
|
[914,916, 82,916,914, 82, 82, 82,914,916, 82,916,914],
|
|
[ 4, 4, 4, 4, 4, 4, 0, 4, 4, 4, 4, 4, 4],
|
|
[ 4,917,916,915,914, 83, 0, 83,914,915,916,917, 4],
|
|
[ 4, 4, 4, 4, 4, 4, 93, 4, 4, 4, 4, 4, 4]
|
|
],
|
|
"bgmap": [
|
|
|
|
],
|
|
"fgmap": [
|
|
|
|
],
|
|
"bg2map": [
|
|
|
|
],
|
|
"fg2map": [
|
|
|
|
]
|
|
} |