fix the starting scene

This commit is contained in:
bdf1 2022-11-03 02:12:18 +13:00
parent 1948388e36
commit 81880d8f9f
10 changed files with 599 additions and 493 deletions

165
LICENSE Normal file
View File

@ -0,0 +1,165 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.

View File

@ -1 +1 @@
{"viewportLoc":[0,0],"editorLastFloorId":"nandu"} {"viewportLoc":[0,0],"editorLastFloorId":"mishi"}

View File

@ -255,7 +255,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"bear.png", "bear.png",
"bg.jpg", "bg.jpg",
"bg2.jpg", "bg2.jpg",
"biaoti.png", "biaoti.jpg",
"black.png", "black.png",
"brave.png", "brave.png",
"caidan.png", "caidan.png",

View File

@ -838,20 +838,11 @@ main.floors.MT0=
"value": "1" "value": "1"
} }
], ],
"8,11": { "8,11": [
"trigger": "action", {
"enable": true, "type": "if",
"noPass": null, "condition": "flag:debug",
"displayDamage": true, "true": [
"opacity": 1,
"filter": {
"blur": 0,
"hue": 0,
"grayscale": 0,
"invert": false,
"shadow": 0
},
"data": [
{ {
"type": "setValue", "type": "setValue",
"name": "status:hp", "name": "status:hp",
@ -898,7 +889,8 @@ main.floors.MT0=
] ]
} }
] ]
}, }
],
"7,11": [ "7,11": [
{ {
"type": "if", "type": "if",
@ -1067,6 +1059,10 @@ main.floors.MT0=
} }
], ],
"1,2": [ "1,2": [
{
"type": "function",
"function": "function(){\ncore.plugin.donghua();\n}"
},
{ {
"type": "setCurtain", "type": "setCurtain",
"time": 1000 "time": 1000
@ -1077,31 +1073,45 @@ main.floors.MT0=
"keep": true "keep": true
}, },
{ {
"type": "showImage", "type": "showImage2",
"code": 1, "code": 1,
"image": "shaohuliuhan.png", "image": "shaohuliuhan.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
0, 0,
20 50,
291,
466
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
".............", "\t[邵虎]..........",
{ {
"type": "showImage", "type": "showImage2",
"code": 1, "code": 1,
"image": "shaohusikao.png", "image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
0, 0,
20 50,
291,
466
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[邵虎]我已经进到天塔里面来了吗", "\t[邵虎]我已经进到天塔里面来了吗........",
"\t[邵虎]汪大哥和公主殿下都走散了....但愿他们会在一起,公主殿下干万不要出事", "\t[邵虎]汪大哥和公主殿下都走散了......但愿他们会在一起,公主殿下千万不要出事........",
"\t[邵虎]试着进塔找一找吧", "\t[邵虎]试着进塔找一找吧",
{ {
"type": "hideImage", "type": "hideImage",
"code": 1, "code": 1,

View File

@ -6,21 +6,14 @@ main.floors.MUDI=
"canFlyTo": false, "canFlyTo": false,
"canUseQuickShop": true, "canUseQuickShop": true,
"cannotViewMap": true, "cannotViewMap": true,
"images": [ "images": [],
{
"name": "mudi.jpg",
"canvas": "bg",
"x": 0,
"y": 0
}
],
"item_ratio": 1, "item_ratio": 1,
"firstArrive": [], "firstArrive": [],
"events": { "events": {
"1,0": [ "1,0": [
{ {
"type": "playBgm", "type": "playBgm",
"name": "shenye.ogg", "name": "shenye.mp3",
"keep": true "keep": true
}, },
{ {
@ -28,245 +21,227 @@ main.floors.MUDI=
"name": "jiaobusheng.mp3" "name": "jiaobusheng.mp3"
}, },
{ {
"type": "showImage", "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, "code": 1,
"image": "gongzhubaozouxiu.png", "image": "gongzhubaozouxiu.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
160, 330,
50 90,
338,
388
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[公主]喂喂你是故意的吧!?",
"\t[公主]大半夜把我往坟堆里带什么啊啊啊啊!!!",
{ {
"type": "setCurtain", "type": "showImage2",
"color": [
0,
0,
0,
0
],
"time": 500,
"keep": true
},
"\t[公主]喂喂你是故意的吧!?",
"\t[公主]大半夜把我住坟堆里带什么啊啊啊啊!!",
{
"type": "showImage",
"code": 2, "code": 2,
"image": "shaohusikao.png", "image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
-30, 0,
20 50,
291,
466
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
},
"\t[邵虎]很抱歉公主殿下,我是为了看一个人而来的............",
"\t[公主]我管你看谁!?看鬼嘛!!快把我带回去你这死人!!",
"\t[邵虎]公主殿下我...........",
{
"type": "showImage",
"code": 2,
"image": "shaohuyilv.png",
"loc": [
-30,
20
],
"opacity": 1,
"time": 0
}, },
"\t[邵虎]很抱歉公主殿下,我是为了看一个人而来的......",
"\t[公主]我管你看谁!?看鬼嘛!!快把我带回去你这死人!!",
"\t[邵虎]公主殿下我.........",
{ {
"type": "playBgm", "type": "playBgm",
"name": "wangyang.mp3", "name": "wangyang.mp3",
"keep": true "keep": true
}, },
{ {
"type": "sleep", "type": "showImage2",
"time": 500
},
"\t[邵虎]啊........",
{
"type": "showImage",
"code": 1,
"image": "gongzhulianhong.png",
"loc": [
160,
50
],
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 500
},
"\t[公主]汪..........",
{
"type": "showImage",
"code": 2, "code": 2,
"image": "shaohuyilv.png", "image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
-30, 0,
20 50,
291,
466
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[邵虎]啊......",
{ {
"type": "showImage", "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, "code": 1,
"image": "wangyangqianxiao.png", "image": "wangyangqianxiao.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
160, 330,
20 60,
322,
448
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[汪洋]公主殿下,还有小邵。欢来到镇天谷。", "\t[汪洋]公主殿下,还有小邵。欢迎来到镇天谷。",
"\t[汪洋]小邵啊............来看姐姐吗?", "\t[汪洋]小邵啊......来看姐姐吗?",
{ {
"type": "showImage", "type": "showImage2",
"code": 2, "code": 2,
"image": "shaohuzixin.png", "image": "shaohuzixin.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
-30, 0,
20 50,
291,
466
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[邵虎]嗯.......陪姐姐呆一会.........", "\t[邵虎]嗯......陪姐姐呆一会......",
{ {
"type": "showImage", "type": "showImage2",
"code": 1, "code": 1,
"image": "wangyangyouyu.png", "image": "wangyangyouyu.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
160, 330,
20 60,
322,
448
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[汪洋]都怪我啊......如果当时保护好怜儿的话......",
"\t[邵虎]不是邵大哥的错。",
"\t[邵虎]怪我这个当弟弟的,没能......",
{ {
"type": "showImage", "type": "showImage2",
"code": 2,
"image": "shaohuzixin.png",
"loc": [
-30,
20
],
"opacity": 1,
"time": 0
},
"\t[汪洋]都怪我啊..........如果当时保护好怜儿的话...........",
"\t[邵虎]不是汪大哥的错。",
"\t[邵虎]怪我这个当弟弟的,没能.........",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage",
"code": 1,
"image": "wangyangyouyu.png",
"loc": [
160,
20
],
"opacity": 1,
"time": 0
},
{
"type": "showImage",
"code": 2, "code": 2,
"image": "gongzhuzhending.png", "image": "gongzhuzhending.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
-30, 0,
50 90,
319,
390
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[公主]喂,难道这就是邵怜铃姐姐的墓吗?", "\t[公主]喂......难道这就是邵怜姐姐的墓吗?",
"\t[汪洋]嗯,是我亲手把她送到这个安静的地方来的。", "\t[汪洋]嗯,是我亲手把她送到这个安静的地方来的。",
"\t[公主]........", "\t[公主]................",
{ {
"type": "setText", "type": "setText",
"position": "center", "position": "center",
"background": "winskin.png" "background": "winskin.png"
}, },
{ {
"type": "showImage", "type": "function",
"code": 5, "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}"
"image": "mudiheibai.jpg",
"loc": [
0,
0
],
"opacity": 1,
"time": 0
}, },
{
"type": "showImage",
"code": 6,
"image": "wangyangyouyuheibai.png",
"loc": [
160,
20
],
"opacity": 1,
"time": 0
},
{
"type": "showImage",
"code": 7,
"image": "gongzhuzhendingheibai.png",
"loc": [
-30,
50
],
"opacity": 1,
"time": 0
},
"我跪在墓碑前静静的祈祷.............",
{ {
"type": "sleep", "type": "sleep",
"time": 500 "time": 500
}, },
"仿佛又回到了2年前,姐姐在我眼前离开的时候........", "我跪在墓碑前静静的祈祷......",
{ {
"type": "sleep", "type": "sleep",
"time": 500 "time": 500
}, },
"她走的时候,手里还握着帯给弟弟的早点..........", "仿佛又回到了2年前姐姐在我眼前离开的时候...",
{ {
"type": "sleep", "type": "sleep",
"time": 500 "time": 500
}, },
"尽管只是一块面包抹上了一点黄油.............", "她走的时候,手里还握着带给弟弟的早点......",
{ {
"type": "sleep", "type": "sleep",
"time": 500 "time": 500
}, },
"但对我来说.........那就像是我最后一餐一般........", "尽管只是一块面包抹上了一点黄油......",
{ {
"type": "sleep", "type": "sleep",
"time": 500 "time": 500
}, },
"那天她笑着推开门...........", "但对我来说......那就像是我最后一餐一般....",
{ {
"type": "sleep", "type": "sleep",
"time": 500 "time": 500
}, },
"亲切的呼唤着我的名字............", "那天她笑着推开门......",
{ {
"type": "sleep", "type": "sleep",
"time": 500 "time": 500
}, },
"我也开心的跑到门前..........", "亲切的呼唤着我的名字......我也开心的跑到门前.......",
{ {
"type": "sleep", "type": "sleep",
"time": 500 "time": 500
@ -276,296 +251,247 @@ main.floors.MUDI=
"type": "sleep", "type": "sleep",
"time": 500 "time": 500
}, },
"他们什么也没说.......我只看见早餐掉落在地上......姐姐看我那不舍的眼神.......和滴在地上鲜红的血......", "他们什么也没说......我只看见早餐掉落在地上......姐姐看我那不舍的眼神......和滴在地上鲜红的血......",
{ {
"type": "sleep", "type": "sleep",
"time": 500 "time": 500
}, },
"直到如今........我依然不敢正视那一幕.........", "直到如今......我依然不敢正视那一幕.......",
{ {
"type": "sleep", "type": "sleep",
"time": 500 "time": 500
}, },
{
"type": "hideImage",
"code": 5,
"time": 0
},
{
"type": "hideImage",
"code": 6,
"time": 0
},
{ {
"type": "setText", "type": "setText",
"position": "down", "position": "down",
"background": "winskin.png" "background": "winskin.png"
}, },
{ {
"type": "hideImage", "type": "function",
"code": 7, "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}"
"time": 0 },
{
"type": "sleep",
"time": 500
}, },
"\t[汪洋]公主殿下。", "\t[汪洋]公主殿下。",
{ {
"type": "showImage", "type": "showImage2",
"code": 1,
"image": "wangyangyouyu.png",
"loc": [
160,
20
],
"opacity": 1,
"time": 0
},
{
"type": "showImage",
"code": 2, "code": 2,
"image": "gongzhulianhong.png", "image": "gongzhulianhong.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
-30, 0,
50 90,
319,
390
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[公主]..........啊...........嗯嗯?、怎么了!?", "\t[公主]........啊.....嗯嗯?、怎么了!?",
"\t[汪洋]公主殿下请跟我回去吧.........你父王一定很着急的......", "\t[汪洋]公主殿下请跟我回去吧......你父王一定很着急的......",
{ {
"type": "showImage", "type": "showImage2",
"code": 1,
"image": "wangyangyouyu.png",
"loc": [
160,
20
],
"opacity": 1,
"time": 0
},
{
"type": "showImage",
"code": 2, "code": 2,
"image": "gongzhujiao.png", "image": "gongzhujiao.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
-30, 0,
50 90,
319,
390
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[公主]连.........连你也这么说么...........", "\t[公主]连......连你也这么说么......",
"\t[汪洋]天塔过于危险...公主殿下若是执意要去,能不能安全的回来还说不定,就算抵上我和邵护卫的性命。", "\t[汪洋]天塔过于危险......公主殿下若是执意要去,能不能安全的回来还说不定就算抵上我和邵护卫的性命。",
"\t[公主]我......................................", "\t[公主]我......我......我......",
{ {
"type": "showImage", "type": "showImage2",
"code": 1,
"image": "wangyangyouyu.png",
"loc": [
160,
20
],
"opacity": 1,
"time": 0
},
{
"type": "showImage",
"code": 2, "code": 2,
"image": "shaohusikao.png", "image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
-30, 0,
20 50,
291,
466
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[邵虎]汪大哥......对不起...........给你添乱了.....", "\t[邵虎]汪大哥......对不起......给你添乱了..",
"\t[汪洋]没关系的.........我懂你的意思.....如果是怜儿还在......我也会随她任性吧.......", "\t[汪洋]没关系的......我懂你的意思......如果是怜儿还在......我也会随她任性吧......",
"\t[邵虎]汪大哥......我.........", "\t[邵虎]汪大哥......我......",
{ {
"type": "showImage", "type": "showImage2",
"code": 1, "code": 1,
"image": "wangyangqianxiao.png", "image": "wangyangqianxiao.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
160, 330,
20 60,
322,
448
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[汪洋]算了......小邵,我们一起走吧。",
{ {
"type": "showImage", "type": "showImage2",
"code": 2,
"image": "shaohusikao.png",
"loc": [
-30,
20
],
"opacity": 1,
"time": 0
},
"\t[汪洋]算了......小邵,我们一起走吧。",
{
"type": "showImage",
"code": 1,
"image": "wangyangqianxiao.png",
"loc": [
160,
20
],
"opacity": 1,
"time": 0
},
{
"type": "showImage",
"code": 2, "code": 2,
"image": "shaohuyilv.png", "image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
-30, 0,
20 50,
291,
466
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[邵虎]啊..........", "\t[邵虎]啊......",
"\t[汪洋]你其实也是想满足公主殿下的愿望的吧?也不想留下遗憾...............就算不能在一起也......", "\t[汪洋]你其实也是想满足公主殿下的愿望的吧......不想留下遗憾......就算不能在一起也......",
{ {
"type": "hideImage", "type": "showImage2",
"code": 1,
"time": 0
},
{
"type": "showImage",
"code": 1,
"image": "wangyangqianxiao.png",
"loc": [
160,
20
],
"opacity": 1,
"time": 0
},
{
"type": "showImage",
"code": 2, "code": 2,
"image": "shaohuxiao.png", "image": "shaohuxiao.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
-30, 0,
20 50,
291,
466
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[邵虎]哈.........", "\t[邵虎]哈........",
{ {
"type": "hideImage", "type": "showImage2",
"code": 1,
"time": 0
},
{
"type": "showImage",
"code": 1,
"image": "wangyangqianxiao.png",
"loc": [
160,
20
],
"opacity": 1,
"time": 0
},
{
"type": "showImage",
"code": 2, "code": 2,
"image": "gongzhujiao.png", "image": "gongzhujiao.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
-30, 0,
50 90,
319,
390
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[公主]你.........你们都在说什么啊.......我怎么一句没听懂........", "\t[公主]你......你们都在说什么啊......我怎么一句没听懂......",
"\t[公主]我.........我真的..........", "\t[公主]我......我真的........",
"\t[汪洋]公主殿下,我们两个陪你一起去........你看好不好?", "\t[汪洋]公主殿下......我们两个陪你一起去......你看好不好?",
"\t[汪洋]放心吧,我们两个的实力你大可放心。不会让公主出问题的。", "\t[公主]..........诶?",
"\t[汪洋]放心吧,我们两个的实力你大可放心。不会让公主出问题的。",
{ {
"type": "hideImage", "type": "showImage2",
"code": 1,
"time": 0
},
{
"type": "showImage",
"code": 1,
"image": "wangyangqianxiao.png",
"loc": [
160,
20
],
"opacity": 1,
"time": 0
},
{
"type": "showImage",
"code": 2, "code": 2,
"image": "gongzhulianhong.png", "image": "gongzhulianhong.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
-30, 0,
50 90,
319,
390
], ],
"opacity": 1, "opacity": 1,
"time": 0 "time": 500
}, },
"\t[公主]出...出问题...........", "\t[公主]出....出问题.......",
"\t[公主](不是吧.........)", "\t[公主](不是吧......",
"\t[汪洋]嗯嗯,走吧公主殿下。", "\t[汪洋]嗯嗯,走吧公主殿下。",
"\t[公主]啊,汪大哥等等我!!",
{ {
"type": "hideImage", "type": "hideImage",
"code": 1, "code": 1,
"time": 500, "time": 500
"async": true
}, },
"\t[公主]啊汪大哥等等我!!",
{ {
"type": "hideImage", "type": "hideImage",
"code": 2, "code": 2,
"time": 500 "time": 500
}, },
{ {
"type": "showImage", "type": "sleep",
"code": 1, "time": 1000
},
{
"type": "showImage2",
"code": 2,
"image": "shaohuzixin.png", "image": "shaohuzixin.png",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
0, 0,
20 50,
291,
466
], ],
"opacity": 1, "opacity": 1,
"time": 500 "time": 500
}, },
"\t[邵虎]姐姐............保重..............", "\t[邵虎]姐姐............保重..............",
{
"type": "waitAsync"
},
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 500,
"keep": true
},
{ {
"type": "hideImage", "type": "hideImage",
"code": 1, "code": 2,
"time": 0 "time": 500
}, },
{ {
"type": "pauseBgm" "type": "pauseBgm"
}, },
{ {
"type": "playSound", "type": "function",
"name": "item.mp3" "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", "type": "setText",
@ -582,17 +508,25 @@ main.floors.MUDI=
"name": "jiaobusheng.mp3" "name": "jiaobusheng.mp3"
}, },
{ {
"type": "playSound", "type": "sleep",
"name": "jiaobusheng.mp3" "time": 500
}, },
{ {
"type": "playSound", "type": "playSound",
"name": "jiaobusheng.mp3" "name": "jiaobusheng.mp3"
}, },
"呼......呼......", {
"type": "sleep",
"time": 500
},
{
"type": "playSound",
"name": "jiaobusheng.mp3"
},
"呼......呼.........",
"哈..哈.........", "哈..哈.........",
"公主殿下..........汪大哥..........", "公主殿下..........汪大哥..........",
"你们到哪里去了啊…..............", "你们到哪里去了啊..............",
{ {
"type": "setText", "type": "setText",
"position": "down", "position": "down",
@ -618,6 +552,10 @@ main.floors.MUDI=
"type": "playSound", "type": "playSound",
"name": "084-Monster06.ogg" "name": "084-Monster06.ogg"
}, },
{
"type": "playSound",
"name": "jiaobusheng.mp3"
},
{ {
"type": "playSound", "type": "playSound",
"name": "081-Monster03.ogg" "name": "081-Monster03.ogg"
@ -639,18 +577,21 @@ main.floors.MUDI=
"keep": true "keep": true
}, },
{ {
"type": "showImage", "type": "showImage2",
"code": 1, "code": 1,
"image": "yecheng.jpg", "image": "yecheng.jpg",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
0, 0,
-78 -410,
751,
893
], ],
"opacity": 1, "opacity": 1,
"time": 0
},
{
"type": "setCurtain",
"time": 500 "time": 500
}, },
{ {
@ -672,12 +613,19 @@ main.floors.MUDI=
"time": 1000 "time": 1000
}, },
{ {
"type": "showImage", "type": "showImage2",
"code": 2, "code": 2,
"image": "biaoti.png", "image": "biaoti.jpg",
"sloc": [
0,
0,
null
],
"loc": [ "loc": [
0, 0,
0 0,
751,
893
], ],
"opacity": 1, "opacity": 1,
"time": 1000 "time": 1000
@ -687,25 +635,14 @@ main.floors.MUDI=
"time": 1000 "time": 1000
}, },
{ {
"type": "setCurtain", "type": "hideImage",
"color": [ "code": 2,
0, "time": 500
0,
0,
1
],
"time": 500,
"keep": true
}, },
{ {
"type": "hideImage", "type": "hideImage",
"code": 1, "code": 1,
"time": 0 "time": 500
},
{
"type": "hideImage",
"code": 2,
"time": 0
}, },
{ {
"type": "playBgm", "type": "playBgm",

View File

@ -37,7 +37,7 @@ main.floors.QISHI=
"公主殿下......您等等我......", "公主殿下......您等等我......",
{ {
"type": "function", "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 = 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}" "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": "sleep", "type": "sleep",
@ -116,7 +116,7 @@ main.floors.QISHI=
"\t[公主]不用你管。", "\t[公主]不用你管。",
{ {
"type": "function", "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 = 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}" "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", "type": "sleep",
@ -145,7 +145,7 @@ main.floors.QISHI=
}, },
{ {
"type": "function", "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 = 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}" "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", "type": "sleep",
@ -235,7 +235,7 @@ main.floors.QISHI=
"\t[邵虎]你开心就好......那我们走吧......", "\t[邵虎]你开心就好......那我们走吧......",
{ {
"type": "function", "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 = 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}" "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", "type": "sleep",
@ -254,7 +254,7 @@ main.floors.QISHI=
"只是她恋慕的心早已经有了明确的指向......", "只是她恋慕的心早已经有了明确的指向......",
{ {
"type": "function", "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 = 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}" "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", "type": "sleep",
@ -326,7 +326,7 @@ main.floors.QISHI=
"\t[邵虎].............", "\t[邵虎].............",
{ {
"type": "function", "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 = 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}" "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", "type": "sleep",
@ -343,7 +343,7 @@ main.floors.QISHI=
"他曾经有过一段恋情,和我相依为命的姐姐。", "他曾经有过一段恋情,和我相依为命的姐姐。",
{ {
"type": "function", "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 = 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}" "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", "type": "sleep",
@ -401,6 +401,10 @@ main.floors.QISHI=
"\t[邵虎]诶.~~~~~诶!!?", "\t[邵虎]诶.~~~~~诶!!?",
"\t[邵虎](也好,这里肯定是比天塔安全得多......", "\t[邵虎](也好,这里肯定是比天塔安全得多......",
"\t[邵虎]那我们走吧公主殿下,会碰上汪大哥也说不定。", "\t[邵虎]那我们走吧公主殿下,会碰上汪大哥也说不定。",
{
"type": "function",
"function": "function(){\ncore.dom.wholeCtx.fillRect(0,0,core.dom.whole.width,core.dom.whole.height)\n}"
},
{ {
"type": "hideImage", "type": "hideImage",
"code": 1, "code": 1,
@ -411,17 +415,6 @@ main.floors.QISHI=
"code": 2, "code": 2,
"time": 0 "time": 0
}, },
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 500,
"keep": true
},
{ {
"type": "changeFloor", "type": "changeFloor",
"floorId": "MUDI", "floorId": "MUDI",

View File

@ -243,27 +243,6 @@ main.floors.nandu=
"type": "choices", "type": "choices",
"text": "是否跳过开始剧情", "text": "是否跳过开始剧情",
"choices": [ "choices": [
{
"text": "否",
"action": [
{
"type": "changeFloor",
"floorId": "QISHI",
"loc": [
0,
0
],
"time": 0
},
{
"type": "trigger",
"loc": [
1,
0
]
}
]
},
{ {
"text": "是", "text": "是",
"action": [ "action": [
@ -292,6 +271,27 @@ main.floors.nandu=
"keep": true "keep": true
} }
] ]
},
{
"text": "否",
"action": [
{
"type": "changeFloor",
"floorId": "QISHI",
"loc": [
0,
0
],
"time": 0
},
{
"type": "trigger",
"loc": [
1,
0
]
}
]
} }
] ]
} }

View File

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

View File

@ -1980,6 +1980,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
} }
this.donghua = function () { this.donghua = function () {
if (core.status.floorId == "MT0") { if (core.status.floorId == "MT0") {
if (core.isReplaying()) {setTimeout(core.plugin.donghua, 100); return;}
core.setFlag("linshi", core.drawAnimate("jingu", 10, 10, false, function () { core.setFlag("linshi", core.drawAnimate("jingu", 10, 10, false, function () {
core.plugin.donghua(); core.plugin.donghua();