tianta/project/floors/jieke3.js

421 lines
12 KiB
JavaScript
Raw Normal View History

2022-10-21 23:00:12 +08:00
main.floors.jieke3=
{
"floorId": "jieke3",
"title": "杀夜",
"name": "杀夜",
2022-10-22 19:23:02 +08:00
"width": 15,
"height": 15,
2022-10-21 23:00:12 +08:00
"canFlyTo": false,
"canUseQuickShop": true,
"cannotViewMap": true,
"images": [
{
"name": "xueguang.jpg",
"canvas": "bg",
"x": 0,
"y": 0
}
],
"item_ratio": 1,
"firstArrive": [],
"events": {
2022-10-22 19:23:02 +08:00
"1,0": [
{
"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['xueguang.jpg'], 0, 0);\n\tif (step == steps) {\n\t\tclearInterval(animate);\n\t}\n}, per_time);\n}"
},
2022-10-21 23:00:12 +08:00
{
"type": "setCurtain",
"time": 500
},
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 2,
"image": "shaohuziya.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
80,
50,
"291.2",
"466.4"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 1,
"image": "jiekedajiao.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
350,
70,
"289.6",
"376.8"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
"\t[杰克]当身着天枢禁卫军的部队杀入村中时,村子里的人大都还不知道发生了什么",
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 1,
"image": "jiekedajiao2.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
350,
70,
"289.6",
"376.8"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 2,
"image": "shaohuziya.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
80,
50,
"291.2",
"466.4"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
"\t[杰克]那些军人喊着【杀死反贼】,就这样杀进了村子",
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 1,
"image": "jiekezixin.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
350,
70,
"289.6",
"376.8"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 2,
"image": "shaohuziya.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
80,
50,
"291.2",
"466.4"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
"\t[杰克]最后,村子死伤惨重。",
{
"type": "sleep",
"time": 500
},
"\t[杰克]很少有人能够在这场灾难中活下来。",
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 1,
"image": "jiekexiaohei.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
350,
70,
"289.6",
"376.8"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 2,
"image": "shaohuziya.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
80,
50,
"291.2",
"466.4"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
"\t[杰克]这时,有一个自称【海骑士】的人挺身而出,救下了残存的居民。",
{
"type": "sleep",
"time": 500
},
"\t[杰克]他说:“如果想保护自己的家人,保卫自己的家园,就加入我们镇天联盟吧。”",
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 2,
"image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
80,
50,
"291.2",
"466.4"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 1,
"image": "jiekexiaohei.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
350,
70,
"289.6",
"376.8"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 1000
},
"\t[邵虎].....................!!!!",
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 2,
"image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
80,
50,
"291.2",
"466.4"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 1,
"image": "jiekezixin.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
350,
70,
"289.6",
"376.8"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
"\t[杰克]于是乎,两年过去了。",
{
"type": "sleep",
"time": 500
},
"\t[杰克]现在村子里留下的都是镇天联盟的人了。",
{
"type": "sleep",
"time": 1000
},
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 2,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
80,
50,
"291.2",
"466.4"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "showImage2",
2022-10-21 23:00:12 +08:00
"code": 1,
"image": "jiekezixin.png",
"sloc": [
0,
0,
null
],
2022-10-21 23:00:12 +08:00
"loc": [
350,
70,
"289.6",
"376.8"
2022-10-21 23:00:12 +08:00
],
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
"\t[邵虎].............(镇天联盟...镇天联盟...........我曾在塔里不止一次听说过【联盟】这个词。)",
{
"type": "sleep",
"time": 500
},
"\t[邵虎]............(那究竟是一个怎么样的组织?)",
{
"type": "sleep",
"time": 500
},
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "hideImage",
"code": 2,
"time": 0
},
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 500,
"keep": true
2022-10-21 23:00:12 +08:00
},
{
"type": "changeFloor",
"floorId": "jieke1",
"loc": [
2022-10-23 17:53:02 +08:00
0,
2022-10-21 23:00:12 +08:00
0
],
"time": 0
},
{
"type": "trigger",
"loc": [
2022-10-23 17:53:02 +08:00
2,
2022-10-21 23:00:12 +08:00
0
]
}
]
},
"changeFloor": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"ratio": 1,
"map": [
2022-10-22 19:23:02 +08:00
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2022-10-21 23:00:12 +08:00
],
"bgmap": [
],
"fgmap": [
],
2022-10-22 19:23:02 +08:00
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {}
2022-10-21 23:00:12 +08:00
}