Erdnase
5dc6b1269e
2.10层剧情的背景改了 3.13层优化: (盗贼和蝙蝠同步移动) (盗贼立绘位置往右20像素和RM一致) (“跟我来”这句附近盗贼立绘消失修复) (盗贼和主角移动隔了一个身位,跟随了一个透明行走图) (移动结束后位置不对修复) (“好了,这里安全了”这句话逗号间隔不一样修复) (“什么什么……你要送我出塔”这句话附近添加了一个黑屏) (切换场景部分重做,隐藏状态栏并修改了立绘位置和大小) 4.ESC系统设置添加了“RM样式楼传”的按钮 5.游戏时间统计最大单位修改为小时
371 lines
10 KiB
JavaScript
371 lines
10 KiB
JavaScript
main.floors.jieke2=
|
|
{
|
|
"floorId": "jieke2",
|
|
"title": "镇天谷",
|
|
"name": "镇天谷",
|
|
"width": 15,
|
|
"height": 15,
|
|
"canFlyTo": false,
|
|
"canUseQuickShop": true,
|
|
"cannotViewMap": true,
|
|
"images": [
|
|
{
|
|
"name": "27-1.png",
|
|
"canvas": "bg",
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
],
|
|
"item_ratio": 1,
|
|
"firstArrive": [],
|
|
"events": {
|
|
"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['27-1.png'], 0, 0);\n\tif (step == steps) {\n\t\tclearInterval(animate);\n\t}\n}, per_time);\n}"
|
|
},
|
|
{
|
|
"type": "setCurtain",
|
|
"time": 500
|
|
},
|
|
{
|
|
"type": "showImage2",
|
|
"code": 1,
|
|
"image": "jiekexiaohei.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
350,
|
|
70,
|
|
"289.6",
|
|
"376.8"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "showImage2",
|
|
"code": 2,
|
|
"image": "shaohuyilv.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
80,
|
|
50,
|
|
"291.2",
|
|
"466.4"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"time": 500
|
|
},
|
|
"\t[杰克]老大不愧是老大~~这都知道。",
|
|
{
|
|
"type": "showImage2",
|
|
"code": 1,
|
|
"image": "jiekexiaohei.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
350,
|
|
70,
|
|
"289.6",
|
|
"376.8"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "showImage2",
|
|
"code": 2,
|
|
"image": "shaohuyilv.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
80,
|
|
50,
|
|
"291.2",
|
|
"466.4"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"time": 500
|
|
},
|
|
"\t[杰克]我本来以为这个地方很不出名呢。",
|
|
{
|
|
"type": "sleep",
|
|
"time": 500
|
|
},
|
|
"\t[杰克]因为大多数天枢城里的居民都不知道这个地方。",
|
|
{
|
|
"type": "showImage2",
|
|
"code": 1,
|
|
"image": "jiekezixin.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
350,
|
|
70,
|
|
"289.6",
|
|
"376.8"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "showImage2",
|
|
"code": 2,
|
|
"image": "shaohusikao.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
80,
|
|
50,
|
|
"291.2",
|
|
"466.4"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"time": 500
|
|
},
|
|
"\t[邵虎]...........",
|
|
{
|
|
"type": "sleep",
|
|
"time": 500
|
|
},
|
|
"\t[杰克]镇天谷虽说不是什么风水宝地,但平日里的生活总体来说还凑合",
|
|
{
|
|
"type": "sleep",
|
|
"time": 500
|
|
},
|
|
"\t[杰克]..........但后来镇天谷发生了一件事。",
|
|
{
|
|
"type": "showImage2",
|
|
"code": 2,
|
|
"image": "shaohuziya.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
80,
|
|
50,
|
|
"291.2",
|
|
"466.4"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "showImage2",
|
|
"code": 1,
|
|
"image": "jiekezixin.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
350,
|
|
70,
|
|
"289.6",
|
|
"376.8"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"time": 500
|
|
},
|
|
"\t[邵虎]你是说两年前的那件事吧..........",
|
|
{
|
|
"type": "showImage2",
|
|
"code": 2,
|
|
"image": "shaohuziya.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
80,
|
|
50,
|
|
"291.2",
|
|
"466.4"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "showImage2",
|
|
"code": 1,
|
|
"image": "jiekeyilv.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
350,
|
|
70,
|
|
"289.6",
|
|
"376.8"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"time": 500
|
|
},
|
|
"\t[杰克]看来老大知道的还不少啊。",
|
|
{
|
|
"type": "showImage2",
|
|
"code": 1,
|
|
"image": "jiekezixin.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
350,
|
|
70,
|
|
"289.6",
|
|
"376.8"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "showImage2",
|
|
"code": 2,
|
|
"image": "shaohuziya.png",
|
|
"sloc": [
|
|
0,
|
|
0,
|
|
null
|
|
],
|
|
"loc": [
|
|
80,
|
|
50,
|
|
"291.2",
|
|
"466.4"
|
|
],
|
|
"opacity": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"time": 500
|
|
},
|
|
"\t[杰克]没错,就在两年前,天枢城的禁卫军杀入了村子里。",
|
|
{
|
|
"type": "hideImage",
|
|
"code": 1,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "hideImage",
|
|
"code": 2,
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"time": 1000
|
|
},
|
|
{
|
|
"type": "setCurtain",
|
|
"color": [
|
|
0,
|
|
0,
|
|
0,
|
|
1
|
|
],
|
|
"time": 500,
|
|
"keep": true
|
|
},
|
|
{
|
|
"type": "changeFloor",
|
|
"floorId": "jieke3",
|
|
"loc": [
|
|
0,
|
|
0
|
|
],
|
|
"time": 0
|
|
},
|
|
{
|
|
"type": "trigger",
|
|
"loc": [
|
|
1,
|
|
0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"changeFloor": {},
|
|
"afterBattle": {},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"cannotMove": {},
|
|
"ratio": 1,
|
|
"map": [
|
|
[ 0, 0, 0, 0, 0,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