tianta/project/floors/MUDI.js

710 lines
22 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

main.floors.MUDI=
{
"floorId": "MUDI",
"title": "墓地",
"name": "墓地",
"canFlyTo": false,
"canUseQuickShop": true,
"cannotViewMap": true,
"images": [],
"item_ratio": 1,
"firstArrive": [],
"events": {
"1,0": [
{
"type": "playBgm",
"name": "shenye.mp3",
"keep": true
},
{
"type": "playSound",
"name": "jiaobusheng.mp3"
},
{
"type": "function",
"function": "function(){\ncore.dom.wholeCtx.fillRect(0,0,core.dom.whole.width,core.dom.whole.height)\n}"
},
{
"type": "function",
"function": "function(){\nvar time = 500;\ntime /= Math.max(core.status.replay.speed, 1)\nvar per_time = 50,\n\tstep = 0,\n\tsteps = parseInt(time / per_time);\nvar animate = core.isReplaying() ? 0 : setInterval(function () {\n\tstep++;\n\tcore.dom.wholeCtx.globalAlpha = 1;\n\tcore.dom.wholeCtx.fillRect(0, 0, core.dom.whole.width, core.dom.whole.height);\n\tcore.dom.wholeCtx.globalAlpha = step / steps;\n\tcore.drawImage(core.dom.wholeCtx, core.material.images.images['mudi.jpg'], 0, 0);\n\tif (step == steps) {\n\t\tclearInterval(animate);\n\t}\n}, per_time);\n}"
},
{
"type": "sleep",
"time": 500,
"noSkip": true
},
{
"type": "showImage2",
"code": 1,
"image": "gongzhubaozouxiu.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
90,
338,
388
],
"opacity": 1,
"time": 500
},
"\t[公主]喂喂你是故意的吧!?",
"\t[公主]大半夜把我往坟堆里带什么啊啊啊啊!!!",
{
"type": "showImage2",
"code": 2,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]很抱歉公主殿下,我是为了看一个人而来的......",
"\t[公主]我管你看谁!?看鬼嘛!!快把我带回去你这死人!!",
"\t[邵虎]公主殿下我.........",
{
"type": "playBgm",
"name": "wangyang.mp3",
"keep": true
},
{
"type": "showImage2",
"code": 2,
"image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]啊......",
{
"type": "showImage2",
"code": 1,
"image": "gongzhulianhong.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
90,
319,
390
],
"opacity": 1,
"time": 500
},
"\t[公主]汪......",
{
"type": "showImage2",
"code": 1,
"image": "wangyangqianxiao.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
60,
322,
448
],
"opacity": 1,
"time": 500
},
"\t[汪洋]公主殿下,还有小邵。欢迎来到镇天谷。",
"\t[汪洋]小邵啊......来看姐姐吗?",
{
"type": "showImage2",
"code": 2,
"image": "shaohuzixin.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]嗯......陪姐姐呆一会......",
{
"type": "showImage2",
"code": 1,
"image": "wangyangyouyu.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
60,
322,
448
],
"opacity": 1,
"time": 500
},
"\t[汪洋]都怪我啊......如果当时保护好怜儿的话......",
"\t[邵虎]不是邵大哥的错。",
"\t[邵虎]怪我这个当弟弟的,没能......",
{
"type": "showImage2",
"code": 2,
"image": "gongzhuzhending.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
90,
319,
390
],
"opacity": 1,
"time": 500
},
"\t[公主]喂......难道这就是邵怜姐姐的墓吗?",
"\t[汪洋]嗯,是我亲手把她送到这个安静的地方来的。",
"\t[公主]................",
{
"type": "setText",
"position": "center",
"background": "winskin.png"
},
{
"type": "function",
"function": "function(){\nvar time = 500;\ntime /= Math.max(core.status.replay.speed, 1)\nvar per_time = 50,\n\tstep = 0,\n\tsteps = parseInt(time / per_time);\nvar animate = core.isReplaying() ? 0 : setInterval(function () {\n\tstep++;\n\timage101.style.filter = 'saturate(' + (100 - 100 * step / steps) + '%)'\n\timage102.style.filter = 'saturate(' + (100 - 100 * step / steps) + '%)'\n\twhole.style.filter = 'saturate(' + (100 - 100 * step / steps) + '%)'\n\tif (step == steps) {\n\t\tclearInterval(animate);\n\t\timage101.style.filter = 'saturate(0%)'\n\t\timage102.style.filter = 'saturate(0%)'\n\t\twhole.style.filter = 'saturate(0%)'\n\t}\n}, per_time);\n}"
},
{
"type": "sleep",
"time": 500
},
"我跪在墓碑前静静的祈祷......",
{
"type": "sleep",
"time": 500
},
"仿佛又回到了2年前姐姐在我眼前离开的时候...",
{
"type": "sleep",
"time": 500
},
"她走的时候,手里还握着带给弟弟的早点......",
{
"type": "sleep",
"time": 500
},
"尽管只是一块面包抹上了一点黄油......",
{
"type": "sleep",
"time": 500
},
"但对我来说......那就像是我最后一餐一般....",
{
"type": "sleep",
"time": 500
},
"那天她笑着推开门......",
{
"type": "sleep",
"time": 500
},
"亲切的呼唤着我的名字......我也开心的跑到门前.......",
{
"type": "sleep",
"time": 500
},
"然后......门口出现了身着天枢城军队服装的人",
{
"type": "sleep",
"time": 500
},
"他们什么也没说......我只看见早餐掉落在地上......姐姐看我那不舍的眼神......和滴在地上的鲜红的血......",
{
"type": "sleep",
"time": 500
},
"直到如今......我依然不敢正视那一幕.......",
{
"type": "sleep",
"time": 500
},
{
"type": "setText",
"position": "down",
"background": "winskin.png"
},
{
"type": "function",
"function": "function(){\nvar time = 500;\ntime /= Math.max(core.status.replay.speed, 1)\nvar per_time = 50,\n\tstep = 0,\n\tsteps = parseInt(time / per_time);\nvar animate = core.isReplaying() ? 0 : setInterval(function () {\n\tstep++;\n\timage101.style.filter = 'saturate(' + (100 * step / steps) + '%)'\n\timage102.style.filter = 'saturate(' + (100 * step / steps) + '%)'\n\twhole.style.filter = 'saturate(' + (100 * step / steps) + '%)'\n\tif (step == steps) {\n\t\tclearInterval(animate);\n\t\timage101.style.filter = 'saturate(100%)'\n\t\timage102.style.filter = 'saturate(100%)'\n\t\twhole.style.filter = ''\n\t}\n}, per_time);\n}"
},
{
"type": "sleep",
"time": 500
},
"\t[汪洋]公主殿下。",
{
"type": "showImage2",
"code": 2,
"image": "gongzhulianhong.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
90,
319,
390
],
"opacity": 1,
"time": 500
},
"\t[公主]........啊.....嗯嗯?、怎么了!?",
"\t[汪洋]公主殿下请跟我回去吧......你父王一定很着急的......",
{
"type": "showImage2",
"code": 2,
"image": "gongzhujiao.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
90,
319,
390
],
"opacity": 1,
"time": 500
},
"\t[公主]连......连你也这么说么......",
"\t[汪洋]天塔过于危险......公主殿下若是执意要去,能不能安全的回来还说不定,就算抵上我和邵护卫的性命。",
"\t[公主]我......我......我......",
{
"type": "showImage2",
"code": 2,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]汪大哥......对不起......给你添乱了..",
"\t[汪洋]没关系的......我懂你的意思......如果是怜儿还在......我也会随她任性吧......",
"\t[邵虎]汪大哥......我......",
{
"type": "showImage2",
"code": 1,
"image": "wangyangqianxiao.png",
"sloc": [
0,
0,
null
],
"loc": [
330,
60,
322,
448
],
"opacity": 1,
"time": 500
},
"\t[汪洋]算了......小邵,我们一起走吧。",
{
"type": "showImage2",
"code": 2,
"image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]啊......",
"\t[汪洋]你其实也是想满足公主殿下的愿望的吧......不想留下遗憾......就算不能在一起也......",
{
"type": "showImage2",
"code": 2,
"image": "shaohuxiao.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]哈........",
{
"type": "showImage2",
"code": 2,
"image": "gongzhujiao.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
90,
319,
390
],
"opacity": 1,
"time": 500
},
"\t[公主]你......你们都在说什么啊......我怎么一句没听懂......",
"\t[公主]我......我真的........",
"\t[汪洋]公主殿下......我们两个陪你一起去......你看好不好?",
"\t[公主]..........诶?",
"\t[汪洋]放心吧,我们两个的实力你大可放心。不会让公主出问题的。",
{
"type": "showImage2",
"code": 2,
"image": "gongzhulianhong.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
90,
319,
390
],
"opacity": 1,
"time": 500
},
"\t[公主]出....出问题.......",
"\t[公主](不是吧......",
"\t[汪洋]嗯嗯,走吧公主殿下。",
{
"type": "hideImage",
"code": 1,
"time": 500
},
"\t[公主]啊汪大哥等等我!!",
{
"type": "hideImage",
"code": 2,
"time": 500
},
{
"type": "sleep",
"time": 1000
},
{
"type": "showImage2",
"code": 2,
"image": "shaohuzixin.png",
"sloc": [
0,
0,
null
],
"loc": [
0,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]姐姐............保重..............",
{
"type": "hideImage",
"code": 2,
"time": 500
},
{
"type": "pauseBgm"
},
{
"type": "function",
"function": "function(){\nvar time = 500;\ntime /= Math.max(core.status.replay.speed, 1)\nvar per_time = 50,\n\tstep = 0,\n\tsteps = parseInt(time / per_time);\nvar animate = core.isReplaying() ? 0 : setInterval(function () {\n\tstep++;\n\tcore.dom.wholeCtx.globalAlpha = 1;\n\tcore.dom.wholeCtx.fillRect(0, 0, core.dom.whole.width, core.dom.whole.height);\n\tcore.dom.wholeCtx.globalAlpha = 1 - step / steps;\n\tcore.drawImage(core.dom.wholeCtx, core.material.images.images['mudi.jpg'], 0, 0);\n\tif (step == steps) {\n\t\tclearInterval(animate);\n\t}\n}, per_time);\n}"
},
{
"type": "sleep",
"time": 500
},
{
"type": "sleep",
"time": 2000
},
{
"type": "setText",
"position": "center",
"background": [
0,
0,
0,
0
]
},
{
"type": "playSound",
"name": "jiaobusheng.mp3"
},
{
"type": "sleep",
"time": 500
},
{
"type": "playSound",
"name": "jiaobusheng.mp3"
},
{
"type": "sleep",
"time": 500
},
{
"type": "playSound",
"name": "jiaobusheng.mp3"
},
"呼......呼.........",
"哈..哈.........",
"公主殿下..........汪大哥..........",
"你们到哪里去了啊..............",
{
"type": "setText",
"position": "down",
"background": "winskin.png"
},
{
"type": "playSound",
"name": "jiaobusheng.mp3"
},
{
"type": "playSound",
"name": "langhao.mp3"
},
{
"type": "playSound",
"name": "jiaobusheng.mp3"
},
{
"type": "playSound",
"name": "083-Monster05.ogg"
},
{
"type": "playSound",
"name": "084-Monster06.ogg"
},
{
"type": "playSound",
"name": "jiaobusheng.mp3"
},
{
"type": "playSound",
"name": "081-Monster03.ogg"
},
{
"type": "playSound",
"name": "jiaobusheng.mp3"
},
{
"type": "playSound",
"name": "085-Monster07.ogg"
},
{
"type": "pauseBgm"
},
{
"type": "playBgm",
"name": "yuegan.mp3",
"keep": true
},
{
"type": "showImage2",
"code": 1,
"image": "yecheng.jpg",
"sloc": [
0,
0,
null
],
"loc": [
0,
-410,
751,
893
],
"opacity": 1,
"time": 500
},
{
"type": "sleep",
"time": 1000
},
{
"type": "moveImage",
"code": 1,
"to": [
0,
0
],
"opacity": 1,
"time": 4000
},
{
"type": "sleep",
"time": 1000
},
{
"type": "showImage2",
"code": 2,
"image": "biaoti.jpg",
"sloc": [
0,
0,
null
],
"loc": [
0,
0,
751,
893
],
"opacity": 1,
"time": 1000
},
{
"type": "sleep",
"time": 1000
},
{
"type": "hideImage",
"code": 2,
"time": 500
},
{
"type": "hideImage",
"code": 1,
"time": 500
},
{
"type": "playBgm",
"name": "xingkong.mp3",
"keep": true
},
{
"type": "changeFloor",
"floorId": "MT0",
"loc": [
7,
11
],
"time": 0
},
{
"type": "trigger",
"loc": [
1,
2
]
}
]
},
"changeFloor": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"ratio": 1,
"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],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 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": [
],
"width": 15,
"height": 15,
"autoEvent": {
"1,0": {
"0": null,
"1": null,
"2": null
}
},
"beforeBattle": {},
"cannotMoveIn": {}
}