地图同步
This commit is contained in:
commit
0623190279
@ -1061,18 +1061,18 @@ return code+',\n';
|
||||
*/;
|
||||
|
||||
cgtext_s
|
||||
: '背景' EvalString? '头像' EvalString?'名字' EvalString?'坐标PX' Number'打字间隔' Int? BGNL? Newline
|
||||
EvalString BGNL? Newline textcgDrawingList* Newline
|
||||
: '背景' EvalString? '移除对话框' Bool? '头像' EvalString?'名字' EvalString?'坐标PX' Number'打字间隔' Int? BGNL? Newline
|
||||
EvalString? BGNL? Newline textcgDrawingList*? Newline
|
||||
|
||||
|
||||
/* cgtext_s
|
||||
tooltip : cgtext:显示一段包含cg的文字(剧情)
|
||||
helpUrl : /_docs/#/instruction
|
||||
allImages : ['EvalString_0','EvalString_1']
|
||||
default : ["bg_5043.png","face_050445.png","菲奥奈",-300,0,"这句话显示在对话框内",[{ "name":"tati_050145a.png" , "px": 100,"filter":false }]]
|
||||
default : ["bg_5043.png","face_050445.png",false,"菲奥奈",-300,0,"这句话显示在对话框内",[{ "name":"tati_050145a.png" , "px": 100,"filter":false }]]
|
||||
var head ='{ "name": "'+EvalString_1+'", "px": '+Number_0+' }'
|
||||
var list=',"bodyList": [\n'+textcgDrawingList_0+'\n]'
|
||||
var code = '{"type": "cgtext", "bg":"'+EvalString_0+'","head":'+head+' ,"name":"'+EvalString_2+'","time":'+Int_0+',"text": "'+EvalString_3+'"'+list+' },\n';
|
||||
var code = '{"type": "cgtext", "bg":"'+EvalString_0+'","WindowSkin":'+Bool_0+',"head":'+head+' ,"name":"'+EvalString_2+'","time":'+Int_0+',"text": "'+EvalString_3+'"'+list+' },\n';
|
||||
return code;
|
||||
*/;
|
||||
textcgDrawingList
|
||||
@ -1080,7 +1080,7 @@ textcgDrawingList
|
||||
| textcgDrawingEmpty;
|
||||
|
||||
textcgDrawing
|
||||
: '立绘' EvalString '绘制坐标' 'x' Number '变暗'Bool? Newline
|
||||
: '立绘' EvalString? '绘制坐标' 'x' Number '变暗'Bool? Newline
|
||||
|
||||
/* textcgDrawing
|
||||
tooltip : 立绘
|
||||
@ -1872,16 +1872,16 @@ return code;
|
||||
*/;
|
||||
|
||||
drawWarning_s
|
||||
: '警告坐标x' PosString 'y' PosString '警告内容' EvalString? '副标题' EvalString? '不播放音效' Bool? Newline
|
||||
: '警告坐标x' PosString 'y' PosString '文字大小'Int '警告内容' EvalString? '副标题' EvalString? '不播放音效' Bool? Newline
|
||||
|
||||
|
||||
/* drawWarning_s
|
||||
tooltip : drawWarning: 绘制warning警告并拉进镜头,本事件为异步事件,下一事件将在3100ms后执行
|
||||
helpUrl : /_docs/#/instruction
|
||||
default : [0, 0,"这里是提示内容","绿色史莱姆",false]
|
||||
default : [0, 0,24,"这里是提示内容","绿色史莱姆",false]
|
||||
colour : this.soundColor
|
||||
selectPoint : ["PosString_0", "PosString_1"]
|
||||
var code = '{"type": "drawWarning", "x": '+PosString_0+', "y": '+PosString_1+', "text": "'+EvalString_0+'", "text2": "'+EvalString_1+'", "warning": '+Bool_0+'},\n';
|
||||
var code = '{"type": "drawWarning", "x": '+PosString_0+', "y": '+PosString_1+',"size":'+Int_0+',"text": "'+EvalString_0+'", "text2": "'+EvalString_1+'", "warning": '+Bool_0+'},\n';
|
||||
return code;
|
||||
*/;
|
||||
|
||||
|
@ -315,7 +315,7 @@ ActionParser.prototype.parseAction = function() {
|
||||
return res;
|
||||
}
|
||||
this.next = MotaActionBlocks['cgtext_s'].xmlText([
|
||||
data.bg, data.head.name, data.name||"", data.head.px||-300,data.time, data.text,buildcgDrawing(data.bodyList), this.next]);
|
||||
data.bg,data.WindowSkin,data.head.name, data.name||"", data.head.px||-300,data.time, data.text,buildcgDrawing(data.bodyList), this.next]);
|
||||
|
||||
break;
|
||||
case "moveTextBox": // 移动对话框
|
||||
@ -1005,7 +1005,7 @@ ActionParser.prototype.parseAction = function() {
|
||||
case "drawWarning":
|
||||
|
||||
this.next = MotaActionBlocks['drawWarning_s'].xmlText([
|
||||
data.x,data.y,data?.text,data?.text2,data?.warning,this.next]);
|
||||
data.x,data.y,data.size,data?.text,data?.text2,data?.warning,this.next]);
|
||||
break;
|
||||
case "changeMouse":
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -110,6 +110,12 @@ var plugins_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
||||
"_type": "textarea",
|
||||
"_range": "typeof(thiseval)=='string' || thiseval==null",
|
||||
"_data": "实用函数集"
|
||||
},
|
||||
"warning": {
|
||||
"_leaf": true,
|
||||
"_type": "textarea",
|
||||
"_range": "typeof(thiseval)=='string' || thiseval==null",
|
||||
"_data": "警告消息"
|
||||
}
|
||||
}
|
||||
if (obj[key]) return obj[key];
|
||||
|
@ -2,29 +2,19 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
{
|
||||
"main": {
|
||||
"floorIds": [
|
||||
"MT0",
|
||||
"MT1",
|
||||
"MT2",
|
||||
"MT3",
|
||||
"MT4",
|
||||
"MT5",
|
||||
"MT6",
|
||||
"MT7",
|
||||
"MT8",
|
||||
"MT9",
|
||||
"MT10",
|
||||
"MT11",
|
||||
"Caimhome",
|
||||
"jiuguan",
|
||||
"KTV",
|
||||
"D01",
|
||||
"KTVF2",
|
||||
"goldkey",
|
||||
"bihusuo",
|
||||
"jiaotang",
|
||||
"shengnvhome",
|
||||
"shinvhome",
|
||||
"jiedao"
|
||||
"jiedao",
|
||||
"street01",
|
||||
"street02",
|
||||
"guangchang"
|
||||
],
|
||||
"floorPartitions": [],
|
||||
"images": [
|
||||
|
@ -1,54 +0,0 @@
|
||||
main.floors.D01=
|
||||
{
|
||||
"floorId": "D01",
|
||||
"title": "牢狱01",
|
||||
"name": "1",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
|
||||
[140, 0, 0, 0, 0, 0, 0, 83, 0, 22, 22, 22,140],
|
||||
[140, 0,140,140,140,140, 0,140,140,140,140,140,140],
|
||||
[140, 0, 0, 0, 0, 81, 0, 82, 82, 82, 0, 23,140],
|
||||
[140, 0,140,140,140,140, 0,140,140,140,140,140,140],
|
||||
[140, 0, 0,140,140,140, 0, 82, 0, 21, 21, 21,140],
|
||||
[140, 0, 0,140,140,140, 0,140,140,140,140,140,140],
|
||||
[140,140, 81,140,140,140, 0, 82, 0, 0, 0, 0,140],
|
||||
[140, 0, 0, 0, 0, 82, 0,140,140,140,140,140,140],
|
||||
[140, 0,140,140, 0,140, 0, 81, 81, 81, 0, 22,140],
|
||||
[140, 0,140, 0, 0,140, 0,140,140,140,140,140,140],
|
||||
[140, 0, 0, 0, 0,140, 0, 81, 0, 0, 0, 0,140],
|
||||
[140,140,140,140,140,140, 0,140,140,140,140,140,140]
|
||||
],
|
||||
"areas": "牢狱",
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
main.floors.MT0=
|
||||
{
|
||||
"floorId": "MT0",
|
||||
"title": "主塔 0 层",
|
||||
"name": "0",
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"defaultGround": "ground",
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"map": [
|
||||
[ 89, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"firstArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"0,0": [
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "MT8",
|
||||
"loc": [
|
||||
12,
|
||||
12
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"changeFloor": {
|
||||
"12,6": {
|
||||
"floorId": "MT3",
|
||||
"loc": [
|
||||
0,
|
||||
6
|
||||
]
|
||||
},
|
||||
"6,12": {
|
||||
"floorId": "MT1",
|
||||
"loc": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"cannotMove": {},
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"autoEvent": {},
|
||||
"beforeBattle": {},
|
||||
"cannotMoveIn": {},
|
||||
"areas": "牢狱"
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
main.floors.MT1=
|
||||
{
|
||||
"floorId": "MT1",
|
||||
"title": "主塔 1 层",
|
||||
"name": "1",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"6,0": {
|
||||
"floorId": "MT0",
|
||||
"loc": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
},
|
||||
"12,6": {
|
||||
"floorId": "MT2",
|
||||
"loc": [
|
||||
0,
|
||||
6
|
||||
]
|
||||
},
|
||||
"0,6": {
|
||||
"floorId": "MT4",
|
||||
"loc": [
|
||||
12,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0,205, 0, 0, 0, 0],
|
||||
[ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0,211, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"areas": "牢狱"
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
main.floors.MT10=
|
||||
{
|
||||
"floorId": "MT10",
|
||||
"title": "主塔 10 层",
|
||||
"name": "10",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"6,12": {
|
||||
"floorId": "MT9",
|
||||
"loc": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
},
|
||||
"6,0": {
|
||||
"floorId": "MT11",
|
||||
"loc": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"areas": "下层"
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
main.floors.MT11=
|
||||
{
|
||||
"floorId": "MT11",
|
||||
"title": "主塔 11 层",
|
||||
"name": "11",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"6,12": {
|
||||
"floorId": "MT10",
|
||||
"loc": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"areas": "下层"
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
main.floors.MT2=
|
||||
{
|
||||
"floorId": "MT2",
|
||||
"title": "主塔 2 层",
|
||||
"name": "2",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"6,0": {
|
||||
"floorId": "MT3",
|
||||
"loc": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
},
|
||||
"0,6": {
|
||||
"floorId": "MT1",
|
||||
"loc": [
|
||||
12,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"areas": "牢狱",
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
main.floors.MT3=
|
||||
{
|
||||
"floorId": "MT3",
|
||||
"title": "主塔 3 层",
|
||||
"name": "3",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"6,12": {
|
||||
"floorId": "MT2",
|
||||
"loc": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
},
|
||||
"0,6": {
|
||||
"floorId": "MT0",
|
||||
"loc": [
|
||||
12,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 92, 0, 0, 0, 0, 0, 0, 0,206, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"areas": "牢狱"
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
main.floors.MT4=
|
||||
{
|
||||
"floorId": "MT4",
|
||||
"title": "主塔 4 层",
|
||||
"name": "4",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"12,6": {
|
||||
"floorId": "MT1",
|
||||
"loc": [
|
||||
0,
|
||||
6
|
||||
]
|
||||
},
|
||||
"0,6": {
|
||||
"floorId": "MT5",
|
||||
"loc": [
|
||||
0,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 87, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"areas": "牢狱"
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
main.floors.MT5=
|
||||
{
|
||||
"floorId": "MT5",
|
||||
"title": "主塔 5 层",
|
||||
"name": "5",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"7,7": [
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "MT6",
|
||||
"loc": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"changeFloor": {
|
||||
"0,6": {
|
||||
"floorId": "MT4",
|
||||
"loc": [
|
||||
0,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 89, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"areas": "牢狱"
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
main.floors.MT6=
|
||||
{
|
||||
"floorId": "MT6",
|
||||
"title": "主塔 6 层",
|
||||
"name": "6",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"6,12": [
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "MT5",
|
||||
"loc": [
|
||||
7,
|
||||
7
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"changeFloor": {},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 89, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"areas": "研究所",
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
main.floors.MT7=
|
||||
{
|
||||
"floorId": "MT7",
|
||||
"title": "主塔 7 层",
|
||||
"name": "7",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"12,6": {
|
||||
"floorId": "MT8",
|
||||
"loc": [
|
||||
0,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"areas": "下层",
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
main.floors.MT8=
|
||||
{
|
||||
"floorId": "MT8",
|
||||
"title": "主塔 8 层",
|
||||
"name": "8",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"12,12": [
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "MT0",
|
||||
"loc": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"changeFloor": {
|
||||
"0,6": {
|
||||
"floorId": "MT7",
|
||||
"loc": [
|
||||
12,
|
||||
6
|
||||
]
|
||||
},
|
||||
"6,0": {
|
||||
"floorId": "MT9",
|
||||
"loc": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"areas": "下层"
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
main.floors.MT9=
|
||||
{
|
||||
"floorId": "MT9",
|
||||
"title": "主塔 9 层",
|
||||
"name": "9",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"6,0": {
|
||||
"floorId": "MT10",
|
||||
"loc": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
},
|
||||
"6,12": {
|
||||
"floorId": "MT8",
|
||||
"loc": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"areas": "下层",
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
63
project/floors/guangchang.js
Normal file
63
project/floors/guangchang.js
Normal file
@ -0,0 +1,63 @@
|
||||
main.floors.guangchang=
|
||||
{
|
||||
"floorId": "guangchang",
|
||||
"title": "牢狱01",
|
||||
"name": "1",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass2",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"12,6": {
|
||||
"floorId": "street02",
|
||||
"loc": [
|
||||
0,
|
||||
6
|
||||
],
|
||||
"direction": "right"
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,141],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,141],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,141],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,141],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,140],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,140],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,141],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,141],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,141],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,141]
|
||||
],
|
||||
"areas": "牢狱",
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
@ -16,43 +16,15 @@ main.floors.jiuguan=
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"4,6": [
|
||||
"4,12": [
|
||||
{
|
||||
"type": "drawWarning",
|
||||
"x": 9,
|
||||
"y": 5,
|
||||
"text": "本区域领袖",
|
||||
"text2": "绿色史莱姆",
|
||||
"warning": false
|
||||
},
|
||||
{
|
||||
"type": "playStereo",
|
||||
"name": "item.mp3",
|
||||
"left": 1,
|
||||
"right": 6,
|
||||
"split": true
|
||||
},
|
||||
{
|
||||
"type": "move",
|
||||
"type": "changeFloor",
|
||||
"floorId": "street01",
|
||||
"loc": [
|
||||
9,
|
||||
5
|
||||
8,
|
||||
4
|
||||
],
|
||||
"time": 500,
|
||||
"keep": true,
|
||||
"steps": [
|
||||
"up:1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "moveStereo",
|
||||
"name": "jingbao.mp3",
|
||||
"left": 4,
|
||||
"right": 10,
|
||||
"split": true,
|
||||
"leftTo": 10,
|
||||
"rightTo": 4,
|
||||
"time": 2000
|
||||
"direction": "down"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -147,5 +119,11 @@ main.floors.jiuguan=
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
@ -1,259 +0,0 @@
|
||||
main.floors.sample0=
|
||||
{
|
||||
"floorId": "sample0",
|
||||
"title": "样板 0 层",
|
||||
"name": "0",
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"defaultGround": "ground",
|
||||
"images": [],
|
||||
"bgm": "bgm.mp3",
|
||||
"ratio": 1,
|
||||
"map": [
|
||||
[ 0, 0,220, 0, 0, 20, 87, 3, 58, 59, 60, 61, 64],
|
||||
[ 0,246, 0,246, 0, 20, 0, 3, 57, 72, 63, 43, 44],
|
||||
[219, 0, 0, 0,219, 20, 0, 3, 53, 54, 55, 56, 69],
|
||||
[ 20, 20,125, 20, 20, 20, 0, 3, 49, 50, 51, 52, 68],
|
||||
[251,247,256,234,248, 6, 0, 3, 35, 36, 46, 47, 48],
|
||||
[ 6, 6,125, 6, 6, 6, 0, 3, 0, 0, 0, 0, 0],
|
||||
[208,227,212,216,278, 5, 0, 1, 1, 1,319, 1, 1],
|
||||
[201,205,217,215,224, 5, 0, 1, 27, 28, 29, 30, 31],
|
||||
[ 5, 5,125, 5, 5, 5, 0, 1, 21, 22, 23, 24, 26],
|
||||
[ 0, 0,263, 0, 0, 0, 45, 1, 1, 1,121, 1, 1],
|
||||
[ 4, 4,133, 4, 4, 4, 0, 36, 43, 0, 0, 85,124],
|
||||
[ 87, 11, 12, 13, 14, 4, 4, 2, 2,122, 2, 2, 2],
|
||||
[ 88, 89, 90, 91, 92, 93, 94, 2, 81, 82, 83, 84, 86]
|
||||
],
|
||||
"firstArrive": [
|
||||
{
|
||||
"type": "setText",
|
||||
"background": "winskin.png",
|
||||
"time": 0
|
||||
},
|
||||
"\t[样板提示]首次到达某层可以触发 firstArrive 事件,该事件可类似于RMXP中的“自动执行脚本”。\n\n本事件支持一切的事件类型,常常用来触发对话,例如:",
|
||||
"\t[hero]\b[up,hero]我是谁?我从哪来?我又要到哪去?",
|
||||
"\t[仙子,fairy]你问我...?我也不知道啊...",
|
||||
"本层主要对道具、门、怪物等进行介绍,有关事件的各种信息在下一层会有更为详细的说明。"
|
||||
],
|
||||
"events": {
|
||||
"2,10": [
|
||||
"\t[少女,npc0]\b[this]这些是路障、楼梯、传送门。",
|
||||
"\t[少女,npc1]\b[this]血网的伤害数值、中毒后每步伤害数值、衰弱时攻防下降的数值,都在全塔属性(快捷键B)的全局数值(values)内定义。\n\n路障同样会尽量被自动寻路绕过。",
|
||||
"\t[少女,npc2]\b[this]楼梯和传送门需要在地图选点(快捷键X)的“楼层转换”中定义目标楼层和位置,可参见样板里已有的的写法。",
|
||||
{
|
||||
"type": "hide",
|
||||
"time": 500
|
||||
}
|
||||
],
|
||||
"2,5": [
|
||||
"\t[老人,wizard]\b[this]模仿、吸血、中毒、衰弱、诅咒。\n\n请注意吸血怪需要设置value为吸血数值,可参见样板中黑暗大法师的写法。",
|
||||
{
|
||||
"type": "hide",
|
||||
"time": 500
|
||||
}
|
||||
],
|
||||
"2,3": [
|
||||
"\t[老人,wizard]\b[this]领域、夹击。\n请注意领域怪需要设置value为伤害数值,可参见样板中初级巫师的写法。",
|
||||
"\t[老人,wizard]\b[this]当领域、阻击、激光和夹击同时发生时,先计算领域、阻击、激光(同时计算),再计算夹击。\n自动寻路同样会尽量绕过这些区域。",
|
||||
{
|
||||
"type": "hide",
|
||||
"time": 500
|
||||
}
|
||||
],
|
||||
"12,10": {
|
||||
"trigger": null,
|
||||
"enable": false,
|
||||
"noPass": null,
|
||||
"displayDamage": true,
|
||||
"data": [
|
||||
"\t[仙子,fairy]\b[this]只有楼上启用事件后,才能看到我并可以和我对话来触发事件。",
|
||||
{
|
||||
"type": "hide",
|
||||
"time": 500
|
||||
}
|
||||
]
|
||||
},
|
||||
"2,8": [
|
||||
"\t[老人,wizard]\b[this]这些都是各种各样的怪物,所有怪物的数据都在 project 文件夹的 enemys.js 中设置。\n(注意是 enemys,而非 enemies)",
|
||||
"\t[老人,wizard]\b[this]这批怪物分别为:\n\\i[greenSlime]普通、\\i[bat]先攻、\\i[bluePriest]魔攻、\\i[rock]坚固、\\i[swordsman]2连击、\\i[vampire]多连击、\\i[redKnight]破甲、\\i[ghostSoldier]反击、\\i[slimeman]净化。",
|
||||
"\t[老人,wizard]\b[this]打败怪物后可触发 afterBattle 事件。\n\n有关事件的各种信息在下一层会有更为详细的说明。",
|
||||
{
|
||||
"type": "hide",
|
||||
"time": 500
|
||||
}
|
||||
],
|
||||
"9,11": [
|
||||
"\t[老人,trader]\b[this]这些是门,需要对应的钥匙打开。\n机关门必须使用特殊的开法。",
|
||||
"\t[老人,trader]\b[this]开门后可触发 afterOpenDoor 事件。\n\n有关事件的各种信息在下一层会有更为详细的说明。",
|
||||
{
|
||||
"type": "hide",
|
||||
"time": 500
|
||||
}
|
||||
],
|
||||
"10,9": [
|
||||
"\t[老人,man]\b[down,null]这些是部分本样板支持的道具。\n\n道具分为 items、constants、tools、equips 四类。\nitems 为即捡即用类道具,例如宝石、血瓶等。\nconstants 为永久道具,例如怪物手册、楼层传送器、幸运金币等。\ntools 为消耗类道具,例如破墙镐、炸弹、中心对称飞行器等。\nequips 为装备,例如剑盾等。",
|
||||
"\t[老人,man]\b[up]有关道具效果,定义在project文件夹的items.js中。\n目前大多数道具已有默认行为,如有自定义的需求请修改道具的图块属性。",
|
||||
"\t[老人,man]\b[up]拾取道具结束后可触发 afterGetItem 事件。\n\n有关事件的各种信息在下一层会有更为详细的说明。",
|
||||
{
|
||||
"type": "hide",
|
||||
"time": 500
|
||||
}
|
||||
]
|
||||
},
|
||||
"changeFloor": {
|
||||
"6,0": {
|
||||
"floorId": "sample1",
|
||||
"stair": "downFloor"
|
||||
},
|
||||
"0,11": {
|
||||
"floorId": "sample0",
|
||||
"loc": [
|
||||
0,
|
||||
12
|
||||
]
|
||||
},
|
||||
"0,12": {
|
||||
"floorId": "sample0",
|
||||
"stair": "upFloor"
|
||||
},
|
||||
"1,12": {
|
||||
"floorId": "sample0",
|
||||
"loc": [
|
||||
1,
|
||||
12
|
||||
]
|
||||
},
|
||||
"2,12": {
|
||||
"floorId": "sample0",
|
||||
"loc": [
|
||||
2,
|
||||
12
|
||||
]
|
||||
},
|
||||
"3,12": {
|
||||
"floorId": "sample0",
|
||||
"loc": [
|
||||
6,
|
||||
1
|
||||
],
|
||||
"direction": "up"
|
||||
},
|
||||
"4,12": {
|
||||
"floorId": "sample0",
|
||||
"loc": [
|
||||
0,
|
||||
9
|
||||
],
|
||||
"direction": "left",
|
||||
"time": 1000
|
||||
},
|
||||
"5,12": {
|
||||
"floorId": "sample0",
|
||||
"loc": [
|
||||
6,
|
||||
10
|
||||
],
|
||||
"time": 0,
|
||||
"portalWithoutTrigger": false
|
||||
},
|
||||
"6,12": {
|
||||
"floorId": "sample0",
|
||||
"loc": [
|
||||
10,
|
||||
10
|
||||
],
|
||||
"direction": "left",
|
||||
"time": 1000
|
||||
}
|
||||
},
|
||||
"afterBattle": {
|
||||
"2,6": [
|
||||
"\t[ghostSoldier]\b[this]不可能,你怎么可能打败我!\n(一个打败怪物触发的事件)"
|
||||
],
|
||||
"0,9": [
|
||||
"这是一个高度为 48 个像素而非 32 个像素的敌人。\n高敌人的素材存放在 materials 文件夹中 enemy48.png 的部分。"
|
||||
]
|
||||
},
|
||||
"afterGetItem": {
|
||||
"9,1": [
|
||||
"技能的支持需要依赖状态栏的“魔力”以及脚本编辑的“按键处理”,详见帮助文档“个性化”一节。"
|
||||
],
|
||||
"12,2": [
|
||||
"跳跃靴和支援怪的跳跃音效是用脚本额外添加的,\n如果想为任意跳跃指令添加音效,请查阅帮助文档中的“脚本——复写函数”章节。"
|
||||
],
|
||||
"8,3": [
|
||||
"炸弹是只能炸面前的怪物还是四个甚至八个方向的怪物,\n由其图块属性(快捷键C)中的“使用效果”决定。\n不能被炸的怪物请直接在该怪物的图块属性中勾选“不可炸”,\n可参见样板里黑衣魔王和黑暗大法师的写法。\nV2.8.1起,炸弹炸怪可以添加获得金经/触发战后事件,详见其使用效果中的注释。"
|
||||
],
|
||||
"10,3": [
|
||||
"“上楼”和“下楼”的目标层由全塔属性(快捷键B)的“楼层列表”顺序所决定。"
|
||||
],
|
||||
"12,3": [
|
||||
"如果想制作类似于生命魔杖等可以被批量使用的道具,请参照生命魔杖图块属性(快捷键B)中\n useItemEvent 的写法。\n其基本原理就是使用【接受用户输入】让玩家在弹窗中输入想要使用的物品数量,再判断玩家的输入是否合法,如果输入合法就扣减相应数量的物品并结算物品效果。\n要注意的是,在使用物品时会先消耗一个物品,所以记得在编辑 useItemEvent 时先用 core.addItem 恢复一个物品。"
|
||||
],
|
||||
"8,4": [
|
||||
"剑盾的道具类别设为equips才可以装备,\n如果设为items则会直接增加属性。",
|
||||
"在全塔属性(快捷键B)的系统开关中设置是否启用装备栏按钮。\n如果启用则装备栏按钮会替代楼传按钮。\n无论是否启用,玩家都可以双击道具栏按钮呼出装备栏。"
|
||||
],
|
||||
"9,4": [
|
||||
"装备的种类由全塔属性(快捷键B)中的“装备孔”决定。\n每件装备的“类型”就是在“装备孔”中的索引,例如默认情况下 0 代表武器。\n同时,只有第一个装备孔中的装备,其“普攻动画”属性才会生效。"
|
||||
],
|
||||
"10,4": [
|
||||
"每层楼的“可楼传”勾选框决定了该楼层能否被飞到。\n\n勇士在不能被飞到的楼层也无法使用楼层传送器。",
|
||||
"飞行的楼层顺序由全塔属性(快捷键B)中的“楼层列表”所决定。\n\n是否必须在楼梯边使用楼传器由全塔属性中的系统开关所决定。"
|
||||
],
|
||||
"11,4": [
|
||||
"破墙镐是破面前的墙壁还是四个方向的墙壁,由其图块属性(快捷键C)的“使用效果”决定。\n哪些图块(怪物和道具除外)可以被破震,由该图块的图块属性中的“可破震”决定。"
|
||||
],
|
||||
"12,4": [
|
||||
"在 2.8.1 版更新后,能够被破冰镐摧毁的冰块被移动到了 animates 下。\n如果想制作一个可以以特定触发器的方式移除特定图块的道具,可以参照破冰镐物品图块属性中\n useItemEffect 和 canUseItemEffect 的写法。"
|
||||
],
|
||||
"11,8": [
|
||||
"由于状态栏放不下,铁门钥匙(根据全塔属性的系统开关勾选与否,可能还有绿钥匙)会被放入道具栏中。\n碰到绿门和铁门时仍然会自动使用钥匙开门。"
|
||||
],
|
||||
"12,8": [
|
||||
"该道具默认是大黄门钥匙,如需改为钥匙盒直接修改其图块属性(快捷键C)的“道具类别”为items即可。"
|
||||
],
|
||||
"8,7": [
|
||||
"如需修改消耗品的效果,请前往全塔属性(快捷键B),找到并修改values(全局数值)内对应的具体数值即可。\n如果有高级的需求(如每个区域宝石数值变化),请修改楼层属性(快捷键V)最下方的“宝石血瓶效果”。\n如果有更高级的需求,请查阅帮助文档。"
|
||||
],
|
||||
"11,7": [
|
||||
"与大黄门钥匙类似的是,如果将黄宝石的图块属性设为 items ,那么黄宝石将在被拾取触发 itemEffect 效果。\n\n注意:触碰或使用事件(useItemEvent)对 items、tools、constants 都有效。\n这意味着,如果黄宝石的图块属性为 items ,那么在拾取黄宝石时,黄宝石不会进入背包,并且其“即捡即用”和“触碰或使用事件”都会被触发。"
|
||||
],
|
||||
"12,7": [
|
||||
"由于吸血、夹击、净化等属性值的存在,玩家可能希望自动寻路时能尽量绕开血瓶和绿宝石。\n他们可以自行在游戏设置中开关这一功能。"
|
||||
]
|
||||
},
|
||||
"afterOpenDoor": {
|
||||
"11,12": [
|
||||
"你打开了一扇绿门,触发了一个 afterOpenDoor 事件。"
|
||||
],
|
||||
"10,6": [
|
||||
"这是一扇高度为 48 个像素而非 32 个像素的门。\n高门和高NPC的素材存放在 materials 文件夹中 npc48.png 的部分。"
|
||||
]
|
||||
},
|
||||
"cannotMove": {},
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0,10169, 0,10177, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0,10170, 0,10185, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0,10169, 0,10179, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0,10172, 0,10180, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0,10186, 0,10181, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0,10187, 0,10182, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0,10188, 0,10183, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"autoEvent": {},
|
||||
"beforeBattle": {},
|
||||
"cannotMoveIn": {}
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
main.floors.sample1=
|
||||
{
|
||||
"floorId": "sample1",
|
||||
"title": "样板 1 层",
|
||||
"name": "1",
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"defaultGround": "grass",
|
||||
"images": [
|
||||
{
|
||||
"name": "bg.jpg",
|
||||
"canvas": "bg",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
}
|
||||
],
|
||||
"weather": [
|
||||
"snow",
|
||||
6
|
||||
],
|
||||
"ratio": 1,
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"firstArrive": [],
|
||||
"events": {},
|
||||
"changeFloor": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"cannotMove": {},
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"autoEvent": {},
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"beforeBattle": {},
|
||||
"cannotMoveIn": {},
|
||||
"eachArrive": []
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
main.floors.sample2=
|
||||
{
|
||||
"floorId": "sample2",
|
||||
"title": "样板 2 层",
|
||||
"name": "2",
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"defaultGround": "ground",
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"width": 26,
|
||||
"height": 26,
|
||||
"firstArrive": [],
|
||||
"events": {},
|
||||
"changeFloor": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"cannotMove": {},
|
||||
"upFloor": null,
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"autoEvent": {},
|
||||
"beforeBattle": {},
|
||||
"cannotMoveIn": {},
|
||||
"eachArrive": []
|
||||
}
|
@ -1,102 +0,0 @@
|
||||
main.floors.singshop=
|
||||
{
|
||||
"floorId": "singshop",
|
||||
"title": "主塔 11 层",
|
||||
"name": "11",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0,71797,71797,71797,71797,71797,71797,71797,71797,71797, 90, 0, 0],
|
||||
[ 0,90211,90211,90211,90211,71877,90211,90211, 0,90587,71116, 0, 0],
|
||||
[ 0,90541,90542,90543, 0,71885, 0, 0,71288,71116,71116, 0, 0],
|
||||
[ 0,90549,90550,90551,71547,71761,71547, 0,71296,71257, 0, 0, 0],
|
||||
[ 0, 0,30224, 0,71568,71789,71570, 0,60144,71265, 0, 0, 0],
|
||||
[ 0, 0, 0, 0,71796,71797,71798, 0,60160,71265, 0, 0, 0],
|
||||
[ 0,71340, 0, 0, 0, 0, 0, 0, 0,71273, 0,71796,71797],
|
||||
[ 0,71348, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,71919],
|
||||
[ 0,71356, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0,71348, 0, 0, 0, 0, 0, 0, 0, 0,345,150000, 90],
|
||||
[ 0,71356,40103, 0,40102,71759,71626,71628,10165, 0,345, 0, 90],
|
||||
[ 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"areas": "下层",
|
||||
"bgmap": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0,70228,70229,70230,70228,70229,70230,70228,70229,70229,70553, 0, 0],
|
||||
[ 0,70228,70229,70230,70228,70229,70230,70228,70229,70229,70561, 0, 0],
|
||||
[ 0,70236,70237,70238,70236,70237,70238,70236,70237,70237,70561, 0, 0],
|
||||
[ 0,70084,70084,70084,70084,70084,70084,70084,70084,70084,70561, 0, 0],
|
||||
[ 0,70084,70084,70084,70084,70084,70084,70084,70084,70084,70561, 0, 0],
|
||||
[70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70561,70084,70084],
|
||||
[70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70228,70229],
|
||||
[70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70228,70229],
|
||||
[70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70236,70237],
|
||||
[70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70094,70094],
|
||||
[70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70094,70094],
|
||||
[70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70084,70084]
|
||||
],
|
||||
"fgmap": [
|
||||
[142,142,142,142,142,142,142,142,142,142,142,142,142],
|
||||
[142, 0, 0, 0, 0, 0, 0, 0, 0,70552, 0,142,142],
|
||||
[142, 0, 0, 0, 0, 0, 0, 0,71907,70560, 0,142,142],
|
||||
[142, 0, 0, 0, 0, 0, 0, 0,71915,30100, 0,142,142],
|
||||
[142, 0,30216, 0,20167, 0, 0, 0, 0,70560, 0,142,142],
|
||||
[142,40007,40007,40007, 0,71754,20167,40007,40007,40007, 0,142,142],
|
||||
[142,90569,90569,90569,71887, 0, 0,90569,90569,90569, 0,142,142],
|
||||
[142, 0, 0, 0, 0, 0, 0,90577,90577,90577, 0, 0, 0],
|
||||
[142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[142,71340, 0, 0, 0, 0, 0, 0, 0, 0, 0,71964, 0],
|
||||
[142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,71972, 0],
|
||||
[142, 0, 0, 0, 0, 0,71701,71702, 0, 0, 0, 0, 0],
|
||||
[142,142,142, 0,142,142,142,142,142,142,142,142,142]
|
||||
],
|
||||
"bg2map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,71116, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0,71116,40136, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,40152, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0,71769, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0,90577,90577,90577,70436,70436,70436,70436,70437, 0,70569, 0, 0],
|
||||
[ 0, 0,70443,70444,70444,70444,70444,70444,70445, 0, 0, 0, 0],
|
||||
[ 0, 0,70443,70444,70444,70444,70444,70444,70445, 0, 0, 0, 0],
|
||||
[ 0, 0,70451,70452,70452,70452,70452,70452,70453, 0, 5, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"fg2map": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,70560, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,70560, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,70560, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,70568, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
]
|
||||
}
|
74
project/floors/street01.js
Normal file
74
project/floors/street01.js
Normal file
@ -0,0 +1,74 @@
|
||||
main.floors.street01=
|
||||
{
|
||||
"floorId": "street01",
|
||||
"title": "牢狱01",
|
||||
"name": "1",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass2",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"8,4": [
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "jiuguan",
|
||||
"loc": [
|
||||
4,
|
||||
12
|
||||
],
|
||||
"direction": "up"
|
||||
}
|
||||
]
|
||||
},
|
||||
"changeFloor": {
|
||||
"0,6": {
|
||||
"floorId": "street02",
|
||||
"loc": [
|
||||
12,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[141,141,141,141,141,141,140,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,140,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,140,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,140,141,141,141,141,141,141],
|
||||
[140,140,140,140,140,140,140,140, 90,140,140,140,140],
|
||||
[ 0, 0, 0, 0, 0,140, 0, 0, 0, 0,140, 0, 0],
|
||||
[ 92, 0,140,202,140,140,201,140,140,140,140, 0, 94],
|
||||
[ 0, 0,140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141]
|
||||
],
|
||||
"areas": "牢狱",
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
70
project/floors/street02.js
Normal file
70
project/floors/street02.js
Normal file
@ -0,0 +1,70 @@
|
||||
main.floors.street02=
|
||||
{
|
||||
"floorId": "street02",
|
||||
"title": "牢狱01",
|
||||
"name": "1",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass2",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"12,6": {
|
||||
"floorId": "street01",
|
||||
"loc": [
|
||||
0,
|
||||
6
|
||||
]
|
||||
},
|
||||
"0,6": {
|
||||
"floorId": "guangchang",
|
||||
"loc": [
|
||||
12,
|
||||
6
|
||||
],
|
||||
"direction": "left"
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
||||
[ 0, 0,140, 27, 0,210, 0,209, 0, 0,217, 0, 0],
|
||||
[ 92, 0,140,140,140,140, 0,140,140,140,140, 0, 94],
|
||||
[ 0, 0,217, 0, 0,209, 0,210, 0, 28,140, 0, 0],
|
||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
||||
[141,141,141,141,141,141,141,141,141,141,141,141,141]
|
||||
],
|
||||
"areas": "牢狱",
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
@ -23,7 +23,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
||||
if (!main.replayChecking && !core.isReplaying()) {
|
||||
data.text = core.replaceText(data.text)
|
||||
data.text2 = core.replaceText(data.text2)
|
||||
core.drawWarning(data.x, data.y, data?.text, data?.text2, data?.warning)
|
||||
core.drawWarning(data.x, data.y, data.size, data?.text, data?.text2, data?.warning)
|
||||
setTimeout(() => core.doAction(), 3100)
|
||||
} else {
|
||||
core.doAction();
|
||||
@ -47,6 +47,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
||||
core.ui.cgText.name = data.name;
|
||||
core.ui.cgText.text = data.text;
|
||||
core.ui.cgText.time = data.time;
|
||||
core.ui.cgText.WindowSkin = data.WindowSkin
|
||||
core.ui.cgText.bodyList = core.clone(data.bodyList);
|
||||
main.dom.cgText.style.display = 'block';
|
||||
core.ui.cgText.update()
|
||||
@ -7160,6 +7161,7 @@ core.plugin.animate = {
|
||||
MotaActionFunctions.actionParser.parseList([{
|
||||
"type": "cgtext",
|
||||
"bg": "bg_5043.png",
|
||||
"WindowSkin": false,
|
||||
"head": { "name": "face_050445.png", "px": -300 },
|
||||
"name": "菲奥奈",
|
||||
"time": 0,
|
||||
@ -9274,7 +9276,7 @@ core.plugin.animate = {
|
||||
* @param {number} y 纵坐标
|
||||
* @param {string} text 显示的文字
|
||||
*/
|
||||
this.drawWarning = function (x, y, text, text2, warning) {
|
||||
this.drawWarning = function (x, y, size, text, text2, warning) {
|
||||
|
||||
if (timeout) return;
|
||||
x = x ?? 6;
|
||||
@ -9288,7 +9290,7 @@ core.plugin.animate = {
|
||||
var t = document.createElement('p');
|
||||
t.innerHTML = text;
|
||||
t.style.position = 'absolute';
|
||||
t.style.fontSize = '4em';
|
||||
t.style.fontSize = size * core.domStyle.scale + 'px';
|
||||
t.style.left = -(300 * core.domStyle.scale) + 'px';
|
||||
t.style.top = (parseInt(elements[0].style.height) / 2 - 100) + 'px';
|
||||
t.style.zIndex = '300';
|
||||
@ -9581,6 +9583,7 @@ core.plugin.animate = {
|
||||
this.name = ""
|
||||
this.text = ''
|
||||
this.time = 0;
|
||||
this.WindowSkin = false;
|
||||
}
|
||||
click(px, py) {
|
||||
|
||||
@ -9599,7 +9602,7 @@ core.plugin.animate = {
|
||||
const pos = [px, py];
|
||||
const savebox = makeBox([1700, 1100], [192, 96]);
|
||||
const saveboxVertical = makeBox([52, 1700], [96, 192])
|
||||
if ((core.domStyle.isVertical && inRect(pos, saveboxVertical)) || (!core.domStyle.isVertical && inRect(pos, savebox))) {
|
||||
if ((core.domStyle.isVertical && inRect(pos, saveboxVertical) && !this.WindowSkin) || (!core.domStyle.isVertical && !this.WindowSkin && inRect(pos, savebox))) {
|
||||
if (core.status.event.animateUI) return;
|
||||
if (core.status.event.interval != null) return;
|
||||
const current = core.clone(core.status.event.data.current)
|
||||
@ -9766,13 +9769,15 @@ core.plugin.animate = {
|
||||
}
|
||||
ctx.filter = 'none'
|
||||
})
|
||||
if (core.isPlaying()) core.drawWindowSkin("winskin.png", ctx, 30, 802, 1968, 416)
|
||||
if (core.isPlaying() && !this.WindowSkin) core.drawWindowSkin("winskin.png", ctx, 30, 802, 1968, 416)
|
||||
const head = core.material.images.images?.[this.head.name]
|
||||
if (head) {
|
||||
ctx.drawImage(head, 0, 0, head.width, head.height, this.head.px, 1248 - head.height * 2, head.width * 2, head.height * 2)
|
||||
}
|
||||
if (core.isPlaying()) core.drawWindowSkin("winskin.png", ctx, 1700, 1100, 192, 96)
|
||||
core.fillText(ctx, '存 档', 1736, 1166, '#FFFFFF', "bold 48px Verdana")
|
||||
if (core.isPlaying() && !this.WindowSkin) {
|
||||
core.drawWindowSkin("winskin.png", ctx, 1700, 1100, 192, 96)
|
||||
core.fillText(ctx, '存 档', 1736, 1166, '#FFFFFF', "bold 48px Verdana")
|
||||
}
|
||||
if (this.name) core.fillText(ctx, `【${this.name}】`, 500, 880, '#FFFFFF', "bold 48px Verdana")
|
||||
if (this.text) {
|
||||
this.drawTextContent(ctx, this.text, {
|
||||
|
Loading…
Reference in New Issue
Block a user