Merge branch 'noAnimate' into hasAnimate

This commit is contained in:
bdf1 2022-11-11 02:30:25 +13:00
commit cc21e5f420
5 changed files with 144 additions and 124 deletions

View File

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

View File

@ -505,15 +505,22 @@ main.floors.MT0=
"time": 3000
},
{
"type": "showImage",
"code": 1,
"type": "showImage2",
"code": 2,
"image": "shaohusikao.png",
"loc": [
"sloc": [
0,
20
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 0
"time": 500
},
{
"type": "sleep",
@ -533,16 +540,11 @@ main.floors.MT0=
"type": "sleep",
"time": 3000
},
"\t[邵虎]我知道你在那里,快给我出来。",
"\t[邵虎]我知道你在那里......快给我出来。",
{
"type": "sleep",
"time": 1000
},
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "playSound",
"name": "magic.mp3",
@ -567,144 +569,162 @@ main.floors.MT0=
"code": 1,
"image": "xianzileng.png",
"loc": [
180,
0
170,
50
],
"opacity": 1,
"time": 0
"time": 500
},
{
"type": "sleep",
"time": 1000
},
"\t[].................",
"\t[???]................",
{
"type": "sleep",
"time": 2000
},
{
"type": "showImage2",
"code": 2,
"image": "shaohuyilv.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]........(女孩子!?)",
{
"type": "sleep",
"time": 2000
},
{
"type": "showImage2",
"code": 2,
"image": "shaohusikao.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]........(漂浮在半空中的女孩子......是妖精吗?)",
{
"type": "sleep",
"time": 1000
},
{
"type": "showImage",
"code": 1,
"image": "xianzi.png",
"loc": [
170,
50
],
"opacity": 1,
"time": 500
},
{
"type": "sleep",
"time": 1000
},
"\t[???]你......你好.........",
"\t[邵虎]........你是谁........",
"\t[???]我是这座塔的守塔仙子........",
"\t[守塔仙子]邵....啊不.....这位勇士,请你回去吧。塔里过于凶险..........",
"\t[邵虎]谢谢你的好意....不过我还是要进去的。",
"\t[守塔仙子]为什么......这座塔并没有什么宝藏,也不值得你来探索......",
"\t[邵虎]仙子,有些事情是不可以选择的。",
"\t[守塔仙子]啊..............",
"\t[邵虎]有些事情是自己必须要去做的......你明白吗?",
"\t[守塔仙子]你.......你是指.........",
"\t[邵虎]我想守护的人和教我怎样守护别人的人在里面,我怕他们有危险,所以我必须走这一趟。",
{
"type": "showImage",
"code": 1,
"image": "xianzileng.png",
"loc": [
170,
50
],
"opacity": 1,
"time": 500
},
"\t[守塔仙子]是吗......(我也......",
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "showImage",
"code": 1,
"image": "shaohuyilv.png",
"type": "animate",
"name": "shenglvehao",
"loc": [
0,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎].............(女孩子!?",
{
"type": "sleep",
"time": 2000
8,
6
]
},
{
"type": "showImage",
"code": 1,
"image": "shaohusikao.png",
"loc": [
0,
20
],
"opacity": 1,
"time": 0
},
"\t[邵虎]...............(漂浮在半空中的女孩子..........是妖精吗?",
{
"type": "sleep",
"time": 1000
},
{
"type": "showImage",
"code": 1,
"image": "shaohusikao.png",
"loc": [
-20,
20
],
"opacity": 1,
"time": 0
},
{
"type": "showImage",
"code": 2,
"image": "xianzi.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
{
"type": "sleep",
"time": 1000
},
"\t[]你......你好........",
"\t[邵虎]............你是谁............",
"\t[守塔仙子]我是这座塔的守塔仙子.............",
"\t[守塔仙子]邵.........啊不........这位勇士,请你回去吧,塔里过于凶险...........",
"\t[邵虎]谢谢你的好意.....不过我还是要进去的。",
"\t[守塔仙子]为什么..........这座塔并没有什么宝藏,也不值得你来探索........",
"\t[邵虎]仙子,有些事情是不可以选择的。",
"\t[守塔仙子]啊.........",
"\t[邵虎]有些事情是自己必须要去做的........你明白吗?",
"\t[守塔仙子]你.....你是指......",
"\t[邵虎]我想守护的人和教我怎样守护别人的人在里面,我怕他们有危险,所以我必须走这一趟。",
{
"type": "showImage",
"code": 2,
"image": "xianzileng.png",
"loc": [
180,
0
170,
50
],
"opacity": 1,
"time": 0
"time": 500
},
"\t[守塔仙子]是吗........(我也....",
"\t[守塔仙子](是为了爱的坚持吗......",
"\t[守塔仙子](我没理由阻拦他呢.......",
{
"type": "showImage",
"code": 2,
"image": "xianziwunai.png",
"loc": [
180,
0
],
"opacity": 1,
"time": 0
},
"\t[守塔仙子]既、既然你一定要进塔的话,一定要小心啊。",
"\t[守塔仙子](我没理由阻拦他呢......",
{
"type": "showImage",
"code": 1,
"image": "shaohuzixin.png",
"loc": [
-20,
20
],
"opacity": 1,
"time": 0
},
{
"type": "showImage",
"code": 2,
"image": "xianziwunai.png",
"loc": [
180,
0
170,
50
],
"opacity": 1,
"time": 0
"time": 500
},
"\t[邵虎]放心。(她好像还有什么想说的?",
"\t[守塔仙子]既、既然你一定要进塔的话,一定要小心啊。",
{
"type": "showImage2",
"code": 2,
"image": "shaohuzixin.png",
"sloc": [
0,
0,
null
],
"loc": [
80,
50,
291,
466
],
"opacity": 1,
"time": 500
},
"\t[邵虎]放心。(她好像还有什么想说的?)",
{
"type": "hideImage",
"code": 1,

View File

@ -656,6 +656,7 @@ main.floors.MUDI=
7,
11
],
"direction": "down",
"time": 0
},
{

View File

@ -8,7 +8,7 @@ main.floors.nandu=
"cannotViewMap": true,
"images": [
{
"name": "nanduxuanze.jpg",
"name": "black.png",
"canvas": "whole",
"x": 0,
"y": 0
@ -19,7 +19,7 @@ main.floors.nandu=
0,
0,
0,
1
0
],
"firstArrive": [
{
@ -63,15 +63,13 @@ main.floors.nandu=
"keep": true
},
{
"type": "setCurtain",
"color": [
0,
0,
0,
0
],
"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['nanduxuanze.jpg'], 0, 0);\n\tif (step == steps) {\n\t\tclearInterval(animate);\n\t}\n}, per_time);\n}"
},
{
"type": "sleep",
"time": 500,
"keep": true
"noSkip": true
},
{
"type": "setValue",
@ -270,6 +268,7 @@ main.floors.nandu=
7,
11
],
"direction": "down",
"time": 0
},
{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 900 KiB