106 lines
4.0 KiB
JavaScript
106 lines
4.0 KiB
JavaScript
main.floors.MT3=
|
|
{
|
|
"floorId": "MT3",
|
|
"title": "朦胧的环境",
|
|
"name": "朦胧的环境",
|
|
"width": 13,
|
|
"height": 13,
|
|
"canFlyTo": true,
|
|
"canFlyFrom": true,
|
|
"canUseQuickShop": true,
|
|
"cannotViewMap": false,
|
|
"images": [
|
|
{
|
|
"name": "8.jpg",
|
|
"reverse": ":o",
|
|
"canvas": "bg",
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
],
|
|
"ratio": 1,
|
|
"defaultGround": "ground",
|
|
"firstArrive": [
|
|
{
|
|
"type": "setCurtain",
|
|
"time": 1000
|
|
}
|
|
],
|
|
"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,8": [
|
|
{
|
|
"type": "setCurtain",
|
|
"color": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
],
|
|
"time": 1000,
|
|
"keep": true
|
|
},
|
|
"\t[父亲,N389]bdf已经一周岁了。许个愿望吧。",
|
|
"\t[母亲,N385]许个什么愿望呢...",
|
|
"\t[母亲,N385]希望他能平平安安健健康康吧。以后的路还很长,要靠他自己,我们当父母的默默的支持他就好。",
|
|
"\t[父亲,N389]嗯嗯,平安健康就好,我儿子将来一定会有出息的。",
|
|
{
|
|
"type": "changeFloor",
|
|
"floorId": "MT4",
|
|
"loc": [
|
|
6,
|
|
9
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"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,40226,40203,40203,40203,40203,40203,40206, 0, 0, 0],
|
|
[ 0, 0, 0,40225, 28,40044,40044,40044, 27,40194, 0, 0, 0],
|
|
[ 0, 0, 0,40225, 32,40044, 0,202, 0,40194, 0, 0, 0],
|
|
[ 0, 0, 0,40225, 0,202, 0,40044, 29,40194, 0, 0, 0],
|
|
[ 0, 0, 0,40225, 29,40044,40044,40044, 0,40194, 0, 0, 0],
|
|
[ 0, 0, 0,40225, 0,348, 89,40044, 32,40194, 0, 0, 0],
|
|
[ 0, 0, 0,40224,40180,40180,40180,40180,40180,40182, 0, 0, 0],
|
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
|
],
|
|
"bgmap": [
|
|
|
|
],
|
|
"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, 0, 0, 0, 0, 0, 0, 0],
|
|
[ 0, 0, 0, 0,80000,80000,80000,80000,80000, 0, 0, 0, 0],
|
|
[ 0, 0, 0, 0,80000,80000,80000,80000,80000, 0, 0, 0, 0],
|
|
[ 0, 0, 0, 0,80000,80000,80000,80000,80000, 0, 0, 0, 0],
|
|
[ 0, 0, 0, 0,80000,80000,80000,80000,80000, 0, 0, 0, 0],
|
|
[ 0, 0, 0, 0,80000,80000,80000,80000,80000, 0, 0, 0, 0],
|
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
[ 0, 0, 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": [
|
|
|
|
],
|
|
"bgm": "congtianerjiang.mp3"
|
|
} |