diff --git a/project/events.js b/project/events.js index a78e0e5..103f88c 100644 --- a/project/events.js +++ b/project/events.js @@ -142,6 +142,62 @@ var events_c12a15a8_c380_4b28_8144_256cba95f760 = } ] } + ], + "跳过事件图片": [ + { + "type": "if", + "condition": "flag:useS_PASS", + "true": [ + { + "type": "showImage2", + "code": 50, + "image": "tiaojuqing.png", + "sloc": [ + 0, + 0, + "null", + "null" + ], + "loc": [ + 700, + 0, + 243, + 71 + ], + "opacity": 1, + "time": 0 + }, + { + "type": "moveImage", + "code": 50, + "to": [ + 400, + 0 + ], + "opacity": 1, + "time": 500 + } + ], + "false": [ + { + "type": "moveImage", + "code": 50, + "to": [ + 700, + 0 + ], + "time": 500 + }, + { + "type": "waitAsync" + }, + { + "type": "hideImage", + "code": 50, + "time": 0 + } + ] + } ] } } \ No newline at end of file diff --git a/project/floors/MT0.js b/project/floors/MT0.js index 1c58451..cd9f500 100644 --- a/project/floors/MT0.js +++ b/project/floors/MT0.js @@ -20,7 +20,7 @@ main.floors.MT0= [ 0,348, 4, 4, 4, 2, 2, 2, 0, 2, 2, 4, 4,352, 0], [ 0,348, 4, 4, 4, 4, 4, 2, 0, 2, 4, 4, 4,352, 0], [ 0,348, 4, 4, 4, 4, 2, 2, 0, 2, 2, 2, 2,352, 0], - [ 0,348, 4, 4, 4, 4, 2, 0, 0, 0,168, 0, 88,352, 0], + [ 0,348, 4, 4, 4, 4, 2, 0, 0, 0,10190, 0, 88,352, 0], [ 0,348, 4, 4, 4, 4, 2, 0, 2, 2, 2, 2, 2,352, 0], [ 0,349,346,346,346,346,346,346,346,346,346,346,346,347, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], @@ -64,28 +64,41 @@ main.floors.MT0= }, { "type": "if", - "condition": "switch:A", + "condition": "(core.isReplaying()||flag:SkipThePlot)", "true": [ - "\t[邵虎]..........现在还打不开它。" + { + "type": "setValue", + "name": "flag:SkipThePlot", + "value": "false" + }, + "\t[邵虎]..........现在还打不开它。", + { + "type": "hideImage", + "code": 1, + "time": 0 + } ], "false": [ { - "type": "setValue", - "name": "switch:A", - "value": "true" + "type": "function", + "function": "function(){\ncore.Confirmskip_On();\n}" }, "\t[邵虎]............", "\t[邵虎](梅花为底,淡蓝色的屏障)......", "\t[邵虎]............", "\t[邵虎](这是《古代密要》中的“梅障结界”)....", "\t[邵虎](看来天塔里面不是那么简单啊)....", - "\t[邵虎](以我现在的能力怕是无法破解这层障壁了......还是先不要管它为好。)" + "\t[邵虎](以我现在的能力怕是无法破解这层障壁了......还是先不要管它为好。)", + { + "type": "function", + "function": "function(){\ncore.Confirmskip_Off();\n}" + }, + { + "type": "hideImage", + "code": 1, + "time": 0 + } ] - }, - { - "type": "hideImage", - "code": 1, - "time": 0 } ], "9,6": [ @@ -533,7 +546,7 @@ main.floors.MT0= { "type": "hide", "remove": true, - "time": 500 + "time": 0 }, { "type": "if", @@ -548,10 +561,13 @@ main.floors.MT0= 6 ] ], - "time": 500 + "time": 200 } ] }, + { + "type": "waitAsync" + }, { "type": "move", "loc": [ @@ -567,36 +583,8 @@ main.floors.MT0= ], "false": [ { - "type": "showImage2", - "code": 10, - "image": "tiaojuqing.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 700, - 0, - 243, - "71.25" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 400, - 0 - ], - "time": 500 - }, - { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "true" + "type": "function", + "function": "function(){\ncore.Confirmskip_On();\n}" }, { "type": "sleep", @@ -780,23 +768,8 @@ main.floors.MT0= "\t[邵虎]........你是谁........", "\t[???]我是这座塔的守塔仙子........", { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "false" - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 700, - 0 - ], - "time": 500 - }, - { - "type": "hideImage", - "code": 10, - "time": 0 + "type": "function", + "function": "function(){\ncore.Confirmskip_Off();\n}" }, "\t[守塔仙子]邵....啊不.....这位勇士,请你回去吧。塔里过于凶险..........", "\t[邵虎]谢谢你的好意....不过我还是要进去的。", diff --git a/project/floors/MT1.js b/project/floors/MT1.js index 8225f93..b13d069 100644 --- a/project/floors/MT1.js +++ b/project/floors/MT1.js @@ -71,36 +71,8 @@ main.floors.MT1= ], "false": [ { - "type": "showImage2", - "code": 10, - "image": "tiaojuqing.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 700, - 0, - 243, - "71.25" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 400, - 0 - ], - "time": 500 - }, - { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "true" + "type": "function", + "function": "function(){\ncore.Confirmskip_On();\n}" }, { "type": "showImage2", @@ -288,23 +260,8 @@ main.floors.MT1= "time": 0 }, { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "false" - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 700, - 0 - ], - "time": 500 - }, - { - "type": "hideImage", - "code": 10, - "time": 0 + "type": "function", + "function": "function(){\ncore.Confirmskip_Off();\n}" } ] }, diff --git a/project/floors/MT10.js b/project/floors/MT10.js index 1da96a8..65d513a 100644 --- a/project/floors/MT10.js +++ b/project/floors/MT10.js @@ -43,36 +43,8 @@ main.floors.MT10= ], "false": [ { - "type": "showImage2", - "code": 10, - "image": "tiaojuqing.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 700, - 0, - 243, - "71.25" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 400, - 0 - ], - "time": 500 - }, - { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "true" + "type": "function", + "function": "function(){\ncore.Confirmskip_On();\n}" }, { "type": "sleep", @@ -203,23 +175,8 @@ main.floors.MT10= }, "\t[嗜骨]..........其实.......", { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "false" - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 700, - 0 - ], - "time": 500 - }, - { - "type": "hideImage", - "code": 10, - "time": 0 + "type": "function", + "function": "function(){\ncore.Confirmskip_Off();\n}" }, { "type": "sleep", @@ -277,24 +234,6 @@ main.floors.MT10= } ], "1,0": [ - { - "type": "function", - "function": "function(){\ncore.canvas.bg.canvas.style.filter='saturate(100%)';\n}" - }, - { - "type": "setValue", - "name": "flag:Memories_grayscale", - "value": "false" - }, - { - "type": "setGlobalAttribute", - "name": "borderColor", - "value": "204,204,204,1" - }, - { - "type": "function", - "function": "function(){\ncore.maskFliter(500,'013-Square01.png')\n}" - }, { "type": "playBgm", "name": "misjiqing.mp3" diff --git a/project/floors/MT13.js b/project/floors/MT13.js index ccf42a9..bfdfab4 100644 --- a/project/floors/MT13.js +++ b/project/floors/MT13.js @@ -467,656 +467,711 @@ main.floors.MT13= ], "1,0": [ { - "type": "choices", - "text": "是否跳过剧情", - "choices": [ + "type": "if", + "condition": "(core.isReplaying()||flag:SkipThePlot)", + "true": [ { - "text": "是", - "action": [ - { - "type": "hide", - "loc": [ - [ - 2, - 8 - ] - ], - "time": 0 - }, - { - "type": "hide", - "loc": [ - [ - 7, - 8 - ] - ], - "time": 0 - }, - { - "type": "setBlock", - "number": "123", - "loc": [ - [ - 2, - 7 - ] - ] - }, - { - "type": "hide", - "loc": [ - [ - 8, - 8 - ] - ], - "time": 0 - }, - { - "type": "setBlock", - "number": "206", - "loc": [ - [ - 3, - 9 - ] - ] - }, - { - "type": "hide", - "loc": [ - [ - 4, - 7 - ] - ], - "time": 0 - }, - { - "type": "setBlock", - "number": "218", - "loc": [ - [ - 3, - 7 - ] - ] - } + "type": "setValue", + "name": "flag:SkipThePlot", + "value": "false" + }, + { + "type": "hide", + "loc": [ + [ + 2, + 8 + ] + ], + "time": 0 + }, + { + "type": "hide", + "loc": [ + [ + 7, + 8 + ] + ], + "time": 0 + }, + { + "type": "hide", + "loc": [ + [ + 6, + 8 + ] + ], + "time": 0 + }, + { + "type": "hide", + "loc": [ + [ + 6, + 9 + ] + ], + "time": 0 + }, + { + "type": "hide", + "loc": [ + [ + 5, + 9 + ] + ], + "time": 0 + }, + { + "type": "hide", + "loc": [ + [ + 4, + 9 + ] + ], + "time": 0 + }, + { + "type": "hide", + "loc": [ + [ + 2, + 9 + ] + ], + "time": 0 + }, + { + "type": "setBlock", + "number": "123", + "loc": [ + [ + 2, + 7 + ] ] }, { - "text": "否", - "action": [ - { - "type": "playBgm", - "name": "linghaihuanxin.mp3" - }, - { - "type": "move", - "loc": [ - 7, - 8 - ], - "time": 500, - "keep": true, - "async": true, - "steps": [ - "left:1" - ] - }, - { - "type": "move", - "loc": [ - 8, - 8 - ], - "time": 500, - "keep": true, - "async": true, - "steps": [ - "left:1" - ] - }, - { - "type": "waitAsync" - }, - { - "type": "showImage2", - "code": 1, - "image": "jiekedajiao2.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "sleep", - "time": 500 - }, - "\t[???].....................", - { - "type": "sleep", - "time": 1500 - }, - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "move", - "loc": [ - 6, - 8 - ], - "time": 50, - "keep": true, - "async": true, - "steps": [ - "down:1", - "left:4" - ] - }, - { - "type": "move", - "loc": [ - 7, - 8 - ], - "time": 50, - "keep": true, - "async": true, - "steps": [ - "left:1", - "down:1", - "left:3" - ] - }, - { - "type": "waitAsync" - }, - { - "type": "showImage2", - "code": 1, - "image": "jiekedajiao.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[???]求求你了~~~蝙蝠大神~~~", - { - "type": "sleep", - "time": 500 - }, - "\t[???]放了我吧~~~", - { - "type": "sleep", - "time": 500 - }, - "\t[???]我们素不相识,萍水相逢,应该互相珍惜才是.........", - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "sleep", - "time": 750 - }, - { - "type": "playSound", - "name": "se81.mp3" - }, - { - "type": "sleep", - "time": 500 - }, - { - "type": "animate", - "name": "han", - "loc": [ - 2, - 9 - ] - }, - { - "type": "sleep", - "time": 500 - }, - { - "type": "showImage2", - "code": 1, - "image": "jiekeyilv.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[???]对了蝙蝠大神。你可知道在天塔里有一种长生不老的秘药么?", - "\t[???]如果你打算放了我的话,我说不定会告诉你在哪里哦~!!", - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "sleep", - "time": 750 - }, - { - "type": "playSound", - "name": "se81.mp3" - }, - { - "type": "sleep", - "time": 500 - }, - { - "type": "animate", - "name": "han", - "loc": [ - 2, - 9 - ] - }, - { - "type": "sleep", - "time": 500 - }, - { - "type": "showImage2", - "code": 1, - "image": "jiekedajiao.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[???]对了对了,你们蝙蝠最希望得到的应该是类似【进化药】之类的东西对吧?我可以给你啊~!", - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "sleep", - "time": 750 - }, - { - "type": "playSound", - "name": "se81.mp3" - }, - { - "type": "sleep", - "time": 500 - }, - { - "type": "animate", - "name": "han", - "loc": [ - 2, - 9 - ] - }, - { - "type": "sleep", - "time": 500 - }, - { - "type": "showImage2", - "code": 1, - "image": "jiekedajiao2.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[???]对了............我擦、没话说了。。。", - { - "type": "sleep", - "time": 750 - }, - "\t[???]难道我就要死在这里么?不要啊........", - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "sleep", - "time": 750 - }, - { - "type": "animate", - "name": "shenglvehao", - "loc": [ - 2, - 9 - ] - }, - { - "type": "sleep", - "time": 750 - }, - { - "type": "showImage2", - "code": 1, - "image": "jiekezixin.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\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": "showImage2", - "code": 1, - "image": "jiekedajiao.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "sleep", - "time": 500 - }, - "\t[???]迷雾弹!!!!", - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "sleep", - "time": 250 - }, - { - "type": "animate", - "name": "miwudan", - "loc": [ - 3, - 9 - ] - }, - { - "type": "sleep", - "time": 500 - }, - { - "type": "showImage2", - "code": 1, - "image": "jiekedajiao.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "sleep", - "time": 500 - }, - "\t[???]破!!!墙!!!镐!!!", - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "animate", - "name": "jian", - "loc": [ - 2, - 8 - ] - }, - { - "type": "hide", - "loc": [ - [ - 2, - 8 - ] - ], - "time": 0 - }, - { - "type": "sleep", - "time": 500 - }, - { - "type": "move", - "loc": [ - 2, - 9 - ], - "time": 500, - "keep": true, - "steps": [ - "up:2" - ] - }, - { - "type": "sleep", - "time": 500 - }, - { - "type": "animate", - "name": "sangang", - "loc": [ - 4, - 7 - ] - }, - { - "type": "sleep", - "time": 500 - }, - { - "type": "move", - "loc": [ - 4, - 7 - ], - "time": 500, - "keep": true, - "steps": [ - "left:1" - ] - }, - { - "type": "animate", - "name": "gantanhao", - "loc": [ - 2, - 7 - ] - }, - { - "type": "showImage2", - "code": 1, - "image": "jiekedajiao2.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[???]为什么每次用完破墙都会有法师出现啊..........", - { - "type": "sleep", - "time": 500 - }, - "\t[???]救——命——啊—————!!!!(不知道管不管用)", - { - "type": "animate", - "name": "gantanhao", - "loc": "hero" - }, - { - "type": "showImage2", - "code": 2, - "image": "shaohuyilv.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "setVolume", - "value": 0, - "time": 1000 - }, - "\t[邵虎]有人喊救命.........去看一看吧。", - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "hideImage", - "code": 2, - "time": 0 - }, - { - "type": "setVolume", - "value": 100, - "time": 500 - }, - { - "type": "playBgm", - "name": "xingkong.mp3" - } + "type": "hide", + "loc": [ + [ + 8, + 8 + ] + ], + "time": 0 + }, + { + "type": "setBlock", + "number": "206", + "loc": [ + [ + 3, + 9 + ] ] + }, + { + "type": "hide", + "loc": [ + [ + 4, + 7 + ] + ], + "time": 0 + }, + { + "type": "setBlock", + "number": "218", + "loc": [ + [ + 3, + 7 + ] + ] + } + ], + "false": [ + { + "type": "function", + "function": "function(){\ncore.Confirmskip_On();\n}" + }, + { + "type": "playBgm", + "name": "linghaihuanxin.mp3" + }, + { + "type": "move", + "loc": [ + 7, + 8 + ], + "time": 500, + "keep": true, + "async": true, + "steps": [ + "left:1" + ] + }, + { + "type": "move", + "loc": [ + 8, + 8 + ], + "time": 500, + "keep": true, + "async": true, + "steps": [ + "left:1" + ] + }, + { + "type": "waitAsync" + }, + { + "type": "showImage2", + "code": 1, + "image": "jiekedajiao2.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "sleep", + "time": 500 + }, + "\t[???].....................", + { + "type": "sleep", + "time": 1500 + }, + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "move", + "loc": [ + 6, + 8 + ], + "time": 50, + "keep": true, + "async": true, + "steps": [ + "down:1", + "left:4" + ] + }, + { + "type": "move", + "loc": [ + 7, + 8 + ], + "time": 50, + "keep": true, + "async": true, + "steps": [ + "left:1", + "down:1", + "left:3" + ] + }, + { + "type": "waitAsync" + }, + { + "type": "showImage2", + "code": 1, + "image": "jiekedajiao.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[???]求求你了~~~蝙蝠大神~~~", + { + "type": "sleep", + "time": 500 + }, + "\t[???]放了我吧~~~", + { + "type": "sleep", + "time": 500 + }, + "\t[???]我们素不相识,萍水相逢,应该互相珍惜才是.........", + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "sleep", + "time": 750 + }, + { + "type": "playSound", + "name": "se81.mp3" + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "animate", + "name": "han", + "loc": [ + 2, + 9 + ] + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "showImage2", + "code": 1, + "image": "jiekeyilv.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[???]对了蝙蝠大神。你可知道在天塔里有一种长生不老的秘药么?", + "\t[???]如果你打算放了我的话,我说不定会告诉你在哪里哦~!!", + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "sleep", + "time": 750 + }, + { + "type": "playSound", + "name": "se81.mp3" + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "animate", + "name": "han", + "loc": [ + 2, + 9 + ] + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "showImage2", + "code": 1, + "image": "jiekedajiao.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[???]对了对了,你们蝙蝠最希望得到的应该是类似【进化药】之类的东西对吧?我可以给你啊~!", + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "sleep", + "time": 750 + }, + { + "type": "playSound", + "name": "se81.mp3" + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "animate", + "name": "han", + "loc": [ + 2, + 9 + ] + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "showImage2", + "code": 1, + "image": "jiekedajiao2.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[???]对了............我擦、没话说了。。。", + { + "type": "sleep", + "time": 750 + }, + "\t[???]难道我就要死在这里么?不要啊........", + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "function", + "function": "function(){\ncore.Confirmskip_Off();\n}" + }, + { + "type": "sleep", + "time": 750 + }, + { + "type": "animate", + "name": "shenglvehao", + "loc": [ + 2, + 9 + ] + }, + { + "type": "sleep", + "time": 750 + }, + { + "type": "showImage2", + "code": 1, + "image": "jiekezixin.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\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": "showImage2", + "code": 1, + "image": "jiekedajiao.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "sleep", + "time": 500 + }, + "\t[???]迷雾弹!!!!", + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "sleep", + "time": 250 + }, + { + "type": "animate", + "name": "miwudan", + "loc": [ + 3, + 9 + ] + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "showImage2", + "code": 1, + "image": "jiekedajiao.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "sleep", + "time": 500 + }, + "\t[???]破!!!墙!!!镐!!!", + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "animate", + "name": "jian", + "loc": [ + 2, + 8 + ] + }, + { + "type": "hide", + "loc": [ + [ + 2, + 8 + ] + ], + "time": 0 + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "move", + "loc": [ + 2, + 9 + ], + "time": 500, + "keep": true, + "steps": [ + "up:2" + ] + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "animate", + "name": "sangang", + "loc": [ + 4, + 7 + ] + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "move", + "loc": [ + 4, + 7 + ], + "time": 500, + "keep": true, + "steps": [ + "left:1" + ] + }, + { + "type": "animate", + "name": "gantanhao", + "loc": [ + 2, + 7 + ] + }, + { + "type": "showImage2", + "code": 1, + "image": "jiekedajiao2.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[???]为什么每次用完破墙都会有法师出现啊..........", + { + "type": "sleep", + "time": 500 + }, + "\t[???]救——命——啊—————!!!!(不知道管不管用)", + { + "type": "animate", + "name": "gantanhao", + "loc": "hero" + }, + { + "type": "showImage2", + "code": 2, + "image": "shaohuyilv.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "setVolume", + "value": 0, + "time": 1000 + }, + "\t[邵虎]有人喊救命.........去看一看吧。", + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "hideImage", + "code": 2, + "time": 0 + }, + { + "type": "setVolume", + "value": 100, + "time": 500 + }, + { + "type": "playBgm", + "name": "xingkong.mp3" } ] }, @@ -1128,18 +1183,24 @@ main.floors.MT13= ], "2,7": [ { - "type": "choices", - "text": "是否跳过剧情", - "choices": [ + "type": "if", + "condition": "(core.isReplaying()||flag:SkipThePlot)", + "true": [ { - "text": "是", - "action": [ - { - "type": "setValue", - "name": "flag:juqing", - "operator": "+=", - "value": "5" - }, + "type": "setValue", + "name": "flag:SkipThePlot", + "value": "false" + }, + { + "type": "setValue", + "name": "flag:juqing", + "operator": "+=", + "value": "5" + }, + { + "type": "if", + "condition": "(!switch:A)", + "true": [ { "type": "follow", "name": "airfollower.png" @@ -1204,1114 +1265,1144 @@ main.floors.MT13= } ], "false": [] - }, - { - "type": "unfollow", - "name": "airfollower.png" - }, - { - "type": "unfollow", - "name": "xiaotou.png" - }, - { - "type": "hide", - "loc": [ - [ - 8, - 8 - ] - ], - "remove": true - }, - { - "type": "function", - "function": "function(){\ncore.status.hero.loc.direction=\"left\";\ncore.drawHero();\n}" - }, - { - "type": "setBlock", - "number": "354", - "loc": [ - [ - 11, - 9 - ] - ] } ] }, { - "text": "否", - "action": [ + "type": "unfollow", + "name": "airfollower.png" + }, + { + "type": "unfollow", + "name": "xiaotou.png" + }, + { + "type": "hide", + "loc": [ + [ + 8, + 8 + ] + ], + "remove": true + }, + { + "type": "function", + "function": "function(){\ncore.status.hero.loc.direction=\"left\";\ncore.drawHero();\n}" + }, + { + "type": "hide", + "loc": [ + [ + 9, + 8 + ] + ], + "remove": true + }, + { + "type": "setBlock", + "number": "354", + "loc": [ + [ + 11, + 9 + ] + ] + } + ], + "false": [ + { + "type": "function", + "function": "function(){\ncore.Confirmskip_On();\n}" + }, + { + "type": "playBgm", + "name": "linghaihuanxin.mp3" + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekedajiao2.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[???]....................", + { + "type": "showImage2", + "code": 1, + "image": "shaohusikao.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + "\t[邵虎]跟我来", + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "hideImage", + "code": 2, + "time": 0 + }, + { + "type": "setValue", + "name": "flag:useS_PASS", + "value": "false" + }, + { + "type": "sleep", + "time": 1000 + }, + { + "type": "follow", + "name": "airfollower.png" + }, + { + "type": "follow", + "name": "xiaotou.png" + }, + { + "type": "hide", + "time": 0 + }, + { + "type": "if", + "condition": "(core.status.hero.loc.direction==\"up\")", + "true": [ { - "type": "playBgm", - "name": "linghaihuanxin.mp3" - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekedajiao2.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[???]....................", - { - "type": "showImage2", - "code": 1, - "image": "shaohusikao.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - "\t[邵虎]跟我来", - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "hideImage", - "code": 2, - "time": 0 - }, - { - "type": "sleep", - "time": 1000 - }, - { - "type": "follow", - "name": "airfollower.png" - }, - { - "type": "follow", - "name": "xiaotou.png" - }, - { - "type": "hide", - "time": 0 - }, - { - "type": "if", - "condition": "(core.status.hero.loc.direction==\"up\")", - "true": [ - { - "type": "moveHero", - "time": 100, - "steps": [ - "down:1", - "right:4", - "up:1", - "right:4" - ] - } - ], - "false": [] - }, - { - "type": "if", - "condition": "(core.status.hero.loc.direction==\"down\")", - "true": [ - { - "type": "moveHero", - "time": 100, - "steps": [ - "right:2", - "down:3", - "right:2", - "up:1", - "right:4" - ] - } - ], - "false": [] - }, - { - "type": "if", - "condition": "(core.status.hero.loc.direction==\"left\")", - "true": [ - { - "type": "moveHero", - "time": 100, - "steps": [ - "right:1", - "down:2", - "right:2", - "up:1", - "right:4" - ] - } - ], - "false": [] - }, - { - "type": "unfollow", - "name": "airfollower.png" - }, - { - "type": "unfollow", - "name": "xiaotou.png" - }, - { - "type": "hide", - "loc": [ - [ - 8, - 8 - ] - ], - "remove": true - }, - { - "type": "setBlock", - "number": "thief", - "loc": [ - [ - 8, - 8 - ] - ] - }, - { - "type": "move", - "loc": [ - 8, - 8 - ], + "type": "moveHero", "time": 100, - "keep": true, "steps": [ - "right:1" - ] - }, - { - "type": "function", - "function": "function(){\ncore.status.hero.loc.direction=\"left\";\ncore.drawHero();\n}" - }, - { - "type": "showImage2", - "code": 1, - "image": "shaohuzixin.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "sleep", - "time": 500 - }, - "\t[邵虎]好了,这里安全了。", - { - "type": "showImage2", - "code": 2, - "image": "jiekedajiao2.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[邵虎]兄弟,你是谁?怎么会在这里?", - { - "type": "sleep", - "time": 500 - }, - "\t[???]............", - { - "type": "showImage2", - "code": 1, - "image": "shaohuyilv.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "sleep", - "time": 500 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekedajiao2.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[邵虎]嘿.........兄弟!?", - { - "type": "sleep", - "time": 500 - }, - "\t[???]............", - { - "type": "showImage2", - "code": 1, - "image": "shaohuxiao.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekedajiao2.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\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": 1000, - "keep": true - }, - { - "type": "sleep", - "time": 1000 - }, - { - "type": "setText", - "position": "center" - }, - "一个小时之后.............", - { - "type": "setCurtain", - "time": 1000 - }, - { - "type": "setText", - "position": "down" - }, - { - "type": "sleep", - "time": 1000 - }, - { - "type": "showImage2", - "code": 1, - "image": "shaohuzixin.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - "\t[邵虎]兄弟,现在觉得好点了吗?", - { - "type": "sleep", - "time": 1000 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekedajiao2.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[???]啊、啊、吓.........吓死我了..........", - "\t[邵虎]兄弟,你是谁?怎么会在这里?", - "\t[???]吓死我了吓死我了........这下非得折寿不可..................", - { - "type": "showImage2", - "code": 1, - "image": "shaohuzixin.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "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": "shaohujinzhang.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekeyilv.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[邵虎]喂我说.........这位兄弟啊.............", - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "hideImage", - "code": 2, - "time": 0 - }, - { - "type": "animate", - "name": "gantanhao", - "loc": [ - 8, - 8 - ] - }, - { - "type": "jump", - "from": [ - 7, - 8 - ], - "to": [ - 7, - 8 - ], - "time": 500, - "keep": true - }, - { - "type": "jump", - "from": [ - 7, - 8 - ], - "to": [ - 7, - 8 - ], - "time": 500, - "keep": true - }, - { - "type": "showImage2", - "code": 1, - "image": "shaohujinzhang.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekezixin.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[???]啊..........不好意思,是您救了我吧..........太感谢您了。不过我劝你赶紧回去哦,这里很危险的。", - { - "type": "showImage2", - "code": 1, - "image": "shaohuzixin.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekezixin.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[邵虎]那你还跑到这么危险的地方。听我说,我现在带你回去,出了天塔就安全了。", - { - "type": "sleep", - "time": 500 - }, - "\t[???]对了对了,我叫杰克,工作是......科研!!虽然是一些很没用的科研,不过也是科研就是了~~!", - { - "type": "showImage2", - "code": 1, - "image": "shaohujinzhang.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekezixin.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "sleep", - "time": 1000 - }, - "\t[邵虎]你......你好我叫邵虎..........(这都哪跟哪啊)", - { - "type": "showImage2", - "code": 1, - "image": "shaohujinzhang.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekeyilv.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "hideImage", - "code": 2, - "time": 0 - }, - { - "type": "sleep", - "time": 1000 - }, - { - "type": "screenFlash", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 500, - "times": 1 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekeyilv.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[杰克]什么什么......你要送我出塔!?", - { - "type": "showImage2", - "code": 1, - "image": "shaohusikao.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "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": "shaohusikao.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekedajiao.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[杰克]不行不行!!这坚决不行!!", - "\t[邵虎]为什么?依我看,这座塔已经被魔物占领了,等我找到我要找的人,就回天枢城叫人清一清塔。你现在必须回去。", - { - "type": "sleep", - "time": 1000 - }, - { - "type": "showImage2", - "code": 1, - "image": "shaohusikao.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekezixin.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[杰克].................", - "\t[邵虎]怎么了?", - "\t[杰克]..........没事。", - "\t[邵虎]那我们走吧。", - { - "type": "sleep", - "time": 500 - }, - "\t[杰克]那个.......老.….老大,你是一个人闯到这里来的?", - { - "type": "sleep", - "time": 500 - }, - "\t[邵虎]难不成还是你送我来的?", - { - "type": "showImage2", - "code": 1, - "image": "shaohuyilv.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "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": 1, - "image": "shaohuyilv.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "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": "shaohuzixin.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 80, - 50, - "291.2", - "466.4" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "showImage2", - "code": 2, - "image": "jiekeyilv.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 350, - 70, - "289.6", - "376.8" - ], - "opacity": 1, - "time": 0 - }, - "\t[邵虎]..........(这小子一个人到这么危险的地方来,偏偏还没有功夫护身,要是放他一人胡来,难免会再有危险.......)", - { - "type": "setVolume", - "value": 0, - "time": 1000, - "async": true - }, - { - "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[杰克]那.....那个......要是说起来可能很长,但是不说明一下...........", - "\t[邵虎]............................", - "\t[杰克]啊啊啊、、抱、抱歉,我这就说~~我这就说啦~~", - "\t[杰克]这个...要从我家说起了........", - { - "type": "sleep", - "time": 500 - }, - "\t[邵虎]听着呢。", - { - "type": "sleep", - "time": 500 - }, - { - "type": "playBgm", - "name": "pastedlovetime.mp3" - }, - { - "type": "setVolume", - "value": 100, - "time": 500, - "async": true - }, - { - "type": "hideImage", - "code": 1, - "time": 0 - }, - { - "type": "hideImage", - "code": 2, - "time": 0 - }, - { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 500, - "keep": true - }, - { - "type": "waitAsync" - }, - { - "type": "changeFloor", - "floorId": "jieke1", - "loc": [ - 0, - 0 - ], - "time": 0 - }, - { - "type": "trigger", - "loc": [ - 1, - 0 + "down:1", + "right:4", + "up:1", + "right:4" ] } + ], + "false": [] + }, + { + "type": "if", + "condition": "(core.status.hero.loc.direction==\"down\")", + "true": [ + { + "type": "moveHero", + "time": 100, + "steps": [ + "right:2", + "down:3", + "right:2", + "up:1", + "right:4" + ] + } + ], + "false": [] + }, + { + "type": "if", + "condition": "(core.status.hero.loc.direction==\"left\")", + "true": [ + { + "type": "moveHero", + "time": 100, + "steps": [ + "right:1", + "down:2", + "right:2", + "up:1", + "right:4" + ] + } + ], + "false": [] + }, + { + "type": "unfollow", + "name": "airfollower.png" + }, + { + "type": "unfollow", + "name": "xiaotou.png" + }, + { + "type": "hide", + "loc": [ + [ + 8, + 8 + ] + ], + "remove": true + }, + { + "type": "setBlock", + "number": "thief", + "loc": [ + [ + 8, + 8 + ] + ] + }, + { + "type": "move", + "loc": [ + 8, + 8 + ], + "time": 100, + "keep": true, + "steps": [ + "right:1" + ] + }, + { + "type": "function", + "function": "function(){\ncore.status.hero.loc.direction=\"left\";\ncore.drawHero();\n}" + }, + { + "type": "setValue", + "name": "switch:A", + "value": "true" + }, + { + "type": "setValue", + "name": "flag:useS_PASS", + "value": "true" + }, + { + "type": "showImage2", + "code": 1, + "image": "shaohuzixin.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "sleep", + "time": 500 + }, + "\t[邵虎]好了,这里安全了。", + { + "type": "showImage2", + "code": 2, + "image": "jiekedajiao2.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[邵虎]兄弟,你是谁?怎么会在这里?", + { + "type": "sleep", + "time": 500 + }, + "\t[???]............", + { + "type": "showImage2", + "code": 1, + "image": "shaohuyilv.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekedajiao2.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[邵虎]嘿.........兄弟!?", + { + "type": "sleep", + "time": 500 + }, + "\t[???]............", + { + "type": "showImage2", + "code": 1, + "image": "shaohuxiao.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekedajiao2.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[邵虎]吓傻了吗?.........好吧,那我就等你缓过来好了。", + { + "type": "function", + "function": "function(){\ncore.Confirmskip_Off();\n}" + }, + { + "type": "sleep", + "time": 500 + }, + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "hideImage", + "code": 2, + "time": 0 + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 1000, + "keep": true + }, + { + "type": "sleep", + "time": 1000 + }, + { + "type": "setText", + "position": "center" + }, + "一个小时之后.............", + { + "type": "setCurtain", + "time": 1000 + }, + { + "type": "setText", + "position": "down" + }, + { + "type": "sleep", + "time": 1000 + }, + { + "type": "showImage2", + "code": 1, + "image": "shaohuzixin.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + "\t[邵虎]兄弟,现在觉得好点了吗?", + { + "type": "sleep", + "time": 1000 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekedajiao2.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[???]啊、啊、吓.........吓死我了..........", + "\t[邵虎]兄弟,你是谁?怎么会在这里?", + "\t[???]吓死我了吓死我了........这下非得折寿不可..................", + { + "type": "showImage2", + "code": 1, + "image": "shaohuzixin.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "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": "shaohujinzhang.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekeyilv.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[邵虎]喂我说.........这位兄弟啊.............", + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "hideImage", + "code": 2, + "time": 0 + }, + { + "type": "animate", + "name": "gantanhao", + "loc": [ + 8, + 8 + ] + }, + { + "type": "jump", + "from": [ + 7, + 8 + ], + "to": [ + 7, + 8 + ], + "time": 500, + "keep": true + }, + { + "type": "jump", + "from": [ + 7, + 8 + ], + "to": [ + 7, + 8 + ], + "time": 500, + "keep": true + }, + { + "type": "showImage2", + "code": 1, + "image": "shaohujinzhang.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekezixin.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[???]啊..........不好意思,是您救了我吧..........太感谢您了。不过我劝你赶紧回去哦,这里很危险的。", + { + "type": "showImage2", + "code": 1, + "image": "shaohuzixin.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekezixin.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[邵虎]那你还跑到这么危险的地方。听我说,我现在带你回去,出了天塔就安全了。", + { + "type": "sleep", + "time": 500 + }, + "\t[???]对了对了,我叫杰克,工作是......科研!!虽然是一些很没用的科研,不过也是科研就是了~~!", + { + "type": "showImage2", + "code": 1, + "image": "shaohujinzhang.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekezixin.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "sleep", + "time": 1000 + }, + "\t[邵虎]你......你好我叫邵虎..........(这都哪跟哪啊)", + { + "type": "showImage2", + "code": 1, + "image": "shaohujinzhang.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekeyilv.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "hideImage", + "code": 2, + "time": 0 + }, + { + "type": "sleep", + "time": 1000 + }, + { + "type": "screenFlash", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 500, + "times": 1 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekeyilv.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[杰克]什么什么......你要送我出塔!?", + { + "type": "showImage2", + "code": 1, + "image": "shaohusikao.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "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": "shaohusikao.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekedajiao.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[杰克]不行不行!!这坚决不行!!", + "\t[邵虎]为什么?依我看,这座塔已经被魔物占领了,等我找到我要找的人,就回天枢城叫人清一清塔。你现在必须回去。", + { + "type": "sleep", + "time": 1000 + }, + { + "type": "showImage2", + "code": 1, + "image": "shaohusikao.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekezixin.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[杰克].................", + "\t[邵虎]怎么了?", + "\t[杰克]..........没事。", + "\t[邵虎]那我们走吧。", + { + "type": "sleep", + "time": 500 + }, + "\t[杰克]那个.......老.….老大,你是一个人闯到这里来的?", + { + "type": "sleep", + "time": 500 + }, + "\t[邵虎]难不成还是你送我来的?", + { + "type": "showImage2", + "code": 1, + "image": "shaohuyilv.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "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": 1, + "image": "shaohuyilv.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "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": "shaohuzixin.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 80, + 50, + "291.2", + "466.4" + ], + "opacity": 1, + "time": 0 + }, + { + "type": "showImage2", + "code": 2, + "image": "jiekeyilv.png", + "sloc": [ + 0, + 0, + null + ], + "loc": [ + 350, + 70, + "289.6", + "376.8" + ], + "opacity": 1, + "time": 0 + }, + "\t[邵虎]..........(这小子一个人到这么危险的地方来,偏偏还没有功夫护身,要是放他一人胡来,难免会再有危险.......)", + { + "type": "setVolume", + "value": 0, + "time": 1000, + "async": true + }, + { + "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[杰克]那.....那个......要是说起来可能很长,但是不说明一下...........", + "\t[邵虎]............................", + "\t[杰克]啊啊啊、、抱、抱歉,我这就说~~我这就说啦~~", + "\t[杰克]这个...要从我家说起了........", + { + "type": "sleep", + "time": 500 + }, + "\t[邵虎]听着呢。", + { + "type": "sleep", + "time": 500 + }, + { + "type": "playBgm", + "name": "pastedlovetime.mp3" + }, + { + "type": "setVolume", + "value": 100, + "time": 500, + "async": true + }, + { + "type": "hideImage", + "code": 1, + "time": 0 + }, + { + "type": "hideImage", + "code": 2, + "time": 0 + }, + { + "type": "setCurtain", + "color": [ + 0, + 0, + 0, + 1 + ], + "time": 500, + "keep": true + }, + { + "type": "waitAsync" + }, + { + "type": "changeFloor", + "floorId": "jieke1", + "loc": [ + 0, + 0 + ], + "time": 0 + }, + { + "type": "trigger", + "loc": [ + 1, + 0 ] } ] diff --git a/project/floors/MT5.js b/project/floors/MT5.js index 1d4dac1..88e4d1b 100644 --- a/project/floors/MT5.js +++ b/project/floors/MT5.js @@ -112,36 +112,8 @@ main.floors.MT5= ], "false": [ { - "type": "showImage2", - "code": 10, - "image": "tiaojuqing.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 700, - 0, - 243, - "71.25" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 400, - 0 - ], - "time": 500 - }, - { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "true" + "type": "function", + "function": "function(){\ncore.Confirmskip_On();\n}" }, { "type": "playBgm", @@ -420,23 +392,8 @@ main.floors.MT5= "time": 0 }, { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "false" - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 700, - 0 - ], - "time": 500 - }, - { - "type": "hideImage", - "code": 10, - "time": 0 + "type": "function", + "function": "function(){\ncore.Confirmskip_Off();\n}" }, { "type": "setVolume", diff --git a/project/floors/MT6.js b/project/floors/MT6.js index fffc911..4984d86 100644 --- a/project/floors/MT6.js +++ b/project/floors/MT6.js @@ -57,36 +57,8 @@ main.floors.MT6= ], "false": [ { - "type": "showImage2", - "code": 10, - "image": "tiaojuqing.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 700, - 0, - 243, - "71.25" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 400, - 0 - ], - "time": 500 - }, - { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "true" + "type": "function", + "function": "function(){\ncore.Confirmskip_On();\n}" }, { "type": "showImage2", @@ -144,23 +116,8 @@ main.floors.MT6= "time": 0 }, { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "false" - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 700, - 0 - ], - "time": 500 - }, - { - "type": "hideImage", - "code": 10, - "time": 0 + "type": "function", + "function": "function(){\ncore.Confirmskip_Off();\n}" } ] }, diff --git a/project/floors/MT7.js b/project/floors/MT7.js index 6dcc344..79907c1 100644 --- a/project/floors/MT7.js +++ b/project/floors/MT7.js @@ -33,36 +33,8 @@ main.floors.MT7= ], "false": [ { - "type": "showImage2", - "code": 10, - "image": "tiaojuqing.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 700, - 0, - 243, - "71.25" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 400, - 0 - ], - "time": 500 - }, - { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "true" + "type": "function", + "function": "function(){\ncore.Confirmskip_On();\n}" }, { "type": "showImage2", @@ -222,23 +194,8 @@ main.floors.MT7= "time": 0 }, { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "false" - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 700, - 0 - ], - "time": 500 - }, - { - "type": "hideImage", - "code": 10, - "time": 0 + "type": "function", + "function": "function(){\ncore.Confirmskip_Off();\n}" } ], "false": [ diff --git a/project/floors/MT9.js b/project/floors/MT9.js index 3fdf132..4ec7da8 100644 --- a/project/floors/MT9.js +++ b/project/floors/MT9.js @@ -51,36 +51,8 @@ main.floors.MT9= ], "false": [ { - "type": "showImage2", - "code": 10, - "image": "tiaojuqing.png", - "sloc": [ - 0, - 0, - null - ], - "loc": [ - 700, - 0, - 243, - "71.25" - ], - "opacity": 1, - "time": 0 - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 400, - 0 - ], - "time": 500 - }, - { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "true" + "type": "function", + "function": "function(){\ncore.Confirmskip_On();\n}" }, { "type": "move", @@ -224,23 +196,8 @@ main.floors.MT9= ] }, { - "type": "setValue", - "name": "flag:useS_PASS", - "value": "false" - }, - { - "type": "moveImage", - "code": 10, - "to": [ - 700, - 0 - ], - "time": 500 - }, - { - "type": "hideImage", - "code": 10, - "time": 0 + "type": "function", + "function": "function(){\ncore.Confirmskip_Off();\n}" } ] }, diff --git a/project/floors/MUDI.js b/project/floors/MUDI.js index 56b75af..e94e2f8 100644 --- a/project/floors/MUDI.js +++ b/project/floors/MUDI.js @@ -452,7 +452,7 @@ main.floors.MUDI= }, { "type": "sleep", - "time": 1000 + "time": 2000 }, { "type": "showImage2", @@ -491,7 +491,8 @@ main.floors.MUDI= }, { "type": "sleep", - "time": 2000 + "time": 2000, + "noSkip": true }, { "type": "setText", @@ -523,6 +524,11 @@ main.floors.MUDI= "type": "playSound", "name": "jiaobusheng.mp3" }, + { + "type": "sleep", + "time": 2000, + "noSkip": true + }, "呼......呼.........", "哈..哈.........", "公主殿下..........汪大哥..........", diff --git a/project/floors/QISHI.js b/project/floors/QISHI.js index dcbeef0..068088b 100644 --- a/project/floors/QISHI.js +++ b/project/floors/QISHI.js @@ -32,9 +32,29 @@ main.floors.QISHI= ], "time": 20 }, + { + "type": "sleep", + "time": 2000, + "noSkip": true + }, "公、公主殿下!!", + { + "type": "sleep", + "time": 2000, + "noSkip": true + }, "...呼...呼........", + { + "type": "sleep", + "time": 2000, + "noSkip": true + }, "公主殿下......您等等我......", + { + "type": "sleep", + "time": 2000, + "noSkip": true + }, { "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}" diff --git a/project/floors/huxiao3.js b/project/floors/huxiao3.js index fa47d5a..6efe31f 100644 --- a/project/floors/huxiao3.js +++ b/project/floors/huxiao3.js @@ -73,6 +73,24 @@ main.floors.huxiao3= "direction": "up", "time": 500 }, + { + "type": "function", + "function": "function(){\ncore.canvas.bg.canvas.style.filter='saturate(100%)';\n}" + }, + { + "type": "setValue", + "name": "flag:Memories_grayscale", + "value": "false" + }, + { + "type": "setGlobalAttribute", + "name": "borderColor", + "value": "204,204,204,1" + }, + { + "type": "function", + "function": "function(){\ncore.maskFliter(500,'013-Square01.png')\n}" + }, { "type": "trigger", "loc": [ diff --git a/project/floors/nandu.js b/project/floors/nandu.js index 5808693..e735d0f 100644 --- a/project/floors/nandu.js +++ b/project/floors/nandu.js @@ -202,7 +202,7 @@ main.floors.nandu= "true": [ { "type": "function", - "function": "function(){\ncore.insertAction([{\n\t\"type\": \"choices\",\n\t\"text\": \"是否选择\" + [\"作弊\", \"简单\", \"中等\", \"困难\", \"噩梦\", \"作弊\"][flags.hard] + \"难度\",\n\t\"choices\": [{\n\t\t\t\"text\": \"是\",\n\t\t\t\"action\": [\n\t\t\t\t{ \"type\": \"break\" },\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t\"text\": \"否\",\n\t\t\t\"action\": [\n\t\t\t\t{ \"type\": \"setValue\", \"name\": \"fla\" + \"g:xuanzhong\", \"value\": \"0\" },\n\t\t\t]\n\t\t},\n\t]\n}, ])\n}" + "function": "function(){\ncore.insertAction([{\n\t\"type\": \"choices\",\n\t\"text\": \"\\\\c[21]是否选择\" + [\"\\r[#ffff80]作弊\", \"\\r[#80ff80]简单\", \"\\r[#8080ff]普通\", \"\\r[#ff80ff]困难\", \"\\r[#ff8080]噩梦\", \"\\r[#ffff80]作弊\"][flags.hard] + \"\\r难度\",\n\t\"choices\": [{\n\t\t\t\"text\": \"是\",\n\t\t\t\"action\": [\n\t\t\t\t{ \"type\": \"break\" },\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t\"text\": \"否\",\n\t\t\t\"action\": [\n\t\t\t\t{ \"type\": \"setValue\", \"name\": \"fla\" + \"g:xuanzhong\", \"value\": \"0\" },\n\t\t\t]\n\t\t},\n\t]\n}, ])\n}" } ], "false": [ diff --git a/project/functions.js b/project/functions.js index 905ae97..fd50424 100644 --- a/project/functions.js +++ b/project/functions.js @@ -1598,22 +1598,28 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = return false; }, "parallelDo": function (timestamp) { - // 并行事件处理,可以在这里写任何需要并行处理的脚本或事件 - // 该函数将被系统反复执行,每次执行间隔视浏览器或设备性能而定,一般约为16.6ms一次 - // 参数timestamp为“从游戏资源加载完毕到当前函数执行时”的时间差,以毫秒为单位 + // 并行事件处理,可以在这里写任何需要并行处理的脚本或事件 + // 该函数将被系统反复执行,每次执行间隔视浏览器或设备性能而定,一般约为16.6ms一次 + // 参数timestamp为“从游戏资源加载完毕到当前函数执行时”的时间差,以毫秒为单位 - // 检查当前是否处于游戏开始状态 - if (!core.isPlaying()) return; + // 检查当前是否处于游戏开始状态 + if (!core.isPlaying()) return; - // 执行当前楼层的并行事件处理 - if (core.status.floorId) { - try { - eval(core.floors[core.status.floorId].parallelDo); - } catch (e) { - console.error(e); - } - } + // 执行当前楼层的并行事件处理 + if (core.status.floorId) { + try { + eval(core.floors[core.status.floorId].parallelDo); + } catch (e) { + console.error(e); } + } + + if (core.getFlag('tiaojuqing_black')) { + core.status.hero.flags.tiaojuqing_black++ + core.setOpacity('tiaojuqing_black', Math.abs(core.status.hero.flags.tiaojuqing_black % 200 * 0.004 - 0.4)); + } + +} }, "ui": { "getToolboxItems": function (cls) { diff --git a/project/plugins.js b/project/plugins.js index 85e7b19..853084e 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -4,9 +4,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = this._afterLoadResources = function () { // 本函数将在所有资源加载完毕后,游戏开启前被执行 } - try { - window.screen.orientation.lock("landscape-primary"); - } catch (e) {} + if (!core.platform.isPC) { + try { + window.screen.orientation.lock("landscape-primary"); + } catch (e) {} + } core.dom.playGame.setAttribute('selected', true); ////游戏第一次打开进入到标题界面时要将光标设置为到playGame @@ -2822,16 +2824,18 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = }, "标题动画": function () { + var start = document.getElementById('startPanel'); var list = []; var id = 0; - - // 标题 - var title = document.getElementById('startTitle'); - core.registerResize('startTitle', function () { - title.style.width = 300 * core.domStyle.scale + 'px'; - title.style.height = 187 * core.domStyle.scale + 'px'; - }); + /* + // 标题 + var title = document.getElementById('startTitle'); + core.registerResize('startTitle', function () { + title.style.width = 300 * core.domStyle.scale + 'px'; + title.style.height = 187 * core.domStyle.scale + 'px'; + }); + */ // 星星动画,使用sprite化方法 function draw() { @@ -3628,15 +3632,18 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = }, "按S跳过剧情": function () { // 在此增加新插件 + + if (core.status.played) return; ////游戏开始后 + core.registerAction('keyDown', "useS_PASS", function (keycode) { /////按下某个键 - if (!core.status.hero.flags.useS_PASS) return false; + if (!core.getFlag('useS_PASS')) return false; }, 100); var _my_useS_PASS = function (keycode) { ////放开某个键 - if (!core.status.hero.flags.useS_PASS) return false; + if (!core.getFlag('useS_PASS')) return false; if (keycode == 83) { ////按下S时 core.Confirmskip(); } @@ -3644,7 +3651,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = core.registerAction('keyUp', 'useS_PASS', _my_useS_PASS, 100); core.registerAction('ondown', 'useS_PASS', function (x, y, px, py) { - if (!core.status.hero.flags.useS_PASS) return false; + if (!core.getFlag('useS_PASS')) return false; if (x >= 7 && y <= 2) { core.Confirmskip(); @@ -3668,13 +3675,13 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = core.registerAction('keyDown', "Confirmskip", function (keycode) { /////按下某个键 - if (!core.status.hero.flags.Confirmskip) return false; + if (!core.getFlag('Confirmskip')) return false; return true; ///全部拦截 }, 100); var _my_Confirmskip = function (keycode) { ////放开某个键 - if (!core.status.hero.flags.Confirmskip) return false; + if (!core.getFlag('Confirmskip')) return false; if ((keycode == 13 || keycode == 32 || keycode == 67)) { ////按下空格\回车\C时 if (core.status.hero.flags.ConfirmskipChoose === 1) { ///选择为跳过剧情 core.ConfirmskipOK(); @@ -3699,7 +3706,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = core.registerAction('keyUp', 'Confirmskip', _my_Confirmskip, 100); core.registerAction('ondown', 'Confirmskip', function (x, y, px, py) { - if (!core.status.hero.flags.Confirmskip) return false; + if (!core.getFlag('Confirmskip')) return false; if (x >= 3 && x <= 6 && y === 6) { if (core.status.hero.flags.ConfirmskipChoose === 0) { @@ -3733,10 +3740,31 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = core.clearMap('Confirmskip_text') core.clearUIEventSelector(1); ////清除光标 core.deleteAllCanvas(); ///清空画布 - core.status.hero.flags.SkipThePlot = true; ////跳过事件开关 + core.status.hero.flags.SkipThePlot = true; ////跳过事件开关开启 core.insertAction({ "type": "exit" }); + if (core.hasAsync()) + core.insertAction({ "type": "stopAsync" }); ///结束异步 core.insertAction({ "type": "insert" }); ///重新触发当前事件 core.doAction(); ///执行下一个事件 + core.status.hero.flags.tiaojuqing_black = 0; ///闪烁开关归0 + } + + core.Confirmskip_On = function () { + core.status.hero.flags.useS_PASS = true; + core.insertCommonEvent('跳过事件图片'); + core.createCanvas('tiaojuqing_black', 0, 0, 480, 480, 151); /// + core.setFilter('tiaojuqing_black', 'brightness(0%)'); + core.setOpacity('tiaojuqing_black', 0); + core.drawImage('tiaojuqing_black', 'tiaojuqing.png', 0, 0, 324, 95, 240, 0, 243, 71); + core.status.hero.flags.tiaojuqing_black = 100; ///闪烁开关,此数值也影响闪烁的明暗,为100时刚刚开始闪烁 + + } + + core.Confirmskip_Off = function () { + core.status.hero.flags.useS_PASS = false; + core.insertCommonEvent('跳过事件图片'); + core.status.hero.flags.tiaojuqing_black = 0; ///闪烁开关归0 + } }