main.floors.jieke1= { "floorId": "jieke1", "title": "回忆", "name": "回忆", "width": 15, "height": 15, "canFlyTo": false, "canUseQuickShop": true, "cannotViewMap": true, "images": [ { "name": "yinyuecun.jpg", "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['yinyuecun.jpg'], 0, 0);\n\tif (step == steps) {\n\t\tclearInterval(animate);\n\t}\n}, per_time);\n}" }, { "type": "setCurtain", "time": 500 }, { "type": "sleep", "time": 1000 }, { "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": "sleep", "time": 500 }, "\t[杰克]说起来这个小村落已经有些年头了,而且距离皇城也不是很远。", "\t[杰克]大致位置嘛.......大概就是皇城和天塔中间左右。", { "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": 1000 }, { "type": "hideImage", "code": 1, "time": 0 }, { "type": "hideImage", "code": 2, "time": 0 }, { "type": "setCurtain", "color": [ 0, 0, 0, 1 ], "time": 500, "keep": true }, { "type": "changeFloor", "floorId": "jieke2", "loc": [ 0, 0 ], "time": 0 }, { "type": "trigger", "loc": [ 1, 0 ] } ], "2,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['yinyuecun.jpg'], 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": "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": "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 }, { "type": "changeFloor", "floorId": "jieke4", "loc": [ 0, 0 ], "time": 0 }, { "type": "trigger", "loc": [ 1, 0 ] } ] }, "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": [ ], "autoEvent": {}, "beforeBattle": {}, "cannotMoveIn": {} }