Compare commits
86 Commits
main
...
status-itc
Author | SHA1 | Date | |
---|---|---|---|
c0617ac80f | |||
ea950830d5 | |||
9d2c199a1e | |||
e0ed30be3b | |||
57a1b29310 | |||
973b546a43 | |||
5b853dc5a8 | |||
5a3552c2c0 | |||
a6ba26e8b5 | |||
393bfaa4b7 | |||
d9a5f79f7a | |||
fa63fe18fb | |||
fcbb8add3e | |||
8cdc9d7f43 | |||
153adac136 | |||
943e34af72 | |||
f81399f453 | |||
a0cbb8cdb8 | |||
4079bb9710 | |||
058f7088b3 | |||
a0c6d80700 | |||
827bb8977b | |||
3256dd5b8d | |||
dbb1d76c54 | |||
63de0f7785 | |||
2f2baa42d4 | |||
eb19824d50 | |||
3f53086c9f | |||
396abfe222 | |||
![]() |
274fe93483 | ||
25fb914841 | |||
8f3c9b514f | |||
67f531c4c5 | |||
6ad6856671 | |||
04b50e01ff | |||
732d9e5613 | |||
53e262dbd5 | |||
9f81251570 | |||
17db7a81b9 | |||
3f3dd1aece | |||
43fec5a6a1 | |||
![]() |
d7de13aacb | ||
4625b787d8 | |||
f179815394 | |||
2c790053c7 | |||
274375cd42 | |||
bb41bad059 | |||
4609a85797 | |||
4936449f67 | |||
1eec945d93 | |||
d5fde8eaca | |||
6c4515a3ef | |||
089956431f | |||
13f3a69173 | |||
df22828641 | |||
4ef2280dc1 | |||
![]() |
a10e4018b4 | ||
d36f936f6f | |||
f2c4d83671 | |||
83dfd91c2a | |||
e7413191f9 | |||
38979d5040 | |||
c1263db1af | |||
c5c1e12d8b | |||
![]() |
6ba9415c32 | ||
ff009a3b70 | |||
cbbb5477b7 | |||
8b267f3745 | |||
b3da61870c | |||
b598e730a7 | |||
08f18bb6b2 | |||
7625380d99 | |||
486213594d | |||
b27623454f | |||
d184b7110f | |||
24807dffe0 | |||
c17b690e02 | |||
6e2b99b4f8 | |||
5574e905a7 | |||
c9e3aaffb6 | |||
9dc4b8cb8c | |||
3980c9b423 | |||
4442b2d1ad | |||
486af13031 | |||
8076469ce3 | |||
0d29822eb1 |
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
_saves/
|
||||||
|
_server/config.json
|
@ -1 +0,0 @@
|
|||||||
1
|
|
@ -1 +0,0 @@
|
|||||||
N4IgZgNg9lBOCSATEAuEBnALrApjzADAIwgA0IAFjrFKqAJYC2AhgOY6qXVQB0A7jgBGABzIhmAOybNMHFGGYR0OchOaM5IAMLMmYiADdURchWEsAHqgCct66dEoiBF+RZrLqALQmQ75qgE5DIA1sauIIg4YOFBflExKHHownjISW5QEjgAnoHkOBaOcTgAjgCu9OY4EpioANoAuuT0sozodCAAxllYkpgdKKCCMGFO5JB5TgC+5JgwSnSzIGWVwoOg6HxwiCQzy9BdnYj0uF2Y9Fmc5aLkVigArORTzsuQbBsgrTiMACL4uggqGw5RUIHKygAQvgBDUADL0VgUOooEFggD66OUOEQmOMAHYAGwEawADgATOSACxxTGwSS49EE4lkyk04K4ZiDeqgDyaAA65SpOAIgkFDy6VPJYhY6wa2l0jAoUA0IEas156gFQpFYvKEqlMuYcpQ9RAACt6OVWOVJGqNSA+ZxBcLReLJdK3MbuSAANIAFQAavbSJrVWhBfjyYTyZHyWASF6TWaA4GAGLS9Whx1a53lKMxuMJo3JkCsKAQRAhXIhsPa116g2evze+WCegUCHlWhZut513Md2GpM+y3MKCYSSsWs58MgF0iwf6j0ln3oKgSVgSAzK1W92f1xdD5uytcUejb3ccfdOiP56Ox+/Fkfyy048cz2/z++Fp+JlullguD4MQYhAXghDNjaU5dBQU5iNBm6wVOzYWPQ45oVOoF3OhUCYZuBCobh+GsAAzJ+uYoBI5QQBAL6miAOT0BUJA3pR1G0fRZpMRUmYOreHF0QBPo8eU5FseGglcYxzFChRkk0UJp7yqJDzyXIUnCSpsmEupqCacpDGifielUYp0miaSpkGa2RmydY1nmVpdksQQ9rNBgIRVKgChKGCcGwOktLogFiBaBWcB4mguDIOQmLfIwAASF6YFFTRxeiEA4MwBg4HCUBdFFwDLJiBj0Og3yMp04EgXsaLLIIMJ4BIACCmCTl0IS/DIARmZxICYswOD0GlHmYic6DMIIWVVUMGDYBBoGmvURCkQ8zRNOqbwVtAAiwNyHlYDgJq+H0FxYPQXSfPMk4QP6TByOSDxEEQUpRjwhJ2C91hPN05SwLA93hkQDxUtYPCkXYUNQ4SDj5CAggyJgWXw4wWQ1hkKxFPDiPtVl3UsOw8PCFA5VZATbByCUFjYMwFNE5jaO5b8pw4OcEBTHEiISHAOAAMqyCaySTrAKKElSDykTwVLTMsoWcKu1ULbVnSyg0QQa6Qmva1ruv1D4pAG0bJgG0ExuGyblsWxbzQa1t5A0OUsicL6UAZloVKsAAvGIBiKKCGzLLl+2XBIebWDgpGIOKggPAQkbMNY0flNYhHx/qpKg+6BBgIK1iEkQMTkDa9DpCA5LMIghKEog1iFYgYBgFS6JUqSifooIVKEmA6JgIgU0EDgNJV3gYgXMD+KkficfWKRBBSi40xAA==
|
|
@ -567,7 +567,7 @@ doorInfo_m
|
|||||||
|
|
||||||
/* doorInfo_m
|
/* doorInfo_m
|
||||||
tooltip : 开门信息
|
tooltip : 开门信息
|
||||||
default : [160, 'door.mp3', 'door.mp3']
|
default : [160, 'door.opus', 'door.opus']
|
||||||
helpUrl : /_docs/#/instruction
|
helpUrl : /_docs/#/instruction
|
||||||
EvalString_0 = EvalString_0 && (', "openSound": "' + EvalString_0 + '"');
|
EvalString_0 = EvalString_0 && (', "openSound": "' + EvalString_0 + '"');
|
||||||
EvalString_1 = EvalString_1 && (', "closeSound": "' + EvalString_1 + '"');
|
EvalString_1 = EvalString_1 && (', "closeSound": "' + EvalString_1 + '"');
|
||||||
@ -854,6 +854,8 @@ action
|
|||||||
| waitAsync_s
|
| waitAsync_s
|
||||||
| stopAsync_s
|
| stopAsync_s
|
||||||
| op_s
|
| op_s
|
||||||
|
| setmusics_s
|
||||||
|
| introAndLoop_s
|
||||||
| battle_s
|
| battle_s
|
||||||
| battle_1_s
|
| battle_1_s
|
||||||
| openDoor_s
|
| openDoor_s
|
||||||
@ -963,8 +965,7 @@ action
|
|||||||
| animationDrawable_s
|
| animationDrawable_s
|
||||||
| over_s
|
| over_s
|
||||||
| overlist_s
|
| overlist_s
|
||||||
| playStereo_s
|
| cgtextList_s
|
||||||
| moveStereo_s
|
|
||||||
| pass_s
|
| pass_s
|
||||||
;
|
;
|
||||||
|
|
||||||
@ -1123,22 +1124,32 @@ overtextEmpty
|
|||||||
var code = [];
|
var code = [];
|
||||||
return code;
|
return code;
|
||||||
*/;
|
*/;
|
||||||
|
cgtextList_s
|
||||||
|
: '切换剧情文本库' EvalString Newline
|
||||||
|
|
||||||
|
|
||||||
|
/* cgtextList_s
|
||||||
|
tooltip : cgtextList:设置cg剧情文本库
|
||||||
|
helpUrl : /_docs/#/instruction
|
||||||
|
default : ["chapter0"]
|
||||||
|
var code = '{"type": "cgtextList", "textList":"'+EvalString_0+'"},\n';
|
||||||
|
return code;
|
||||||
|
*/;
|
||||||
|
|
||||||
cgtext_s
|
cgtext_s
|
||||||
: '背景' EvalString? '回忆滤镜' Bool? '移除对话框' Bool? '头像' EvalString?'名字' EvalString?'坐标PX' Number'打字间隔' Int? BGNL? Newline
|
: '背景' EvalString? '回忆滤镜' Bool? '移除对话框' Bool? '剧情库序列' Int '头像' EvalString?'坐标PX' Number'打字间隔' Int? BGNL? Newline
|
||||||
'自动等待时长' Int '音频文件(需在全塔属性——使用音效注册)'EvalString? BGNL? Newline
|
'自动等待时长' Int BGNL? Newline
|
||||||
EvalString? BGNL? Newline textcgDrawingList+? Newline
|
textcgDrawingList+? Newline
|
||||||
|
|
||||||
|
|
||||||
/* cgtext_s
|
/* cgtext_s
|
||||||
tooltip : cgtext:显示一段包含cg的文字(剧情)
|
tooltip : cgtext:显示一段包含cg的文字(剧情)
|
||||||
helpUrl : /_docs/#/instruction
|
helpUrl : /_docs/#/instruction
|
||||||
allImages : ['EvalString_0','EvalString_1']
|
allImages : ['EvalString_0','EvalString_1']
|
||||||
allSounds : ['EvalString_3']
|
default : ["bg_5043.webp",false,false,0,"face_050445.webp",-300,0,2000,"","这句话显示在对话框内",[{ "name":"tati_050145a.webp" , "px": 100,"filter":false }]]
|
||||||
default : ["bg_5043.webp",false,"face_050445.webp",false,"菲奥奈",-300,0,2000,"","这句话显示在对话框内",[{ "name":"tati_050145a.webp" , "px": 100,"filter":false }]]
|
|
||||||
var head ='{ "name": "'+EvalString_1+'", "px": '+Number_0+' }'
|
var head ='{ "name": "'+EvalString_1+'", "px": '+Number_0+' }'
|
||||||
var list=',"bodyList": [\n'+textcgDrawingList_0.slice(0,-1)+'\n]'
|
var list=',"bodyList": [\n'+textcgDrawingList_0.slice(0,-1)+'\n]'
|
||||||
var code = '{"type": "cgtext", "bg":"'+EvalString_0+'","memory":'+Bool_0+',"WindowSkin":'+Bool_1+',"head":'+head+' ,"name":"'+EvalString_2+'","time":'+Int_0+',"wait":'+Int_1+',"sound":"'+EvalString_3+'","text": "'+EvalString_4+'"'+list+' },\n';
|
var code = '{"type": "cgtext", "bg":"'+EvalString_0+'","memory":'+Bool_0+',"WindowSkin":'+Bool_1+',"head":'+head+' ,"index":"'+Int_0+'","time":'+Int_1+',"wait":'+Int_2+list+' },\n';
|
||||||
return code;
|
return code;
|
||||||
*/;
|
*/;
|
||||||
textcgDrawingList
|
textcgDrawingList
|
||||||
@ -1956,16 +1967,17 @@ return code;
|
|||||||
*/;
|
*/;
|
||||||
|
|
||||||
drawWarning_s
|
drawWarning_s
|
||||||
: '警告坐标x' PosString 'y' PosString '文字大小'Int '警告内容' EvalString? '副标题' EvalString? '不播放音效' Bool? Newline
|
: '警告坐标x' PosString 'y' PosString '缩放倍率'EvalString '文字大小'Int '警告内容' EvalString? '副标题' EvalString? '不播放音效' Bool? Newline
|
||||||
|
|
||||||
|
|
||||||
/* drawWarning_s
|
/* drawWarning_s
|
||||||
tooltip : drawWarning: 绘制warning警告并拉进镜头,本事件为异步事件,下一事件将在3100ms后执行
|
tooltip : drawWarning: 绘制warning警告并拉进镜头,本事件为异步事件,下一事件将在3100ms后执行
|
||||||
helpUrl : /_docs/#/instruction
|
helpUrl : /_docs/#/instruction
|
||||||
default : [0, 0,24,"这里是提示内容","绿色史莱姆",false]
|
default : [0, 0,'2',24,"这里是提示内容","绿色史莱姆",false]
|
||||||
colour : this.soundColor
|
colour : this.soundColor
|
||||||
selectPoint : ["PosString_0", "PosString_1"]
|
selectPoint : ["PosString_0", "PosString_1"]
|
||||||
var code = '{"type": "drawWarning", "x": '+PosString_0+', "y": '+PosString_1+',"size":'+Int_0+',"text": "'+EvalString_0+'", "text2": "'+EvalString_1+'", "warning": '+Bool_0+'},\n';
|
if(!EvalString_1||!/^(0|([1-9][0-9]*))(\.[\d]+)?$/.test(EvalString_1))throw new Error("此项仅能填写小数或整数");
|
||||||
|
var code = '{"type": "drawWarning", "x": '+PosString_0+', "y": '+PosString_1+',"large":'+EvalString_0+',"size":'+Int_0+',"text": "'+EvalString_1+'", "text2": "'+EvalString_2+'", "warning": '+Bool_0+'},\n';
|
||||||
return code;
|
return code;
|
||||||
*/;
|
*/;
|
||||||
|
|
||||||
@ -2404,7 +2416,7 @@ stopAnimate_s
|
|||||||
tooltip : stopAnimate:停止所有动画
|
tooltip : stopAnimate:停止所有动画
|
||||||
helpUrl : /_docs/#/instruction
|
helpUrl : /_docs/#/instruction
|
||||||
default : [false]
|
default : [false]
|
||||||
colour : this.imageColor
|
colour : this.soundColor
|
||||||
Bool_0 = Bool_0?', "doCallback": true':'';
|
Bool_0 = Bool_0?', "doCallback": true':'';
|
||||||
var code = '{"type": "stopAnimate"'+Bool_0+'},\n';
|
var code = '{"type": "stopAnimate"'+Bool_0+'},\n';
|
||||||
return code;
|
return code;
|
||||||
@ -2612,6 +2624,23 @@ var code = '{"type": "setq"'+IdString_0+'},\n';
|
|||||||
return code;
|
return code;
|
||||||
*/;
|
*/;
|
||||||
|
|
||||||
|
introAndLoop_s
|
||||||
|
: '前奏音乐文件'EvalString? '前奏音乐文件播放时长(可填小数,单位为秒)'EvalString'循环音乐文件'EvalString? Newline
|
||||||
|
|
||||||
|
/* introAndLoop_s
|
||||||
|
tooltip : introAndLoop:设置任务目标楼层(显示在小地图)
|
||||||
|
helpUrl : /_docs/#/instruction
|
||||||
|
default : ["",1,""]
|
||||||
|
allBgms : ['EvalString_0','EvalString_2']
|
||||||
|
colour :this.imageColor
|
||||||
|
if(EvalString_1&&!/^(0|([1-9][0-9]*))(\.[\d]+)?$/.test(EvalString_1))throw new Error("此项仅能填写小数或整数,单位为秒");
|
||||||
|
EvalString_0 = EvalString_0 ? (', "intro": "'+EvalString_0+'"') : '';
|
||||||
|
EvalString_1= EvalString_1 ? (', "time": '+EvalString_1+'') : '';
|
||||||
|
EvalString_2 = EvalString_2 ? (', "loop": "'+EvalString_2+'"') : '';
|
||||||
|
var code = '{"type": "introAndLoop"'+EvalString_0+EvalString_1+EvalString_2+'},\n';
|
||||||
|
return code;
|
||||||
|
*/;
|
||||||
|
|
||||||
|
|
||||||
setcgs_s
|
setcgs_s
|
||||||
: 'cg回廊获取cg 文件名'EvalString?'不填为清空cg获取记录' Newline
|
: 'cg回廊获取cg 文件名'EvalString?'不填为清空cg获取记录' Newline
|
||||||
@ -2621,12 +2650,26 @@ tooltip : setcgs:cg回廊中的cg获取
|
|||||||
helpUrl : /_docs/#/instruction
|
helpUrl : /_docs/#/instruction
|
||||||
default : [""]
|
default : [""]
|
||||||
allImages : ['EvalString_0']
|
allImages : ['EvalString_0']
|
||||||
colour : this.imageColor
|
colour : this.soundColor
|
||||||
EvalString_0 = EvalString_0 ? (', "img": "'+EvalString_0+'"') : '';
|
EvalString_0 = EvalString_0 ? (', "img": "'+EvalString_0+'"') : '';
|
||||||
var code = '{"type": "setcgs"'+EvalString_0+'},\n';
|
var code = '{"type": "setcgs"'+EvalString_0+'},\n';
|
||||||
return code;
|
return code;
|
||||||
*/;
|
*/;
|
||||||
|
|
||||||
|
setmusics_s
|
||||||
|
: '音乐鉴赏music 文件名'EvalString?'不填为清空music获取记录' Newline
|
||||||
|
|
||||||
|
/* setmusics_s
|
||||||
|
tooltip : setmusics:音乐鉴赏中的隐藏music获取
|
||||||
|
helpUrl : /_docs/#/instruction
|
||||||
|
default : [""]
|
||||||
|
allBgms : ['EvalString_0']
|
||||||
|
colour : this.soundColor
|
||||||
|
EvalString_0 = EvalString_0 ? (', "bgm": "'+EvalString_0+'"') : '';
|
||||||
|
var code = '{"type": "setmusics"'+EvalString_0+'},\n';
|
||||||
|
return code;
|
||||||
|
*/;
|
||||||
|
|
||||||
scaleImage_s
|
scaleImage_s
|
||||||
: '图片放缩' '图片编号' NInt '中心点像素' 'x' PosString? 'y' PosString? '移动方式' MoveMode_List BGNL? '放缩比例' Number '动画时间' Int '不等待执行完毕' Bool Newline
|
: '图片放缩' '图片编号' NInt '中心点像素' 'x' PosString? 'y' PosString? '移动方式' MoveMode_List BGNL? '放缩比例' Number '动画时间' Int '不等待执行完毕' Bool Newline
|
||||||
|
|
||||||
@ -3045,39 +3088,8 @@ var code = '{"type": "playSound", "name": "'+EvalString_0+'"'+Bool_0+IntString_0
|
|||||||
return code;
|
return code;
|
||||||
*/;
|
*/;
|
||||||
|
|
||||||
playStereo_s
|
|
||||||
: '播放音效(立体音)' EvalString '左声道音量' Int '右声道音量' Int '启用立体音' Bool? Newline
|
|
||||||
|
|
||||||
|
|
||||||
/* playStereo_s
|
|
||||||
tooltip : playSound: 播放音效(立体音)
|
|
||||||
helpUrl : /_docs/#/instruction
|
|
||||||
default : ["item.mp3",1,1,true]
|
|
||||||
colour : this.imageColor
|
|
||||||
allSounds : ['EvalString_0']
|
|
||||||
material : ["./project/sounds/", "EvalString_0"]
|
|
||||||
|
|
||||||
var code = '{"type": "playStereo", "name": "'+EvalString_0+'", "left": '+Int_0+', "right": '+Int_1+', "split": '+Bool_0+'},\n';
|
|
||||||
return code;
|
|
||||||
*/;
|
|
||||||
|
|
||||||
moveStereo_s
|
|
||||||
: '播放渐变音效(立体音)' EvalString '左声道音量' Int '右声道音量' Int '启用立体音' Bool? BGNL? Newline
|
|
||||||
'左声道目标音量' Int '右声道目标音量' Int '渐变时长'Int Newline
|
|
||||||
|
|
||||||
|
|
||||||
/* moveStereo_s
|
|
||||||
tooltip : playSound: 播放渐变音效(立体音)
|
|
||||||
helpUrl : /_docs/#/instruction
|
|
||||||
default : ["item.mp3",1,1,true,10,10,1000]
|
|
||||||
colour : this.imageColor
|
|
||||||
allSounds : ['EvalString_0']
|
|
||||||
material : ["./project/sounds/", "EvalString_0"]
|
|
||||||
|
|
||||||
var code = '{"type": "moveStereo", "name": "'+EvalString_0+'", "left": '+Int_0+', "right": '+Int_1+', "split": '+Bool_0+', "leftTo": '+Int_2+', "rightTo": '+Int_3+', "time": '+Int_4+'},\n';
|
|
||||||
return code;
|
|
||||||
*/;
|
|
||||||
|
|
||||||
playSound_1_s
|
playSound_1_s
|
||||||
: '播放系统音效' NameMap_List '停止之前音效' Bool? '音调' IntString? '等待播放完毕' Bool? Newline
|
: '播放系统音效' NameMap_List '停止之前音效' Bool? '音调' IntString? '等待播放完毕' Bool? Newline
|
||||||
|
|
||||||
@ -4612,8 +4624,8 @@ IdString
|
|||||||
;
|
;
|
||||||
|
|
||||||
FixedId_List
|
FixedId_List
|
||||||
: '生命'|'生命上限'|'攻击'|'防御'|'护盾'|'黄钥匙'|'蓝钥匙'|'红钥匙'|'金币'|'经验'|'魔力'|'魔力上限'|'当前横坐标'|'当前纵坐标'|'当前朝向'|'攻击增益'|'防御增益'|'护盾增益'
|
: '生命'|'生命上限'|'攻击'|'防御'|'法强'|'魔攻比例'|'护盾比例'|'法抗比例'|'黄钥匙'|'蓝钥匙'|'红钥匙'|'金币'|'经验'|'魔力'|'魔力上限'|'当前横坐标'|'当前纵坐标'|'当前朝向'|'攻击增益'|'防御增益'|'法强增益'|'魔攻增益'|'法抗增益'|'护盾增益'
|
||||||
/*FixedId_List ['status:hp','status:hpmax','status:atk','status:def','status:mdef','item:yellowKey','item:blueKey','item:redKey','status:money','status:exp','status:mana','status:manamax','status:x','status:y','status:direction','buff:atk','buff:def','buff:mdef']*/;
|
/*FixedId_List ['status:hp','status:hpmax','status:atk','status:def','status:spell','status:matk','status:mhp','status:mdef','item:yellowKey','item:blueKey','item:redKey','status:money','status:exp','status:mana','status:manamax','status:x','status:y','status:direction','buff:atk','buff:def','buff:spell','buff:matk','buff:mdef','buff:mhp']*/;
|
||||||
|
|
||||||
Id_List
|
Id_List
|
||||||
: '变量' | '状态' | '物品' | '增益' | '独立开关' | '临时变量' |'全局存储'
|
: '变量' | '状态' | '物品' | '增益' | '独立开关' | '临时变量' |'全局存储'
|
||||||
@ -4628,8 +4640,8 @@ EnemyPoint_List
|
|||||||
/*EnemyPoint_List ['hp','atk','def','money','exp','point','name']*/;
|
/*EnemyPoint_List ['hp','atk','def','money','exp','point','name']*/;
|
||||||
|
|
||||||
Equip_List
|
Equip_List
|
||||||
: '生命'|'生命上限'|'攻击'|'防御'|'法强'|'魔力'|'魔力上限'|'速度'
|
: '生命'|'生命上限'|'攻击'|'防御'|'法强'|'魔攻比例'|'护盾比例'|'法抗百分比'|'魔力'|'魔力上限'|'速度'
|
||||||
/*Equip_List ['hp','hpmax','atk','def','mdef','mana','manamax','speed']*/;
|
/*Equip_List ['hp','hpmax','atk','def','spell','matk','mhp','mdef','mana','manamax','speed']*/;
|
||||||
|
|
||||||
Key_List
|
Key_List
|
||||||
: '黄钥匙'|'蓝钥匙'|'红钥匙'|'绿钥匙'|'铁门钥匙'
|
: '黄钥匙'|'蓝钥匙'|'红钥匙'|'绿钥匙'|'铁门钥匙'
|
||||||
|
@ -542,6 +542,12 @@ MotaActionParser = function () {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case "cgtextList":
|
||||||
|
this.next = MotaActionBlocks["cgtextList_s"].xmlText([
|
||||||
|
data.textList,
|
||||||
|
this.next,
|
||||||
|
]);
|
||||||
|
break;
|
||||||
case "cgtext": // cg对话框
|
case "cgtext": // cg对话框
|
||||||
var buildcgDrawing = function (obj) {
|
var buildcgDrawing = function (obj) {
|
||||||
obj = MotaActionFunctions.processcgDrawing(obj || []);
|
obj = MotaActionFunctions.processcgDrawing(obj || []);
|
||||||
@ -563,13 +569,11 @@ MotaActionParser = function () {
|
|||||||
data.bg,
|
data.bg,
|
||||||
data.memory,
|
data.memory,
|
||||||
data.WindowSkin,
|
data.WindowSkin,
|
||||||
|
data.index,
|
||||||
data.head.name,
|
data.head.name,
|
||||||
data.name || "",
|
|
||||||
data.head.px || -300,
|
data.head.px || -300,
|
||||||
data.time,
|
data.time,
|
||||||
data.wait,
|
data.wait,
|
||||||
data.sound,
|
|
||||||
data.text,
|
|
||||||
buildcgDrawing(data.bodyList),
|
buildcgDrawing(data.bodyList),
|
||||||
this.next,
|
this.next,
|
||||||
]);
|
]);
|
||||||
@ -620,6 +624,20 @@ MotaActionParser = function () {
|
|||||||
case "setcgs":
|
case "setcgs":
|
||||||
this.next = MotaActionBlocks["setcgs_s"].xmlText([data.img, this.next]);
|
this.next = MotaActionBlocks["setcgs_s"].xmlText([data.img, this.next]);
|
||||||
break;
|
break;
|
||||||
|
case "setmusics":
|
||||||
|
this.next = MotaActionBlocks["setmusics_s"].xmlText([
|
||||||
|
data.bgm,
|
||||||
|
this.next,
|
||||||
|
]);
|
||||||
|
break;
|
||||||
|
case "introAndLoop":
|
||||||
|
this.next = MotaActionBlocks["introAndLoop_s"].xmlText([
|
||||||
|
data.intro,
|
||||||
|
data.time,
|
||||||
|
data.loop,
|
||||||
|
this.next,
|
||||||
|
]);
|
||||||
|
break;
|
||||||
case "comment": // 注释
|
case "comment": // 注释
|
||||||
this.next = MotaActionBlocks["comment_s"].xmlText([
|
this.next = MotaActionBlocks["comment_s"].xmlText([
|
||||||
this.EvalString_Multi(data.text),
|
this.EvalString_Multi(data.text),
|
||||||
@ -1506,27 +1524,6 @@ MotaActionParser = function () {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "playStereo":
|
|
||||||
this.next = MotaActionBlocks["playStereo_s"].xmlText([
|
|
||||||
data.name,
|
|
||||||
data.left,
|
|
||||||
data.right,
|
|
||||||
data.split || true,
|
|
||||||
this.next,
|
|
||||||
]);
|
|
||||||
break;
|
|
||||||
case "moveStereo":
|
|
||||||
this.next = MotaActionBlocks["moveStereo_s"].xmlText([
|
|
||||||
data.name,
|
|
||||||
data.left,
|
|
||||||
data.right,
|
|
||||||
data.split || true,
|
|
||||||
data.leftTo,
|
|
||||||
data.rightTo,
|
|
||||||
data.time,
|
|
||||||
this.next,
|
|
||||||
]);
|
|
||||||
break;
|
|
||||||
case "playSound":
|
case "playSound":
|
||||||
var knownItems = MotaActionBlocks["NameMap_List"].options.map(function (
|
var knownItems = MotaActionBlocks["NameMap_List"].options.map(function (
|
||||||
one
|
one
|
||||||
@ -2107,6 +2104,7 @@ MotaActionParser = function () {
|
|||||||
this.next = MotaActionBlocks["drawWarning_s"].xmlText([
|
this.next = MotaActionBlocks["drawWarning_s"].xmlText([
|
||||||
data.x,
|
data.x,
|
||||||
data.y,
|
data.y,
|
||||||
|
data.large,
|
||||||
data.size,
|
data.size,
|
||||||
data?.text,
|
data?.text,
|
||||||
data?.text2,
|
data?.text2,
|
||||||
|
@ -1 +0,0 @@
|
|||||||
{"viewportLoc":[0,0],"editorLastFloorId":"jiedao"}
|
|
@ -132,8 +132,8 @@ editor_blocklyconfig = function () {
|
|||||||
MotaActionFunctions.actionParser.parse(
|
MotaActionFunctions.actionParser.parse(
|
||||||
{
|
{
|
||||||
time: 160,
|
time: 160,
|
||||||
openSound: "door.mp3",
|
openSound: "door.opus",
|
||||||
closeSound: "door.mp3",
|
closeSound: "door.opus",
|
||||||
keys: { yellowKey: 1, orangeKey: 1 },
|
keys: { yellowKey: 1, orangeKey: 1 },
|
||||||
},
|
},
|
||||||
"doorInfo"
|
"doorInfo"
|
||||||
@ -142,9 +142,9 @@ editor_blocklyconfig = function () {
|
|||||||
MotaActionBlocks["mainStyle_m"].xmlText(),
|
MotaActionBlocks["mainStyle_m"].xmlText(),
|
||||||
MotaActionFunctions.actionParser.parse(
|
MotaActionFunctions.actionParser.parse(
|
||||||
{
|
{
|
||||||
背景音乐: "bgm.mp3",
|
背景音乐: "bgm.opus",
|
||||||
确定: "confirm.mp3",
|
确定: "confirm.opus",
|
||||||
攻击: "attack.mp3",
|
攻击: "attack.opus",
|
||||||
背景图: "bg.jpg",
|
背景图: "bg.jpg",
|
||||||
领域: "zone",
|
领域: "zone",
|
||||||
文件名: "file.jpg",
|
文件名: "file.jpg",
|
||||||
|
@ -192,7 +192,14 @@ var comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
|||||||
"mdef": {
|
"mdef": {
|
||||||
"_leaf": true,
|
"_leaf": true,
|
||||||
"_type": "textarea",
|
"_type": "textarea",
|
||||||
"_data": "法抗(写为小数)"
|
"_docs": "法抗",
|
||||||
|
"_data": "百分数,如10为10%法抗,怪物受到勇士的法术伤害减免比例"
|
||||||
|
|
||||||
|
},
|
||||||
|
"spell": {
|
||||||
|
"_leaf": true,
|
||||||
|
"_type": "textarea",
|
||||||
|
"_data": "法强"
|
||||||
},
|
},
|
||||||
"speed": {
|
"speed": {
|
||||||
"_leaf": true,
|
"_leaf": true,
|
||||||
@ -366,7 +373,7 @@ var comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
|||||||
"_docs": "退化扣防",
|
"_docs": "退化扣防",
|
||||||
"_data": "退化时勇士下降的防御力点数"
|
"_data": "退化时勇士下降的防御力点数"
|
||||||
},
|
},
|
||||||
"damage": {
|
"damage2": {
|
||||||
"_leaf": true,
|
"_leaf": true,
|
||||||
"_type": "textarea",
|
"_type": "textarea",
|
||||||
"_range": "thiseval==~~thiseval||thiseval==null",
|
"_range": "thiseval==~~thiseval||thiseval==null",
|
||||||
@ -389,7 +396,7 @@ var comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"enemys_template": { 'name': '新敌人', 'hp': 0, 'atk': 0, 'def': 0, 'money': 0, 'exp': 0, 'point': 0, 'special': [] },
|
"enemys_template": { 'name': '新敌人', 'hp': 0, 'atk': 0, 'def': 0, 'mdef': 0, 'speed': 0, 'money': 0, 'exp': 0, 'point': 0, 'special': [] },
|
||||||
|
|
||||||
|
|
||||||
// --------------------------- 【图块属性】相关的表格配置 --------------------------- //
|
// --------------------------- 【图块属性】相关的表格配置 --------------------------- //
|
||||||
|
@ -264,10 +264,27 @@ var data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
|||||||
"_type": "textarea",
|
"_type": "textarea",
|
||||||
"_data": "防御"
|
"_data": "防御"
|
||||||
},
|
},
|
||||||
|
"spell": {
|
||||||
|
"_leaf": true,
|
||||||
|
"_type": "textarea",
|
||||||
|
"_data": "法强",
|
||||||
|
},
|
||||||
"mdef": {
|
"mdef": {
|
||||||
"_leaf": true,
|
"_leaf": true,
|
||||||
"_type": "textarea",
|
"_type": "textarea",
|
||||||
"_data": "法强"
|
"_data": "法抗百分比",
|
||||||
|
},
|
||||||
|
"matk": {
|
||||||
|
"_leaf": true,
|
||||||
|
"_type": "textarea",
|
||||||
|
"_data": "100为法强转化为等值魔攻",
|
||||||
|
"_docs": "魔攻比例"
|
||||||
|
},
|
||||||
|
"mhp": {
|
||||||
|
"_leaf": true,
|
||||||
|
"_type": "textarea",
|
||||||
|
"_data": "100为法强转化为等值护盾",
|
||||||
|
"_docs": "护盾比例"
|
||||||
},
|
},
|
||||||
"speed": {
|
"speed": {
|
||||||
"_leaf": true,
|
"_leaf": true,
|
||||||
|
@ -122,6 +122,12 @@ var plugins_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
|||||||
"_type": "textarea",
|
"_type": "textarea",
|
||||||
"_range": "typeof(thiseval)=='string' || thiseval==null",
|
"_range": "typeof(thiseval)=='string' || thiseval==null",
|
||||||
"_data": "音乐鉴赏"
|
"_data": "音乐鉴赏"
|
||||||
|
},
|
||||||
|
"intro&loop": {
|
||||||
|
"_leaf": true,
|
||||||
|
"_type": "textarea",
|
||||||
|
"_range": "typeof(thiseval)=='string' || thiseval==null",
|
||||||
|
"_data": "背景音乐拼接"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (obj[key]) return obj[key];
|
if (obj[key]) return obj[key];
|
||||||
|
2867
libs/control.js
2883
libs/events.js
554
libs/loader.js
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
loader.js:负责对资源的加载
|
loader.js:负责对资源的加载
|
||||||
|
|
||||||
@ -9,19 +8,17 @@ function loader () {
|
|||||||
this._init();
|
this._init();
|
||||||
}
|
}
|
||||||
|
|
||||||
loader.prototype._init = function () {
|
loader.prototype._init = function () {};
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
////// 设置加载进度条进度 //////
|
////// 设置加载进度条进度 //////
|
||||||
loader.prototype._setStartProgressVal = function (val) {
|
loader.prototype._setStartProgressVal = function (val) {
|
||||||
core.dom.startTopProgress.style.width = val + '%';
|
core.dom.startTopProgress.style.width = val + "%";
|
||||||
}
|
};
|
||||||
|
|
||||||
////// 设置加载进度条提示文字 //////
|
////// 设置加载进度条提示文字 //////
|
||||||
loader.prototype._setStartLoadTipText = function (text) {
|
loader.prototype._setStartLoadTipText = function (text) {
|
||||||
core.dom.startTopLoadTips.innerText = text;
|
core.dom.startTopLoadTips.innerText = text;
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._load = function (callback) {
|
loader.prototype._load = function (callback) {
|
||||||
this._loadMusics();
|
this._loadMusics();
|
||||||
@ -30,7 +27,7 @@ loader.prototype._load = function (callback) {
|
|||||||
} else {
|
} else {
|
||||||
this._load_sync(callback);
|
this._load_sync(callback);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._load_sync = function (callback) {
|
loader.prototype._load_sync = function (callback) {
|
||||||
this._loadAnimates_sync();
|
this._loadAnimates_sync();
|
||||||
@ -39,13 +36,13 @@ loader.prototype._load_sync = function (callback) {
|
|||||||
core.loader._loadExtraImages_sync(function () {
|
core.loader._loadExtraImages_sync(function () {
|
||||||
core.loader._loadAutotiles_sync(function () {
|
core.loader._loadAutotiles_sync(function () {
|
||||||
core.loader._loadTilesets_sync(callback);
|
core.loader._loadTilesets_sync(callback);
|
||||||
})
|
|
||||||
})
|
|
||||||
});
|
});
|
||||||
}
|
});
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._load_async = function (callback) {
|
loader.prototype._load_async = function (callback) {
|
||||||
core.loader._setStartLoadTipText('正在加载资源文件...');
|
core.loader._setStartLoadTipText("正在加载资源文件...");
|
||||||
const all = {};
|
const all = {};
|
||||||
|
|
||||||
const _makeOnProgress = function (name) {
|
const _makeOnProgress = function (name) {
|
||||||
@ -53,7 +50,8 @@ loader.prototype._load_async = function (callback) {
|
|||||||
return (loaded, total) => {
|
return (loaded, total) => {
|
||||||
all[name].loaded = loaded;
|
all[name].loaded = loaded;
|
||||||
all[name].total = total;
|
all[name].total = total;
|
||||||
let allLoaded = 0, allTotal = 0;
|
let allLoaded = 0,
|
||||||
|
allTotal = 0;
|
||||||
for (const one of Object.values(all)) {
|
for (const one of Object.values(all)) {
|
||||||
allLoaded += one.loaded;
|
allLoaded += one.loaded;
|
||||||
allTotal += one.total;
|
allTotal += one.total;
|
||||||
@ -63,14 +61,20 @@ loader.prototype._load_async = function (callback) {
|
|||||||
if (allLoaded == allTotal) {
|
if (allLoaded == allTotal) {
|
||||||
core.loader._setStartLoadTipText("正在处理资源文件... 请稍候...");
|
core.loader._setStartLoadTipText("正在处理资源文件... 请稍候...");
|
||||||
} else {
|
} else {
|
||||||
core.loader._setStartLoadTipText('正在加载资源文件... ' +
|
core.loader._setStartLoadTipText(
|
||||||
core.formatSize(allLoaded) + " / " + core.formatSize(allTotal) +
|
"正在加载资源文件... " +
|
||||||
" (" + (allLoaded / allTotal * 100).toFixed(2) + "%)");
|
core.formatSize(allLoaded) +
|
||||||
|
" / " +
|
||||||
|
core.formatSize(allTotal) +
|
||||||
|
" (" +
|
||||||
|
((allLoaded / allTotal) * 100).toFixed(2) +
|
||||||
|
"%)"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
core.loader._setStartProgressVal(allLoaded / allTotal * 100);
|
core.loader._setStartProgressVal((allLoaded / allTotal) * 100);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
const _makeOnFinished = function (name) {
|
const _makeOnFinished = function (name) {
|
||||||
return () => {
|
return () => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@ -80,58 +84,121 @@ loader.prototype._load_async = function (callback) {
|
|||||||
}
|
}
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
if (main.splitChunkMap) {
|
if (main.splitChunkMap) {
|
||||||
this._loadAnimates_chunked(main.splitChunkMap.animates, _makeOnProgress, _makeOnFinished);
|
this._loadAnimates_chunked(
|
||||||
this._loadSounds_chunked(main.splitChunkMap.sounds, _makeOnProgress, _makeOnFinished);
|
main.splitChunkMap.animates,
|
||||||
this._loadMaterials_chunked(main.splitChunkMap.materials, _makeOnProgress, _makeOnFinished);
|
_makeOnProgress,
|
||||||
this._loadExtraImages_chunked(main.splitChunkMap.images, _makeOnProgress, _makeOnFinished);
|
_makeOnFinished
|
||||||
this._loadAutotiles_chunked(main.splitChunkMap.autotiles, _makeOnProgress, _makeOnFinished);
|
);
|
||||||
this._loadTilesets_chunked(main.splitChunkMap.tilesets, _makeOnProgress, _makeOnFinished);
|
this._loadSounds_chunked(
|
||||||
|
main.splitChunkMap.sounds,
|
||||||
|
_makeOnProgress,
|
||||||
|
_makeOnFinished
|
||||||
|
);
|
||||||
|
this._loadMaterials_chunked(
|
||||||
|
main.splitChunkMap.materials,
|
||||||
|
_makeOnProgress,
|
||||||
|
_makeOnFinished
|
||||||
|
);
|
||||||
|
this._loadExtraImages_chunked(
|
||||||
|
main.splitChunkMap.images,
|
||||||
|
_makeOnProgress,
|
||||||
|
_makeOnFinished
|
||||||
|
);
|
||||||
|
this._loadAutotiles_chunked(
|
||||||
|
main.splitChunkMap.autotiles,
|
||||||
|
_makeOnProgress,
|
||||||
|
_makeOnFinished
|
||||||
|
);
|
||||||
|
this._loadTilesets_chunked(
|
||||||
|
main.splitChunkMap.tilesets,
|
||||||
|
_makeOnProgress,
|
||||||
|
_makeOnFinished
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
this._loadAnimates_async(_makeOnProgress('animates'), _makeOnFinished('animates'));
|
this._loadAnimates_async(
|
||||||
this._loadSounds_async(_makeOnProgress('sounds'), _makeOnFinished('sounds'));
|
_makeOnProgress("animates"),
|
||||||
this._loadMaterials_async(_makeOnProgress('materials'), _makeOnFinished('materials'));
|
_makeOnFinished("animates")
|
||||||
this._loadExtraImages_async(_makeOnProgress('images'), _makeOnFinished('images'));
|
);
|
||||||
this._loadAutotiles_async(_makeOnProgress('autotiles'), _makeOnFinished('autotiles'));
|
this._loadSounds_async(
|
||||||
this._loadTilesets_async(_makeOnProgress('tilesets'), _makeOnFinished('tilesets'));
|
_makeOnProgress("sounds"),
|
||||||
}
|
_makeOnFinished("sounds")
|
||||||
|
);
|
||||||
|
this._loadMaterials_async(
|
||||||
|
_makeOnProgress("materials"),
|
||||||
|
_makeOnFinished("materials")
|
||||||
|
);
|
||||||
|
this._loadExtraImages_async(
|
||||||
|
_makeOnProgress("images"),
|
||||||
|
_makeOnFinished("images")
|
||||||
|
);
|
||||||
|
this._loadAutotiles_async(
|
||||||
|
_makeOnProgress("autotiles"),
|
||||||
|
_makeOnFinished("autotiles")
|
||||||
|
);
|
||||||
|
this._loadTilesets_async(
|
||||||
|
_makeOnProgress("tilesets"),
|
||||||
|
_makeOnFinished("tilesets")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// ----- 加载资源文件 ------ //
|
// ----- 加载资源文件 ------ //
|
||||||
|
|
||||||
loader.prototype._loadMaterials_sync = function (callback) {
|
loader.prototype._loadMaterials_sync = function (callback) {
|
||||||
this._setStartLoadTipText("正在加载资源文件...");
|
this._setStartLoadTipText("正在加载资源文件...");
|
||||||
this.loadImages("materials", core.materials, core.material.images, function () {
|
this.loadImages(
|
||||||
|
"materials",
|
||||||
|
core.materials,
|
||||||
|
core.material.images,
|
||||||
|
function () {
|
||||||
core.loader._loadMaterials_afterLoad();
|
core.loader._loadMaterials_afterLoad();
|
||||||
callback();
|
callback();
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadMaterials_async = function (onprogress, onfinished) {
|
loader.prototype._loadMaterials_async = function (onprogress, onfinished) {
|
||||||
this.loadImagesFromZip('project/materials/materials.h5data', core.materials, core.material.images, onprogress, function () {
|
this.loadImagesFromZip(
|
||||||
|
"project/materials/materials.h5data",
|
||||||
|
core.materials,
|
||||||
|
core.material.images,
|
||||||
|
onprogress,
|
||||||
|
function () {
|
||||||
core.loader._loadMaterials_afterLoad();
|
core.loader._loadMaterials_afterLoad();
|
||||||
onfinished();
|
onfinished();
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadMaterials_chunked = async function (chunks, makeOnProgress, makeOnFinished) {
|
loader.prototype._loadMaterials_chunked = async function (
|
||||||
await this._loadImagesFromChunks(chunks, core.materials, core.material.images, makeOnProgress, makeOnFinished);
|
chunks,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
) {
|
||||||
|
await this._loadImagesFromChunks(
|
||||||
|
chunks,
|
||||||
|
core.materials,
|
||||||
|
core.material.images,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
);
|
||||||
core.loader._loadMaterials_afterLoad();
|
core.loader._loadMaterials_afterLoad();
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._loadMaterials_afterLoad = function () {
|
loader.prototype._loadMaterials_afterLoad = function () {
|
||||||
const images = core.splitImage(core.material.images['icons']);
|
const images = core.splitImage(core.material.images["icons"]);
|
||||||
for (let key in core.statusBar.icons) {
|
for (let key in core.statusBar.icons) {
|
||||||
if (typeof core.statusBar.icons[key] == 'number') {
|
if (typeof core.statusBar.icons[key] == "number") {
|
||||||
core.statusBar.icons[key] = images[core.statusBar.icons[key]];
|
core.statusBar.icons[key] = images[core.statusBar.icons[key]];
|
||||||
if (core.statusBar.image[key] != null)
|
if (core.statusBar.image[key] != null)
|
||||||
core.statusBar.image[key].src = core.statusBar.icons[key].src;
|
core.statusBar.image[key].src = core.statusBar.icons[key].src;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
// ------ 加载使用的图片 ------ //
|
// ------ 加载使用的图片 ------ //
|
||||||
|
|
||||||
@ -139,38 +206,54 @@ loader.prototype._loadExtraImages_sync = function (callback) {
|
|||||||
core.material.images.images = {};
|
core.material.images.images = {};
|
||||||
this._setStartLoadTipText("正在加载图片文件...");
|
this._setStartLoadTipText("正在加载图片文件...");
|
||||||
core.loadImages("images", core.images, core.material.images.images, callback);
|
core.loadImages("images", core.images, core.material.images.images, callback);
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._loadExtraImages_async = function (onprogress, onfinished) {
|
loader.prototype._loadExtraImages_async = function (onprogress, onfinished) {
|
||||||
core.material.images.images = {};
|
core.material.images.images = {};
|
||||||
|
|
||||||
// Check .gif
|
// Check .gif
|
||||||
const gifs = images.filter(function (name) {
|
const gifs = images.filter(function (name) {
|
||||||
return name.toLowerCase().endsWith('.gif');
|
return name.toLowerCase().endsWith(".gif");
|
||||||
});
|
});
|
||||||
// gif没有被压缩在zip中,延迟加载...
|
// gif没有被压缩在zip中,延迟加载...
|
||||||
this._loadExtraImages_loadLazy(gifs);
|
this._loadExtraImages_loadLazy(gifs);
|
||||||
|
|
||||||
images = images.filter((name) => !name.toLowerCase().endsWith('.gif'));
|
images = images.filter((name) => !name.toLowerCase().endsWith(".gif"));
|
||||||
|
|
||||||
this.loadImagesFromZip('project/images/images.h5data', images, core.material.images.images, onprogress, onfinished);
|
this.loadImagesFromZip(
|
||||||
}
|
"project/images/images.h5data",
|
||||||
|
images,
|
||||||
|
core.material.images.images,
|
||||||
|
onprogress,
|
||||||
|
onfinished
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadExtraImages_chunked = function (chunks, makeOnProgress, makeOnFinished) {
|
loader.prototype._loadExtraImages_chunked = function (
|
||||||
|
chunks,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
) {
|
||||||
core.material.images.images = {};
|
core.material.images.images = {};
|
||||||
let images = core.images;
|
let images = core.images;
|
||||||
|
|
||||||
// Check .gif
|
// Check .gif
|
||||||
const gifs = images.filter(function (name) {
|
const gifs = images.filter(function (name) {
|
||||||
return name.toLowerCase().endsWith('.gif');
|
return name.toLowerCase().endsWith(".gif");
|
||||||
});
|
});
|
||||||
// gif没有被压缩在zip中,延迟加载...
|
// gif没有被压缩在zip中,延迟加载...
|
||||||
this._loadExtraImages_loadLazy(gifs);
|
this._loadExtraImages_loadLazy(gifs);
|
||||||
|
|
||||||
images = images.filter((name) => !name.toLowerCase().endsWith('.gif'));
|
images = images.filter((name) => !name.toLowerCase().endsWith(".gif"));
|
||||||
|
|
||||||
this._loadImagesFromChunks(chunks, images, core.material.images.images, makeOnProgress, makeOnFinished);
|
this._loadImagesFromChunks(
|
||||||
}
|
chunks,
|
||||||
|
images,
|
||||||
|
core.material.images.images,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadExtraImages_loadLazy = function (list) {
|
loader.prototype._loadExtraImages_loadLazy = function (list) {
|
||||||
list.forEach(function (gif) {
|
list.forEach(function (gif) {
|
||||||
@ -180,7 +263,7 @@ loader.prototype._loadExtraImages_loadLazy = function (list) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, this);
|
}, this);
|
||||||
}
|
};
|
||||||
|
|
||||||
// ------ 加载自动元件 ------ //
|
// ------ 加载自动元件 ------ //
|
||||||
|
|
||||||
@ -194,27 +277,43 @@ loader.prototype._loadAutotiles_sync = function (callback) {
|
|||||||
core.loader._loadAutotiles_afterLoad(keys, autotiles);
|
core.loader._loadAutotiles_afterLoad(keys, autotiles);
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._loadAutotiles_async = function (onprogress, onfinished) {
|
loader.prototype._loadAutotiles_async = function (onprogress, onfinished) {
|
||||||
core.material.images.autotile = {};
|
core.material.images.autotile = {};
|
||||||
var keys = Object.keys(core.material.icons.autotile);
|
var keys = Object.keys(core.material.icons.autotile);
|
||||||
var autotiles = {};
|
var autotiles = {};
|
||||||
|
|
||||||
this.loadImagesFromZip('project/autotiles/autotiles.h5data', keys, autotiles, onprogress, function () {
|
this.loadImagesFromZip(
|
||||||
|
"project/autotiles/autotiles.h5data",
|
||||||
|
keys,
|
||||||
|
autotiles,
|
||||||
|
onprogress,
|
||||||
|
function () {
|
||||||
core.loader._loadAutotiles_afterLoad(keys, autotiles);
|
core.loader._loadAutotiles_afterLoad(keys, autotiles);
|
||||||
onfinished();
|
onfinished();
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadAutotiles_chunked = async function (chunks, makeOnProgress, makeOnFinished) {
|
loader.prototype._loadAutotiles_chunked = async function (
|
||||||
|
chunks,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
) {
|
||||||
core.material.images.autotile = {};
|
core.material.images.autotile = {};
|
||||||
const keys = Object.keys(core.material.icons.autotile);
|
const keys = Object.keys(core.material.icons.autotile);
|
||||||
const autotiles = {};
|
const autotiles = {};
|
||||||
|
|
||||||
await this._loadImagesFromChunks(chunks, keys, autotiles, makeOnProgress, makeOnFinished);
|
await this._loadImagesFromChunks(
|
||||||
|
chunks,
|
||||||
|
keys,
|
||||||
|
autotiles,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
);
|
||||||
core.loader._loadAutotiles_afterLoad(keys, autotiles);
|
core.loader._loadAutotiles_afterLoad(keys, autotiles);
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._loadAutotiles_afterLoad = function (keys, autotiles) {
|
loader.prototype._loadAutotiles_afterLoad = function (keys, autotiles) {
|
||||||
// autotile需要保证顺序
|
// autotile需要保证顺序
|
||||||
@ -225,33 +324,53 @@ loader.prototype._loadAutotiles_afterLoad = function (keys, autotiles) {
|
|||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
core.maps._makeAutotileEdges();
|
core.maps._makeAutotileEdges();
|
||||||
});
|
});
|
||||||
|
};
|
||||||
}
|
|
||||||
|
|
||||||
// ------ 加载额外素材 ------ //
|
// ------ 加载额外素材 ------ //
|
||||||
|
|
||||||
loader.prototype._loadTilesets_sync = function (callback) {
|
loader.prototype._loadTilesets_sync = function (callback) {
|
||||||
core.material.images.tilesets = {};
|
core.material.images.tilesets = {};
|
||||||
this._setStartLoadTipText("正在加载额外素材...");
|
this._setStartLoadTipText("正在加载额外素材...");
|
||||||
this.loadImages("tilesets", core.tilesets, core.material.images.tilesets, function () {
|
this.loadImages(
|
||||||
|
"tilesets",
|
||||||
|
core.tilesets,
|
||||||
|
core.material.images.tilesets,
|
||||||
|
function () {
|
||||||
core.loader._loadTilesets_afterLoad();
|
core.loader._loadTilesets_afterLoad();
|
||||||
callback();
|
callback();
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadTilesets_async = function (onprogress, onfinished) {
|
loader.prototype._loadTilesets_async = function (onprogress, onfinished) {
|
||||||
core.material.images.tilesets = {};
|
core.material.images.tilesets = {};
|
||||||
this.loadImagesFromZip('project/tilesets/tilesets.h5data', core.tilesets, core.material.images.tilesets, onprogress, function () {
|
this.loadImagesFromZip(
|
||||||
|
"project/tilesets/tilesets.h5data",
|
||||||
|
core.tilesets,
|
||||||
|
core.material.images.tilesets,
|
||||||
|
onprogress,
|
||||||
|
function () {
|
||||||
core.loader._loadTilesets_afterLoad();
|
core.loader._loadTilesets_afterLoad();
|
||||||
onfinished();
|
onfinished();
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadTilesets_chunked = async function (chunks, makeOnProgress, makeOnFinished) {
|
loader.prototype._loadTilesets_chunked = async function (
|
||||||
|
chunks,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
) {
|
||||||
core.material.images.tilesets = {};
|
core.material.images.tilesets = {};
|
||||||
await this._loadImagesFromChunks(chunks, core.tilesets, core.material.images.tilesets, makeOnProgress, makeOnFinished);
|
await this._loadImagesFromChunks(
|
||||||
|
chunks,
|
||||||
|
core.tilesets,
|
||||||
|
core.material.images.tilesets,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
);
|
||||||
core.loader._loadTilesets_afterLoad();
|
core.loader._loadTilesets_afterLoad();
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._loadTilesets_afterLoad = function () {
|
loader.prototype._loadTilesets_afterLoad = function () {
|
||||||
// 检查宽高是32倍数,如果出错在控制台报错
|
// 检查宽高是32倍数,如果出错在控制台报错
|
||||||
@ -264,7 +383,7 @@ loader.prototype._loadTilesets_afterLoad = function () {
|
|||||||
console.warn("警告!" + imgName + "上的图块素材个数大于3000!");
|
console.warn("警告!" + imgName + "上的图块素材个数大于3000!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
// ------ 实际加载一系列图片 ------ //
|
// ------ 实际加载一系列图片 ------ //
|
||||||
|
|
||||||
@ -276,10 +395,9 @@ loader.prototype.loadImages = function (dir, names, toSave, callback) {
|
|||||||
var items = 0;
|
var items = 0;
|
||||||
for (var i = 0; i < names.length; i++) {
|
for (var i = 0; i < names.length; i++) {
|
||||||
this.loadImage(dir, names[i], function (id, image) {
|
this.loadImage(dir, names[i], function (id, image) {
|
||||||
core.loader._setStartLoadTipText('正在加载图片 ' + id + "...");
|
core.loader._setStartLoadTipText("正在加载图片 " + id + "...");
|
||||||
if (toSave[id] !== undefined) {
|
if (toSave[id] !== undefined) {
|
||||||
if (image != null)
|
if (image != null) toSave[id] = image;
|
||||||
toSave[id] = image;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
toSave[id] = image;
|
toSave[id] = image;
|
||||||
@ -288,46 +406,51 @@ loader.prototype.loadImages = function (dir, names, toSave, callback) {
|
|||||||
if (items == names.length) {
|
if (items == names.length) {
|
||||||
if (callback) callback();
|
if (callback) callback();
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype.loadImage = function (dir, imgName, callback) {
|
loader.prototype.loadImage = function (dir, imgName, callback) {
|
||||||
try {
|
try {
|
||||||
var name = imgName;
|
var name = imgName;
|
||||||
if (name.indexOf(".") < 0)
|
if (name.indexOf(".") < 0) name = name + ".png";
|
||||||
name = name + ".png";
|
|
||||||
var image = new Image();
|
var image = new Image();
|
||||||
image.onload = function () {
|
image.onload = function () {
|
||||||
image.setAttribute('_width', image.width);
|
image.setAttribute("_width", image.width);
|
||||||
image.setAttribute('_height', image.height);
|
image.setAttribute("_height", image.height);
|
||||||
callback(imgName, image);
|
callback(imgName, image);
|
||||||
}
|
};
|
||||||
image.onerror = function () {
|
image.onerror = function () {
|
||||||
callback(imgName, null);
|
callback(imgName, null);
|
||||||
}
|
};
|
||||||
image.src = 'project/' + dir + '/' + name + "?v=" + main.version;
|
image.src = "project/" + dir + "/" + name + "?v=" + main.version;
|
||||||
if (name.endsWith('.gif'))
|
if (name.endsWith(".gif")) callback(imgName, null);
|
||||||
callback(imgName, null);
|
} catch (e) {
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
console.error(e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
// ------ 从zip中加载一系列图片 ------ //
|
// ------ 从zip中加载一系列图片 ------ //
|
||||||
|
|
||||||
loader.prototype.loadImagesFromZip = function (url, names, toSave, onprogress, onfinished) {
|
loader.prototype.loadImagesFromZip = function (
|
||||||
|
url,
|
||||||
|
names,
|
||||||
|
toSave,
|
||||||
|
onprogress,
|
||||||
|
onfinished
|
||||||
|
) {
|
||||||
if (!names || names.length == 0) {
|
if (!names || names.length == 0) {
|
||||||
if (onfinished) onfinished();
|
if (onfinished) onfinished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
core.unzip(url + "?v=" + main.version, function (data) {
|
core.unzip(
|
||||||
|
url + "?v=" + main.version,
|
||||||
|
function (data) {
|
||||||
var cnt = 1;
|
var cnt = 1;
|
||||||
names.forEach(function (name) {
|
names.forEach(function (name) {
|
||||||
var imgName = name;
|
var imgName = name;
|
||||||
if (imgName.indexOf('.') < 0) imgName += '.png';
|
if (imgName.indexOf(".") < 0) imgName += ".png";
|
||||||
if (imgName in data) {
|
if (imgName in data) {
|
||||||
var img = new Image();
|
var img = new Image();
|
||||||
var url = URL.createObjectURL(data[imgName]);
|
var url = URL.createObjectURL(data[imgName]);
|
||||||
@ -335,21 +458,32 @@ loader.prototype.loadImagesFromZip = function (url, names, toSave, onprogress, o
|
|||||||
img.onload = function () {
|
img.onload = function () {
|
||||||
cnt--;
|
cnt--;
|
||||||
URL.revokeObjectURL(url);
|
URL.revokeObjectURL(url);
|
||||||
img.setAttribute('_width', img.width);
|
img.setAttribute("_width", img.width);
|
||||||
img.setAttribute('_height', img.height);
|
img.setAttribute("_height", img.height);
|
||||||
if (cnt == 0 && onfinished) onfinished();
|
if (cnt == 0 && onfinished) onfinished();
|
||||||
}
|
};
|
||||||
img.src = url;
|
img.src = url;
|
||||||
toSave[name] = img;
|
toSave[name] = img;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
cnt--;
|
cnt--;
|
||||||
if (cnt == 0 && onfinished) onfinished();
|
if (cnt == 0 && onfinished) onfinished();
|
||||||
}, null, false, onprogress);
|
},
|
||||||
}
|
null,
|
||||||
|
false,
|
||||||
|
onprogress
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadImagesFromChunks = async function (chunks, names, toSave, makeOnProgress, makeOnFinished) {
|
loader.prototype._loadImagesFromChunks = async function (
|
||||||
await Promise.all(chunks.map((chunk) => {
|
chunks,
|
||||||
|
names,
|
||||||
|
toSave,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
) {
|
||||||
|
await Promise.all(
|
||||||
|
chunks.map((chunk) => {
|
||||||
const onfinished = makeOnFinished(chunk);
|
const onfinished = makeOnFinished(chunk);
|
||||||
const onprogress = makeOnProgress(chunk);
|
const onprogress = makeOnProgress(chunk);
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
@ -358,8 +492,9 @@ loader.prototype._loadImagesFromChunks = async function (chunks, names, toSave,
|
|||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}));
|
})
|
||||||
}
|
);
|
||||||
|
};
|
||||||
|
|
||||||
// ------ 加载动画文件 ------ //
|
// ------ 加载动画文件 ------ //
|
||||||
|
|
||||||
@ -368,37 +503,67 @@ loader.prototype._loadAnimates_sync = function () {
|
|||||||
|
|
||||||
if (main.supportBunch) {
|
if (main.supportBunch) {
|
||||||
if (core.animates.length > 0) {
|
if (core.animates.length > 0) {
|
||||||
core.http('GET', '__all_animates__?v=' + main.version + '&id=' + core.animates.join(','), null, function (content) {
|
core.http(
|
||||||
var u = content.split('@@@~~~###~~~@@@');
|
"GET",
|
||||||
|
"__all_animates__?v=" + main.version + "&id=" + core.animates.join(","),
|
||||||
|
null,
|
||||||
|
function (content) {
|
||||||
|
var u = content.split("@@@~~~###~~~@@@");
|
||||||
for (var i = 0; i < core.animates.length; ++i) {
|
for (var i = 0; i < core.animates.length; ++i) {
|
||||||
if (u[i] != '') {
|
if (u[i] != "") {
|
||||||
core.material.animates[core.animates[i]] = core.loader._loadAnimate(u[i]);
|
core.material.animates[core.animates[i]] =
|
||||||
|
core.loader._loadAnimate(u[i]);
|
||||||
} else {
|
} else {
|
||||||
console.error('无法找到动画文件' + core.animates[i] + '!');
|
console.error("无法找到动画文件" + core.animates[i] + "!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, "text/plain; charset=x-user-defined");
|
},
|
||||||
|
"text/plain; charset=x-user-defined"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
core.animates.forEach(function (t) {
|
core.animates.forEach(function (t) {
|
||||||
core.http('GET', 'project/animates/' + t + ".animate?v=" + main.version, null, function (content) {
|
core.http(
|
||||||
|
"GET",
|
||||||
|
"project/animates/" + t + ".animate?v=" + main.version,
|
||||||
|
null,
|
||||||
|
function (content) {
|
||||||
core.material.animates[t] = core.loader._loadAnimate(content);
|
core.material.animates[t] = core.loader._loadAnimate(content);
|
||||||
}, function (e) {
|
},
|
||||||
|
function (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
core.material.animates[t] = null;
|
core.material.animates[t] = null;
|
||||||
}, "text/plain; charset=x-user-defined")
|
},
|
||||||
|
"text/plain; charset=x-user-defined"
|
||||||
|
);
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._loadAnimates_async = function (onprogress, onfinished) {
|
loader.prototype._loadAnimates_async = function (onprogress, onfinished) {
|
||||||
this._loadFileFromZip('project/animates/animates.h5data', this._saveAnimate, true, onprogress, onfinished);
|
this._loadFileFromZip(
|
||||||
}
|
"project/animates/animates.h5data",
|
||||||
|
this._saveAnimate,
|
||||||
|
true,
|
||||||
|
onprogress,
|
||||||
|
onfinished
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadAnimates_chunked = function (chunks, makeOnProgress, makeOnFinished) {
|
loader.prototype._loadAnimates_chunked = function (
|
||||||
this._loadFileFromChunks(chunks, this._saveAnimate, true, makeOnProgress, makeOnFinished);
|
chunks,
|
||||||
}
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
) {
|
||||||
|
this._loadFileFromChunks(
|
||||||
|
chunks,
|
||||||
|
this._saveAnimate,
|
||||||
|
true,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._saveAnimate = function (animates, onfinished) {
|
loader.prototype._saveAnimate = function (animates, onfinished) {
|
||||||
for (var name in animates) {
|
for (var name in animates) {
|
||||||
@ -409,7 +574,7 @@ loader.prototype._saveAnimate = function (animates, onfinished) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
onfinished();
|
onfinished();
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._loadAnimate = function (content) {
|
loader.prototype._loadAnimate = function (content) {
|
||||||
try {
|
try {
|
||||||
@ -422,8 +587,7 @@ loader.prototype._loadAnimate = function (content) {
|
|||||||
content.bitmaps.forEach(function (t2) {
|
content.bitmaps.forEach(function (t2) {
|
||||||
if (!t2) {
|
if (!t2) {
|
||||||
data.images.push(null);
|
data.images.push(null);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
try {
|
try {
|
||||||
var image = new Image();
|
var image = new Image();
|
||||||
image.src = t2;
|
image.src = t2;
|
||||||
@ -433,31 +597,30 @@ loader.prototype._loadAnimate = function (content) {
|
|||||||
data.images.push(null);
|
data.images.push(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
data.frame = content.frame_max;
|
data.frame = content.frame_max;
|
||||||
data.frames = [];
|
data.frames = [];
|
||||||
content.frames.forEach(function (t2) {
|
content.frames.forEach(function (t2) {
|
||||||
var info = [];
|
var info = [];
|
||||||
t2.forEach(function (t3) {
|
t2.forEach(function (t3) {
|
||||||
info.push({
|
info.push({
|
||||||
'index': t3[0],
|
index: t3[0],
|
||||||
'x': t3[1],
|
x: t3[1],
|
||||||
'y': t3[2],
|
y: t3[2],
|
||||||
'zoom': t3[3],
|
zoom: t3[3],
|
||||||
'opacity': t3[4],
|
opacity: t3[4],
|
||||||
'mirror': t3[5] || 0,
|
mirror: t3[5] || 0,
|
||||||
'angle': t3[6] || 0,
|
angle: t3[6] || 0,
|
||||||
})
|
});
|
||||||
})
|
});
|
||||||
data.frames.push(info);
|
data.frames.push(info);
|
||||||
});
|
});
|
||||||
return data;
|
return data;
|
||||||
}
|
} catch (e) {
|
||||||
catch (e) {
|
|
||||||
console.error(e);
|
console.error(e);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
// ------ 加载音乐和音效 ------ //
|
// ------ 加载音乐和音效 ------ //
|
||||||
|
|
||||||
@ -467,22 +630,38 @@ loader.prototype._loadMusics = function () {
|
|||||||
});
|
});
|
||||||
// 直接开始播放
|
// 直接开始播放
|
||||||
core.playBgm(main.startBgm);
|
core.playBgm(main.startBgm);
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._loadSounds_sync = function () {
|
loader.prototype._loadSounds_sync = function () {
|
||||||
this._setStartLoadTipText("正在加载音效文件...");
|
this._setStartLoadTipText("正在加载音效文件...");
|
||||||
core.sounds.forEach(function (t) {
|
core.sounds.forEach(function (t) {
|
||||||
core.loader.loadOneSound(t);
|
core.loader.loadOneSound(t);
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._loadSounds_async = function (onprogress, onfinished) {
|
loader.prototype._loadSounds_async = function (onprogress, onfinished) {
|
||||||
this._loadFileFromZip('project/sounds/sounds.h5data', this._saveSounds, false, onprogress, onfinished);
|
this._loadFileFromZip(
|
||||||
}
|
"project/sounds/sounds.h5data",
|
||||||
|
this._saveSounds,
|
||||||
|
false,
|
||||||
|
onprogress,
|
||||||
|
onfinished
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadSounds_chunked = function (chunks, makeOnProgress, makeOnFinished) {
|
loader.prototype._loadSounds_chunked = function (
|
||||||
this._loadFileFromChunks(chunks, this._saveSounds, false, makeOnProgress, makeOnFinished);
|
chunks,
|
||||||
}
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
) {
|
||||||
|
this._loadFileFromChunks(
|
||||||
|
chunks,
|
||||||
|
this._saveSounds,
|
||||||
|
false,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._saveSounds = function (data, onfinished) {
|
loader.prototype._saveSounds = function (data, onfinished) {
|
||||||
// 延迟解析
|
// 延迟解析
|
||||||
@ -494,25 +673,34 @@ loader.prototype._saveSounds = function (data, onfinished) {
|
|||||||
}
|
}
|
||||||
onfinished();
|
onfinished();
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype.loadOneMusic = function (name) {
|
loader.prototype.loadOneMusic = function (name) {
|
||||||
var music = new Audio();
|
/* var music = new Audio();
|
||||||
music.preload = 'none';
|
music.preload = "none";
|
||||||
if (main.bgmRemote) music.src = main.bgmRemoteRoot + core.firstData.name + '/' + name;
|
if (main.bgmRemote)
|
||||||
else music.src = 'project/bgms/' + name;
|
music.src = main.bgmRemoteRoot + core.firstData.name + "/" + name;
|
||||||
music.loop = 'loop';
|
else music.src = "project/bgms/" + name;
|
||||||
core.material.bgms[name] = music;
|
music.loop = "loop";
|
||||||
}
|
core.material.bgms[name] = music;*/
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype.loadOneSound = function (name) {
|
loader.prototype.loadOneSound = function (name) {
|
||||||
core.http('GET', 'project/sounds/' + name + "?v=" + main.version, null, function (data) {
|
core.http(
|
||||||
|
"GET",
|
||||||
|
"project/sounds/" + name + "?v=" + main.version,
|
||||||
|
null,
|
||||||
|
function (data) {
|
||||||
core.loader._loadOneSound_decodeData(name, data);
|
core.loader._loadOneSound_decodeData(name, data);
|
||||||
}, function (e) {
|
},
|
||||||
|
function (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
core.material.sounds[name] = null;
|
core.material.sounds[name] = null;
|
||||||
}, null, 'arraybuffer');
|
},
|
||||||
}
|
null,
|
||||||
|
"arraybuffer"
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadOneSound_decodeData = function (name, data) {
|
loader.prototype._loadOneSound_decodeData = function (name, data) {
|
||||||
if (data instanceof Blob) {
|
if (data instanceof Blob) {
|
||||||
@ -520,23 +708,26 @@ loader.prototype._loadOneSound_decodeData = function (name, data) {
|
|||||||
blobReader.init(function () {
|
blobReader.init(function () {
|
||||||
blobReader.readUint8Array(0, blobReader.size, function (uint8) {
|
blobReader.readUint8Array(0, blobReader.size, function (uint8) {
|
||||||
core.loader._loadOneSound_decodeData(name, uint8.buffer);
|
core.loader._loadOneSound_decodeData(name, uint8.buffer);
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
core.musicStatus.audioContext.decodeAudioData(data, function (buffer) {
|
core.musicStatus.audioContext.decodeAudioData(
|
||||||
|
data,
|
||||||
|
function (buffer) {
|
||||||
core.material.sounds[name] = buffer;
|
core.material.sounds[name] = buffer;
|
||||||
}, function (e) {
|
},
|
||||||
console.error(e);
|
function (e) {
|
||||||
core.material.sounds[name] = null;
|
|
||||||
})
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
console.error(e);
|
console.error(e);
|
||||||
core.material.sounds[name] = null;
|
core.material.sounds[name] = null;
|
||||||
}
|
}
|
||||||
|
);
|
||||||
|
} catch (e) {
|
||||||
|
console.error(e);
|
||||||
|
core.material.sounds[name] = null;
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype.loadBgm = function (name) {
|
loader.prototype.loadBgm = function (name) {
|
||||||
name = core.getMappedName(name);
|
name = core.getMappedName(name);
|
||||||
@ -547,8 +738,7 @@ loader.prototype.loadBgm = function (name) {
|
|||||||
var index = core.musicStatus.cachedBgms.indexOf(name);
|
var index = core.musicStatus.cachedBgms.indexOf(name);
|
||||||
if (index >= 0) {
|
if (index >= 0) {
|
||||||
core.musicStatus.cachedBgms.splice(index, 1);
|
core.musicStatus.cachedBgms.splice(index, 1);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// 预加载BGM
|
// 预加载BGM
|
||||||
this._preloadBgm(core.material.bgms[name]);
|
this._preloadBgm(core.material.bgms[name]);
|
||||||
// core.material.bgms[name].load();
|
// core.material.bgms[name].load();
|
||||||
@ -559,18 +749,20 @@ loader.prototype.loadBgm = function (name) {
|
|||||||
}
|
}
|
||||||
// 移动到缓存最前方
|
// 移动到缓存最前方
|
||||||
core.musicStatus.cachedBgms.unshift(name);
|
core.musicStatus.cachedBgms.unshift(name);
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._preloadBgm = function (bgm) {
|
loader.prototype._preloadBgm = function (bgm) {
|
||||||
bgm.volume = 0;
|
bgm.volume = 0;
|
||||||
bgm.play();
|
bgm.play();
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype.freeBgm = function (name) {
|
loader.prototype.freeBgm = function (name) {
|
||||||
name = core.getMappedName(name);
|
name = core.getMappedName(name);
|
||||||
if (!core.material.bgms[name]) return;
|
if (!core.material.bgms[name]) return;
|
||||||
// 从cachedBgms中删除
|
// 从cachedBgms中删除
|
||||||
core.musicStatus.cachedBgms = core.musicStatus.cachedBgms.filter(function (t) {
|
core.musicStatus.cachedBgms = core.musicStatus.cachedBgms.filter(function (
|
||||||
|
t
|
||||||
|
) {
|
||||||
return t != name;
|
return t != name;
|
||||||
});
|
});
|
||||||
// 清掉缓存
|
// 清掉缓存
|
||||||
@ -584,16 +776,35 @@ loader.prototype.freeBgm = function (name) {
|
|||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
core.loader.loadOneMusic(name);
|
core.loader.loadOneMusic(name);
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}
|
};
|
||||||
|
|
||||||
loader.prototype._loadFileFromZip = function (url, save, convertToText, onprogress, onfinished) {
|
loader.prototype._loadFileFromZip = function (
|
||||||
core.unzip(url + '?v=' + main.version, function (data) {
|
url,
|
||||||
|
save,
|
||||||
|
convertToText,
|
||||||
|
onprogress,
|
||||||
|
onfinished
|
||||||
|
) {
|
||||||
|
core.unzip(
|
||||||
|
url + "?v=" + main.version,
|
||||||
|
function (data) {
|
||||||
save(data, onfinished);
|
save(data, onfinished);
|
||||||
}, null, convertToText, onprogress);
|
},
|
||||||
}
|
null,
|
||||||
|
convertToText,
|
||||||
|
onprogress
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
loader.prototype._loadFileFromChunks = async function (chunks, save, convertToText, makeOnProgress, makeOnFinished) {
|
loader.prototype._loadFileFromChunks = async function (
|
||||||
await Promise.all(chunks.map((chunk) => {
|
chunks,
|
||||||
|
save,
|
||||||
|
convertToText,
|
||||||
|
makeOnProgress,
|
||||||
|
makeOnFinished
|
||||||
|
) {
|
||||||
|
await Promise.all(
|
||||||
|
chunks.map((chunk) => {
|
||||||
const onfinished = makeOnFinished(chunk);
|
const onfinished = makeOnFinished(chunk);
|
||||||
const onprogress = makeOnProgress(chunk);
|
const onprogress = makeOnProgress(chunk);
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
@ -602,5 +813,6 @@ loader.prototype._loadFileFromChunks = async function (chunks, save, convertToTe
|
|||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}));
|
})
|
||||||
}
|
);
|
||||||
|
};
|
||||||
|
930
libs/utils.js
9
main.js
@ -276,7 +276,7 @@ main.prototype.init = function (mode, callback) {
|
|||||||
coreData[t] = main[t];
|
coreData[t] = main[t];
|
||||||
});
|
});
|
||||||
main.core.init(coreData, callback);
|
main.core.init(coreData, callback);
|
||||||
main.core.resize();
|
core.resize();
|
||||||
// 自动放缩最大化
|
// 自动放缩最大化
|
||||||
if (!main.replayChecking) {
|
if (!main.replayChecking) {
|
||||||
if (core.getLocalStorage("autoScale") == null) {
|
if (core.getLocalStorage("autoScale") == null) {
|
||||||
@ -492,7 +492,6 @@ main.prototype.selectButton = function (index) {
|
|||||||
main.prototype.importFonts = function (fonts) {
|
main.prototype.importFonts = function (fonts) {
|
||||||
if (!(fonts instanceof Array) || fonts.length == 0) return;
|
if (!(fonts instanceof Array) || fonts.length == 0) return;
|
||||||
var style = document.createElement("style");
|
var style = document.createElement("style");
|
||||||
style.type = "text/css";
|
|
||||||
var html = "";
|
var html = "";
|
||||||
fonts.forEach(function (font) {
|
fonts.forEach(function (font) {
|
||||||
html +=
|
html +=
|
||||||
@ -910,7 +909,7 @@ main.prototype.listen = function () {
|
|||||||
////// 点击“开始游戏”时 //////
|
////// 点击“开始游戏”时 //////
|
||||||
main.dom.playGame.onclick = function () {
|
main.dom.playGame.onclick = function () {
|
||||||
main.dom.startButtons.style.display = "none";
|
main.dom.startButtons.style.display = "none";
|
||||||
main.core.control.checkBgm();
|
main.core.checkBgm();
|
||||||
|
|
||||||
if (main.levelChoose.length == 0) {
|
if (main.levelChoose.length == 0) {
|
||||||
core.events.startGame("");
|
core.events.startGame("");
|
||||||
@ -923,13 +922,13 @@ main.prototype.listen = function () {
|
|||||||
|
|
||||||
////// 点击“载入游戏”时 //////
|
////// 点击“载入游戏”时 //////
|
||||||
main.dom.loadGame.onclick = function () {
|
main.dom.loadGame.onclick = function () {
|
||||||
main.core.control.checkBgm();
|
main.core.checkBgm();
|
||||||
main.core.load();
|
main.core.load();
|
||||||
};
|
};
|
||||||
|
|
||||||
////// 点击“录像回放”时 //////
|
////// 点击“录像回放”时 //////
|
||||||
main.dom.replayGame.onclick = function () {
|
main.dom.replayGame.onclick = function () {
|
||||||
main.core.control.checkBgm();
|
main.core.checkBgm();
|
||||||
main.core.chooseReplayFile();
|
main.core.chooseReplayFile();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
BIN
project/bgms/Ascension.opus
Normal file
BIN
project/bgms/Blood_Stain.opus
Normal file
BIN
project/bgms/Halbmond.opus
Normal file
BIN
project/bgms/ed.opus
Normal file
BIN
project/bgms/theme.mp3
Normal file
@ -11,7 +11,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"jiaotang",
|
"jiaotang",
|
||||||
"shengnvhome",
|
"shengnvhome",
|
||||||
"shinvhome",
|
"shinvhome",
|
||||||
"jiedao",
|
"changguan2",
|
||||||
"street01",
|
"street01",
|
||||||
"street02",
|
"street02",
|
||||||
"guangchang",
|
"guangchang",
|
||||||
@ -28,10 +28,18 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"yiqu7",
|
"yiqu7",
|
||||||
"yiqu8",
|
"yiqu8",
|
||||||
"yiqu9",
|
"yiqu9",
|
||||||
"yiqu10"
|
"yiqu10",
|
||||||
|
"changguan1",
|
||||||
|
"guangchang3",
|
||||||
|
"guangchang4",
|
||||||
|
"yushou",
|
||||||
|
"zhujuejia"
|
||||||
],
|
],
|
||||||
"floorPartitions": [],
|
"floorPartitions": [],
|
||||||
"images": [
|
"images": [
|
||||||
|
"005-Attack03.webp",
|
||||||
|
"012-Heal01.webp",
|
||||||
|
"015-Fire01.webp",
|
||||||
"HPGaugeEnemy_A.webp",
|
"HPGaugeEnemy_A.webp",
|
||||||
"HPGaugeEnemy_B.webp",
|
"HPGaugeEnemy_B.webp",
|
||||||
"LOGO.webp",
|
"LOGO.webp",
|
||||||
@ -432,18 +440,21 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"face_440110.webp",
|
"face_440110.webp",
|
||||||
"green.webp",
|
"green.webp",
|
||||||
"hero.webp",
|
"hero.webp",
|
||||||
|
"jianji.webp",
|
||||||
"l.webp",
|
"l.webp",
|
||||||
"lane1.webp",
|
"lane1.webp",
|
||||||
"light.webp",
|
"light.webp",
|
||||||
"lock.webp",
|
"lock.webp",
|
||||||
"lr.webp",
|
"lr.webp",
|
||||||
"maba.webp",
|
"maba.webp",
|
||||||
|
"miwu.webp",
|
||||||
"null.webp",
|
"null.webp",
|
||||||
"other_0001.webp",
|
"other_0001.webp",
|
||||||
"other_0002.webp",
|
"other_0002.webp",
|
||||||
"other_0003.webp",
|
"other_0003.webp",
|
||||||
"other_0004.webp",
|
"other_0004.webp",
|
||||||
"r.webp",
|
"r.webp",
|
||||||
|
"sound.webp",
|
||||||
"status.webp",
|
"status.webp",
|
||||||
"suiji.webp",
|
"suiji.webp",
|
||||||
"tati_020101.webp",
|
"tati_020101.webp",
|
||||||
@ -776,6 +787,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"tati_120128.webp",
|
"tati_120128.webp",
|
||||||
"tati_120131.webp",
|
"tati_120131.webp",
|
||||||
"tati_120132.webp",
|
"tati_120132.webp",
|
||||||
|
"tati_310101.webp",
|
||||||
"tati_340101.webp",
|
"tati_340101.webp",
|
||||||
"tati_340101a.webp",
|
"tati_340101a.webp",
|
||||||
"tati_340101y.webp",
|
"tati_340101y.webp",
|
||||||
@ -886,7 +898,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"8.webp",
|
"8.webp",
|
||||||
"7.webp",
|
"7.webp",
|
||||||
"10.webp",
|
"10.webp",
|
||||||
"C5.webp"
|
"C5.webp",
|
||||||
|
"c6.png"
|
||||||
],
|
],
|
||||||
"animates": [
|
"animates": [
|
||||||
"hand",
|
"hand",
|
||||||
@ -897,11 +910,15 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"zone"
|
"zone"
|
||||||
],
|
],
|
||||||
"bgms": [
|
"bgms": [
|
||||||
|
"Ascension.opus",
|
||||||
"Asphodelus_Ceui.opus",
|
"Asphodelus_Ceui.opus",
|
||||||
"Blind_Alley.opus",
|
"Blind_Alley.opus",
|
||||||
|
"Blood_Stain.opus",
|
||||||
"Crawler.opus",
|
"Crawler.opus",
|
||||||
|
"Halbmond.opus",
|
||||||
|
"ed.opus",
|
||||||
"op.opus",
|
"op.opus",
|
||||||
"theme.opus"
|
"theme.mp3"
|
||||||
],
|
],
|
||||||
"sounds": [
|
"sounds": [
|
||||||
"aiy010000010.opus",
|
"aiy010000010.opus",
|
||||||
@ -994,7 +1011,6 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"aiy820000010.opus",
|
"aiy820000010.opus",
|
||||||
"aiy820000020.opus",
|
"aiy820000020.opus",
|
||||||
"attack.opus",
|
"attack.opus",
|
||||||
"attack.opus",
|
|
||||||
"bomb.opus",
|
"bomb.opus",
|
||||||
"cancel.opus",
|
"cancel.opus",
|
||||||
"centerFly.opus",
|
"centerFly.opus",
|
||||||
@ -1019,6 +1035,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
],
|
],
|
||||||
"fonts": [
|
"fonts": [
|
||||||
"HATTEN",
|
"HATTEN",
|
||||||
|
"Verdana",
|
||||||
"number",
|
"number",
|
||||||
"pala",
|
"pala",
|
||||||
"simhei"
|
"simhei"
|
||||||
@ -1057,7 +1074,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"饰品",
|
"饰品",
|
||||||
"饰品"
|
"饰品"
|
||||||
],
|
],
|
||||||
"startBgm": "theme.opus",
|
"startBgm": "theme.mp3",
|
||||||
"styles": {
|
"styles": {
|
||||||
"startBackground": "project/images/background.webp",
|
"startBackground": "project/images/background.webp",
|
||||||
"startVerticalBackground": "project/images/backgroundvertical.webp",
|
"startVerticalBackground": "project/images/backgroundvertical.webp",
|
||||||
@ -1093,20 +1110,20 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"title": "秽翼的尤斯蒂娅",
|
"title": "秽翼的尤斯蒂娅",
|
||||||
"name": "Eustia",
|
"name": "Eustia",
|
||||||
"version": "鸽子窝造塔小队",
|
"version": "鸽子窝造塔小队",
|
||||||
"floorId": "street01",
|
"floorId": "yiqu1",
|
||||||
"hero": {
|
"hero": {
|
||||||
"image": "hero.webp",
|
"image": "hero.webp",
|
||||||
"animate": false,
|
"animate": false,
|
||||||
"name": "Caim",
|
"name": "凯伊姆",
|
||||||
"lv": 1,
|
"lv": 1,
|
||||||
"hpmax": 9999,
|
"hpmax": 9999,
|
||||||
"hp": 1000,
|
"hp": 1000,
|
||||||
"manamax": -1,
|
"manamax": -1,
|
||||||
"mana": 0,
|
"mana": 0,
|
||||||
"atk": 100,
|
"atk": 60,
|
||||||
"def": 100,
|
"def": 10,
|
||||||
"mdef": 0,
|
"mdef": 100,
|
||||||
"speed": 0,
|
"speed": 10,
|
||||||
"money": 0,
|
"money": 0,
|
||||||
"exp": 0,
|
"exp": 0,
|
||||||
"equipment": [],
|
"equipment": [],
|
||||||
@ -1118,14 +1135,20 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"loc": {
|
"loc": {
|
||||||
"direction": "up",
|
"direction": "up",
|
||||||
"x": 5,
|
"x": 5,
|
||||||
"y": 11
|
"y": 10
|
||||||
},
|
},
|
||||||
"flags": {
|
"flags": {
|
||||||
"itemDetail": true,
|
"itemDetail": true,
|
||||||
"useBetweenLight": true
|
"useBetweenLight": true,
|
||||||
|
"__mdef_buff__": 0,
|
||||||
|
"popmove": true
|
||||||
},
|
},
|
||||||
"followers": [],
|
"followers": [],
|
||||||
"steps": 0
|
"steps": 0,
|
||||||
|
"matk": 0,
|
||||||
|
"spell": 0,
|
||||||
|
"spelldef": 0,
|
||||||
|
"mhp": 0
|
||||||
},
|
},
|
||||||
"startCanvas": [
|
"startCanvas": [
|
||||||
{
|
{
|
||||||
@ -1441,7 +1464,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "function",
|
"type": "function",
|
||||||
"function": "function(){\ncore.control.checkBgm()\n}"
|
"function": "function(){\ncore.checkBgm()\n}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "if",
|
"type": "if",
|
||||||
@ -1481,14 +1504,16 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
],
|
],
|
||||||
"startText": [
|
"startText": [
|
||||||
{
|
{
|
||||||
"type": "setValue",
|
"type": "function",
|
||||||
"name": "item:book",
|
"function": "function(){\ncore.getItem('book', 1);\ncore.getItem('fly', 1);\n}"
|
||||||
"value": "1"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "setValue",
|
"type": "insert",
|
||||||
"name": "item:fly",
|
"name": "战斗动画特效注册"
|
||||||
"value": "1"
|
},
|
||||||
|
{
|
||||||
|
"type": "insert",
|
||||||
|
"name": "强制横屏"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"shops": [
|
"shops": [
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
|
var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
|
||||||
{
|
{
|
||||||
"greenSlime": {"name":"绿头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
"greenSlime": {"name":"绿头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"mdef":0},
|
||||||
"redSlime": {"name":"红头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"value":10},
|
"redSlime": {"name":"红头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[],"value":10},
|
||||||
"blackSlime": {"name":"青头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
"blackSlime": {"name":"青头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||||
"slimelord": {"name":"怪王","hp":100,"atk":120,"def":0,"money":10,"exp":0,"point":0,"special":[1,9]},
|
"slimelord": {"name":"怪王","hp":100,"atk":120,"def":0,"money":10,"exp":0,"point":0,"special":[1,9]},
|
||||||
"bat": {"name":"小蝙蝠","hp":100,"atk":120,"def":0,"money":2,"exp":0,"point":0,"special":[1]},
|
"bat": {"name":"小蝙蝠","hp":100,"atk":50,"def":30,"money":2,"exp":0,"point":0,"special":[1],"mdef":0,"speed":15},
|
||||||
"bigBat": {"name":"大蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
"bigBat": {"name":"大蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||||
"redBat": {"name":"红蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
"redBat": {"name":"红蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||||
"vampire": {"name":"冥灵魔王","hp":888,"atk":888,"def":888,"money":888,"exp":888,"point":0,"special":[6],"n":8},
|
"vampire": {"name":"冥灵魔王","hp":888,"atk":888,"def":888,"money":888,"exp":888,"point":0,"special":[6],"n":8},
|
||||||
"skeleton": {"name":"骷髅人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
"skeleton": {"name":"骷髅人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||||
"skeletonCaptain": {"name":"骷髅队长","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
"skeletonCaptain": {"name":"骷髅队长","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||||
"zombie": {"name":"兽人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0,"magic":false},
|
"zombie": {"name":"兽人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[22]},
|
||||||
"zombieKnight": {"name":"兽人武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
"zombieKnight": {"name":"兽人武士","hp":10000,"atk":100,"def":100,"money":0,"exp":0,"point":0,"special":[22],"speed":10,"mdef":0,"damage2":20},
|
||||||
"rock": {"name":"石头人","hp":50,"atk":50,"def":0,"money":3,"exp":0,"point":0,"special":3},
|
"rock": {"name":"石头人","hp":50,"atk":50,"def":0,"money":3,"exp":0,"point":0,"special":3,"damage2":15},
|
||||||
"bluePriest": {"name":"初级法师","hp":100,"atk":120,"def":0,"money":3,"exp":0,"point":1,"special":[9]},
|
"bluePriest": {"name":"初级法师","hp":100,"atk":120,"def":0,"money":3,"exp":0,"point":1,"special":[9]},
|
||||||
"redPriest": {"name":"高级法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
"redPriest": {"name":"高级法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
|
||||||
"brownWizard": {"name":"初级巫师","hp":100,"atk":120,"def":0,"money":16,"exp":0,"point":0,"special":15,"value":100,"range":2},
|
"brownWizard": {"name":"初级巫师","hp":100,"atk":120,"def":0,"money":16,"exp":0,"point":0,"special":15,"value":100,"range":2},
|
||||||
|
2327
project/events.js
99
project/floors/changguan1.js
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
main.floors.changguan1=
|
||||||
|
{
|
||||||
|
"floorId": "changguan1",
|
||||||
|
"title": "主塔 10 层",
|
||||||
|
"name": "10",
|
||||||
|
"width": 13,
|
||||||
|
"height": 13,
|
||||||
|
"canFlyTo": true,
|
||||||
|
"canFlyFrom": true,
|
||||||
|
"canUseQuickShop": true,
|
||||||
|
"images": [],
|
||||||
|
"ratio": 1,
|
||||||
|
"defaultGround": "grass2",
|
||||||
|
"firstArrive": [],
|
||||||
|
"eachArrive": [],
|
||||||
|
"parallelDo": "",
|
||||||
|
"events": {},
|
||||||
|
"changeFloor": {
|
||||||
|
"6,12": {
|
||||||
|
"floorId": "changguan2",
|
||||||
|
"loc": [
|
||||||
|
6,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"6,0": {
|
||||||
|
"floorId": "guangchang",
|
||||||
|
"loc": [
|
||||||
|
6,
|
||||||
|
12
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"5,0": {
|
||||||
|
"floorId": "guangchang",
|
||||||
|
"loc": [
|
||||||
|
5,
|
||||||
|
12
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"beforeBattle": {},
|
||||||
|
"afterBattle": {},
|
||||||
|
"afterGetItem": {},
|
||||||
|
"afterOpenDoor": {},
|
||||||
|
"autoEvent": {},
|
||||||
|
"cannotMove": {},
|
||||||
|
"cannotMoveIn": {},
|
||||||
|
"map": [
|
||||||
|
[70014,70014,70014,70014, 0, 91, 91, 0,70014,70014,70014,70014,70014],
|
||||||
|
[70014,70014,70014,70014, 0, 0, 0, 0,70014,70014,70014,70014,70014],
|
||||||
|
[70014,70014,70014,70014, 0, 0, 0, 0,70014,70014,70014,70014,70014],
|
||||||
|
[70014,70014,70014,70014,200199, 0, 0, 0, 0,70014,70014,70014,70014],
|
||||||
|
[70014,70014,70014,70014, 0, 0, 0, 0, 0,70014,70014,70014,70014],
|
||||||
|
[70014,70014,70014,70014, 0, 0, 0, 0, 0, 0, 0, 0, 94],
|
||||||
|
[70014,70014,70014,70014, 0, 0, 0, 0, 0, 0, 0,10254,10248],
|
||||||
|
[70014,70014,70014,70014, 0, 0, 0,200199, 0,143,143,143,143],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,143,143,143,143],
|
||||||
|
[210145,210145,210146, 0, 0, 0, 0, 0, 0,143,143,143,143],
|
||||||
|
[210153,210153,210154, 0, 0, 0, 0, 0,143,143,143,143,143],
|
||||||
|
[210153,210153,210154, 0, 0, 0, 0, 0,143,143,143,143,143],
|
||||||
|
[210153,210153,210154, 0, 0, 0, 93, 0,143,143,143,143,143]
|
||||||
|
],
|
||||||
|
"bgmap": [
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70025,70025,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70025,70025,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70025,70025,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70025,70025,70025,70025,70025,70025,70025,70025],
|
||||||
|
[90078,90078,90078,90078,90078,70025,70025,70025,70025,70025,70025,70025,70025],
|
||||||
|
[90078,90078,90078,90078,90078,70025,70025,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70025,70025,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70025,70025,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70025,70025,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70025,70025,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70025,70025,90078,90078,90078,90078,90078,90078]
|
||||||
|
],
|
||||||
|
"fgmap": [
|
||||||
|
[ 0, 0, 0, 0,200175, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,200183, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,200191, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0,200175, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0,200183, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0,200191, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,200175, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,200183, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
|
],
|
||||||
|
"bg2map": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"fg2map": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
105
project/floors/changguan2.js
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
main.floors.changguan2=
|
||||||
|
{
|
||||||
|
"floorId": "changguan2",
|
||||||
|
"title": "街道",
|
||||||
|
"name": "1",
|
||||||
|
"width": 13,
|
||||||
|
"height": 13,
|
||||||
|
"canFlyTo": true,
|
||||||
|
"canFlyFrom": true,
|
||||||
|
"canUseQuickShop": true,
|
||||||
|
"images": [],
|
||||||
|
"ratio": 1,
|
||||||
|
"defaultGround": "X20003",
|
||||||
|
"firstArrive": [],
|
||||||
|
"eachArrive": [],
|
||||||
|
"parallelDo": "",
|
||||||
|
"events": {},
|
||||||
|
"changeFloor": {
|
||||||
|
"6,0": {
|
||||||
|
"floorId": "changguan1",
|
||||||
|
"loc": [
|
||||||
|
6,
|
||||||
|
12
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"12,8": {
|
||||||
|
"floorId": "street01",
|
||||||
|
"loc": [
|
||||||
|
0,
|
||||||
|
8
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"beforeBattle": {},
|
||||||
|
"afterBattle": {},
|
||||||
|
"afterGetItem": {},
|
||||||
|
"afterOpenDoor": {},
|
||||||
|
"autoEvent": {},
|
||||||
|
"cannotMove": {},
|
||||||
|
"cannotMoveIn": {},
|
||||||
|
"map": [
|
||||||
|
[130177,130178,50095,130061, 0, 0, 91, 0,210152,210152,210153,210153,210154],
|
||||||
|
[130177,130178, 0, 0,200199, 0, 0, 0,210160,210152,210153,210153,210154],
|
||||||
|
[130177,130178, 0, 0, 0, 0, 0, 0,210168,210152,210153,210153,210154],
|
||||||
|
[143,143,143,143, 0, 0, 0, 0,120165,210152,210153,210153,210154],
|
||||||
|
[143,210148,143,143, 0, 0, 0,71826,120173,210160,210161,210161,210162],
|
||||||
|
[143,143,143,143,71226, 0, 0, 0,50151,210168,210169,210169,210170],
|
||||||
|
[143,143,143,143,71819, 0, 0, 0, 0,120165,120166,120166,120167],
|
||||||
|
[210153,210153,210153,143,71827, 0, 0, 0,71826,120056,120174,120174,120175],
|
||||||
|
[210153,210153,210153,143,71695, 0, 0, 0, 0, 0, 0, 0, 94],
|
||||||
|
[143,143,143,143, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[130177,130177,130178,120167, 0, 0,200199, 0, 0, 0,210144,143,143],
|
||||||
|
[130177,130177,130178,40165, 0,71791,71791,71791, 0, 0,130176,143,143],
|
||||||
|
[130185,130185,130186,110114,110114,143,143,143,143,143,130176,143,143]
|
||||||
|
],
|
||||||
|
"areas": "牢狱",
|
||||||
|
"bgmap": [
|
||||||
|
[90078,90078,90078,90078,90078,70041,70025,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70024,70026,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70033,70041,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70040,70025,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70033,70024,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70026,70040,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70041,70026,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70024,70025,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,70026,70033,70024,70033,70033,70024,70040,70041],
|
||||||
|
[90078,90078,90078,90078,90078,70040,70025,70026,70040,70041,70025,70026,70033],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078]
|
||||||
|
],
|
||||||
|
"fgmap": [
|
||||||
|
[210153,210154, 0, 0,200191, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[210153,210154, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[210153,210154,130068,130069, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[210161,210162,210145,210146, 0, 0, 0,71818, 0, 0, 0, 0, 0],
|
||||||
|
[210147,210148,210153,210154,71218, 0, 0, 0,71818, 0, 0, 0, 0],
|
||||||
|
[210153,210153,210153,210154, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[210153,210153,210153,210154,71685, 0, 0, 0,71818, 0,90587, 0, 0],
|
||||||
|
[210145,210145,210146,210154,71844, 0,200175, 0, 0, 0, 0, 0, 0],
|
||||||
|
[210153,210153,210154,210162, 0, 0,200183, 0, 0, 0, 0, 0, 0],
|
||||||
|
[210153,210153,210154,210170, 0, 0,200191, 0, 0, 0, 0, 0, 0],
|
||||||
|
[210153,210153,210154, 0, 0, 0, 0, 0, 0,71818,210144,140,140],
|
||||||
|
[210153,210153,210154, 0, 0, 0, 0, 0,71832,71833,210152,140,140],
|
||||||
|
[210153,210153,210154, 0, 0,210144,140,140,140,210146,210152,140,140]
|
||||||
|
],
|
||||||
|
"bg2map": [
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0,50103, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0,71826, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,71693, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,120173, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,120064, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0,120175, 0, 0, 0, 0, 0,71826, 0, 0, 0],
|
||||||
|
[ 0, 0, 0,40173, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
|
],
|
||||||
|
"fg2map": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
@ -10,27 +10,40 @@ main.floors.guangchang=
|
|||||||
"canUseQuickShop": true,
|
"canUseQuickShop": true,
|
||||||
"images": [],
|
"images": [],
|
||||||
"ratio": 1,
|
"ratio": 1,
|
||||||
"defaultGround": "grass2",
|
"defaultGround": "X90078",
|
||||||
"firstArrive": [],
|
"firstArrive": [],
|
||||||
"eachArrive": [],
|
"eachArrive": [],
|
||||||
"parallelDo": "",
|
"parallelDo": "",
|
||||||
"events": {},
|
"events": {},
|
||||||
"changeFloor": {
|
"changeFloor": {
|
||||||
"12,6": {
|
"6,0": {
|
||||||
"floorId": "street02",
|
"floorId": "guangchang4",
|
||||||
|
"loc": [
|
||||||
|
6,
|
||||||
|
12
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"12,10": {
|
||||||
|
"floorId": "guangchang2",
|
||||||
"loc": [
|
"loc": [
|
||||||
0,
|
0,
|
||||||
6
|
10
|
||||||
],
|
],
|
||||||
"direction": "right"
|
"direction": "right"
|
||||||
},
|
},
|
||||||
"6,12": {
|
"6,12": {
|
||||||
"floorId": "guangchang2",
|
"floorId": "changguan1",
|
||||||
"loc": [
|
"loc": [
|
||||||
6,
|
6,
|
||||||
0
|
0
|
||||||
],
|
]
|
||||||
"direction": "down"
|
},
|
||||||
|
"5,12": {
|
||||||
|
"floorId": "changguan1",
|
||||||
|
"loc": [
|
||||||
|
5,
|
||||||
|
0
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"beforeBattle": {},
|
"beforeBattle": {},
|
||||||
@ -41,29 +54,53 @@ main.floors.guangchang=
|
|||||||
"cannotMove": {},
|
"cannotMove": {},
|
||||||
"cannotMoveIn": {},
|
"cannotMoveIn": {},
|
||||||
"map": [
|
"map": [
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,141],
|
[ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0],
|
||||||
[ 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, 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,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,140,141],
|
[ 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,141],
|
[ 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,141],
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
[ 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0,140,141]
|
[ 0, 0, 0, 0, 0, 0, 0,140091,140092,140093, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0,140099,140100,140101, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0,140107,140108,140109, 0, 0, 0],
|
||||||
|
[140087, 0, 0, 0, 0, 0, 0,70819,70820,70821, 0, 0, 94],
|
||||||
|
[140095, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[140103, 0, 0, 0, 0, 93, 93, 0, 0, 0, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"areas": "牢狱",
|
"areas": "牢狱",
|
||||||
"bgmap": [
|
"bgmap": [
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0,70803,70804,70805, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"fgmap": [
|
"fgmap": [
|
||||||
|
|
||||||
],
|
],
|
||||||
"bg2map": [
|
"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, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0,122, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0,60167, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"fg2map": [
|
"fg2map": [
|
||||||
|
|
||||||
|
@ -10,26 +10,39 @@ main.floors.guangchang2=
|
|||||||
"canUseQuickShop": true,
|
"canUseQuickShop": true,
|
||||||
"images": [],
|
"images": [],
|
||||||
"ratio": 1,
|
"ratio": 1,
|
||||||
"defaultGround": "grass2",
|
"defaultGround": "X90078",
|
||||||
"firstArrive": [],
|
"firstArrive": [],
|
||||||
"eachArrive": [],
|
"eachArrive": [],
|
||||||
"parallelDo": "",
|
"parallelDo": "",
|
||||||
"events": {},
|
"events": {},
|
||||||
"changeFloor": {
|
"changeFloor": {
|
||||||
"6,0": {
|
|
||||||
"floorId": "guangchang",
|
|
||||||
"loc": [
|
|
||||||
6,
|
|
||||||
12
|
|
||||||
],
|
|
||||||
"direction": "up"
|
|
||||||
},
|
|
||||||
"12,10": {
|
"12,10": {
|
||||||
"floorId": "xiaoxiang01",
|
"floorId": "xiaoxiang01",
|
||||||
"loc": [
|
"loc": [
|
||||||
0,
|
0,
|
||||||
10
|
10
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"6,0": {
|
||||||
|
"floorId": "guangchang3",
|
||||||
|
"loc": [
|
||||||
|
6,
|
||||||
|
12
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"0,10": {
|
||||||
|
"floorId": "guangchang",
|
||||||
|
"loc": [
|
||||||
|
12,
|
||||||
|
10
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"9,12": {
|
||||||
|
"floorId": "yushou",
|
||||||
|
"loc": [
|
||||||
|
9,
|
||||||
|
0
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"beforeBattle": {},
|
"beforeBattle": {},
|
||||||
@ -40,23 +53,35 @@ main.floors.guangchang2=
|
|||||||
"cannotMove": {},
|
"cannotMove": {},
|
||||||
"cannotMoveIn": {},
|
"cannotMoveIn": {},
|
||||||
"map": [
|
"map": [
|
||||||
[ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0,140,141],
|
[ 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0,143,143],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,141],
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143,143],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,141],
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,130192,130193],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140,140],
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,130200,143],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140],
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140],
|
[ 0, 0, 0, 0, 0,210105,210106,210107, 0, 0, 0, 0,143],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140],
|
[ 0, 0, 0, 0, 0,210113,210114,210115, 0, 0, 0, 0,143],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140],
|
[ 0, 0, 0, 0, 0,210121,210122,210123, 0, 0, 0, 0,143],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140],
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,130192],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140],
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,130200],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94],
|
[ 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,140],
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,110189],
|
||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,140]
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 93, 0, 0,110197]
|
||||||
],
|
],
|
||||||
"areas": "牢狱",
|
"areas": "牢狱",
|
||||||
"bgmap": [
|
"bgmap": [
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209]
|
||||||
],
|
],
|
||||||
"fgmap": [
|
"fgmap": [
|
||||||
|
|
||||||
|
104
project/floors/guangchang3.js
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
main.floors.guangchang3=
|
||||||
|
{
|
||||||
|
"floorId": "guangchang3",
|
||||||
|
"title": "主塔 10 层",
|
||||||
|
"name": "10",
|
||||||
|
"width": 13,
|
||||||
|
"height": 13,
|
||||||
|
"canFlyTo": true,
|
||||||
|
"canFlyFrom": true,
|
||||||
|
"canUseQuickShop": true,
|
||||||
|
"images": [],
|
||||||
|
"ratio": 1,
|
||||||
|
"defaultGround": "X90078",
|
||||||
|
"firstArrive": [],
|
||||||
|
"eachArrive": [],
|
||||||
|
"parallelDo": "",
|
||||||
|
"events": {},
|
||||||
|
"changeFloor": {
|
||||||
|
"6,12": {
|
||||||
|
"floorId": "guangchang2",
|
||||||
|
"loc": [
|
||||||
|
6,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"0,10": {
|
||||||
|
"floorId": "guangchang4",
|
||||||
|
"loc": [
|
||||||
|
12,
|
||||||
|
10
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"beforeBattle": {},
|
||||||
|
"afterBattle": {},
|
||||||
|
"afterGetItem": {},
|
||||||
|
"afterOpenDoor": {},
|
||||||
|
"autoEvent": {},
|
||||||
|
"cannotMove": {},
|
||||||
|
"cannotMoveIn": {},
|
||||||
|
"map": [
|
||||||
|
[210161,210161,210162,210185,210186,210186,210186,210186,210186,210186,210160,210161,210161],
|
||||||
|
[210169,210169,210170,210185,210186,210186,210186,210186,210186,210186,210168,210169,210169],
|
||||||
|
[210178,210178,210176,210193,210194,210194,210194,210194,210194,210194,210176,210177,210178],
|
||||||
|
[210178,210178,210184, 0, 0, 0, 0, 0, 0, 0,210184,210177,210178],
|
||||||
|
[210178,210178,210184,364, 0, 0,132, 0, 0,365,210184,210177,210178],
|
||||||
|
[210186,210186,210184,364, 0, 0, 0, 0, 0,365,210184,210185,210186],
|
||||||
|
[210194,210194,210192,361,362,362,362,362,362,363,210192,210193,210194],
|
||||||
|
[210076,210077, 0,210184,210185,210186,210186,210186,210186,210184, 0,210078,210079],
|
||||||
|
[210084,210085, 0,210192,210193,210194,210194,210194,210194,210192, 0,210086,210087],
|
||||||
|
[ 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, 93, 0, 0, 0, 0, 0, 0]
|
||||||
|
],
|
||||||
|
"bgmap": [
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[210209,210209,210209, 0, 0, 0, 0, 0, 0, 0,210209,210209,210209],
|
||||||
|
[210209,210209,210209, 0, 0, 0, 0, 0, 0, 0,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209]
|
||||||
|
],
|
||||||
|
"fgmap": [
|
||||||
|
[ 0, 0, 0, 0,210142, 0, 0, 0,210142, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,210150, 0, 0, 0,210150, 0, 0, 0, 0],
|
||||||
|
[ 0,210142, 0, 0, 0, 0, 0, 0, 0, 0, 0,210142, 0],
|
||||||
|
[210131,210150, 0, 0, 0, 0, 0, 0, 0, 0, 0,210150,210131],
|
||||||
|
[210139, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,210139],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[210068,210069, 0, 0, 0, 0, 0, 0, 0, 0, 0,210070,210071],
|
||||||
|
[ 0, 0, 0, 0, 0,210142, 0,210142, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0,210150, 0,210150, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 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": [
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0,70513,70513,70513,70513,70513,70513,70513, 0, 0, 0],
|
||||||
|
[ 0, 0, 0,70513,70513,70513,70513,70513,70513,70513, 0, 0, 0],
|
||||||
|
[ 0, 0, 0,70512,70513,70513,70513,70513,70513,70514, 0, 0, 0],
|
||||||
|
[ 0, 0, 0,70512,70513,70513,70513,70513,70513,70514, 0, 0, 0],
|
||||||
|
[ 0, 0, 0,70520,70521,70521,70521,70521,70521,70522, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
|
],
|
||||||
|
"fg2map": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
104
project/floors/guangchang4.js
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
main.floors.guangchang4=
|
||||||
|
{
|
||||||
|
"floorId": "guangchang4",
|
||||||
|
"title": "主塔 10 层",
|
||||||
|
"name": "10",
|
||||||
|
"width": 13,
|
||||||
|
"height": 13,
|
||||||
|
"canFlyTo": true,
|
||||||
|
"canFlyFrom": true,
|
||||||
|
"canUseQuickShop": true,
|
||||||
|
"images": [],
|
||||||
|
"ratio": 1,
|
||||||
|
"defaultGround": "X90078",
|
||||||
|
"firstArrive": [],
|
||||||
|
"eachArrive": [],
|
||||||
|
"parallelDo": "",
|
||||||
|
"events": {},
|
||||||
|
"changeFloor": {
|
||||||
|
"6,12": {
|
||||||
|
"floorId": "guangchang",
|
||||||
|
"loc": [
|
||||||
|
6,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"12,10": {
|
||||||
|
"floorId": "guangchang3",
|
||||||
|
"loc": [
|
||||||
|
0,
|
||||||
|
10
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"beforeBattle": {},
|
||||||
|
"afterBattle": {},
|
||||||
|
"afterGetItem": {},
|
||||||
|
"afterOpenDoor": {},
|
||||||
|
"autoEvent": {},
|
||||||
|
"cannotMove": {},
|
||||||
|
"cannotMoveIn": {},
|
||||||
|
"map": [
|
||||||
|
[210161,210161,210161,210162,364, 0,272, 0,365,210160,210161,210161,210161],
|
||||||
|
[210169,210169,210169,210170,364,271, 0,271,365,210168,210169,210169,210169],
|
||||||
|
[210181,210181,210182,210176,361,362,362,362,363,210176,210180,210181,210181],
|
||||||
|
[210178,210178,210178,210184,210185,210186,210186,210186,210186,210184,210178,210178,210178],
|
||||||
|
[210178,210178,210178,210184,210177,10104,10105,10106,210178,210184,210178,210178,210178],
|
||||||
|
[210186,210186,210186,210184,210193,10112,10113,10114,210194,210184,210186,210186,210186],
|
||||||
|
[210194,210194,210194,210192,90600,90600,90600,90600,90600,210192,210194,210194,210194],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 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, 93, 0, 0, 0, 0, 0, 0]
|
||||||
|
],
|
||||||
|
"bgmap": [
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209],
|
||||||
|
[210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209,210209]
|
||||||
|
],
|
||||||
|
"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,210142, 0, 0, 0, 0, 0, 0, 0,210142, 0, 0],
|
||||||
|
[210131,210131,210150, 0,210142, 0, 0, 0,210142, 0,210150,210131,210131],
|
||||||
|
[210139,210139, 0, 0,210150, 0, 0, 0,210150, 0, 0,210139,210139],
|
||||||
|
[210142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,210142],
|
||||||
|
[210150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,210150],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 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": [
|
||||||
|
[ 0, 0, 0, 0,70513,70513,70513,70513,70513, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,70513,70513,70513,70513,70513, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,70513,70513,70513,70513,70513, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0,210178,210178,210178, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0,210194,210194,210194, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
|
],
|
||||||
|
"fg2map": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
@ -32,6 +32,7 @@ main.floors.jiuguan=
|
|||||||
"type": "over",
|
"type": "over",
|
||||||
"text": "这段话将在屏幕中心",
|
"text": "这段话将在屏幕中心",
|
||||||
"image": "bg_5043.png",
|
"image": "bg_5043.png",
|
||||||
|
"memory": false,
|
||||||
"time": 3000,
|
"time": 3000,
|
||||||
"hidetime": 30,
|
"hidetime": 30,
|
||||||
"sound": "",
|
"sound": "",
|
||||||
|
@ -25,68 +25,21 @@ main.floors.street01=
|
|||||||
],
|
],
|
||||||
"direction": "up"
|
"direction": "up"
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"6,11": [
|
|
||||||
{
|
|
||||||
"type": "insert",
|
|
||||||
"name": "chapter04"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"4,11": [
|
|
||||||
{
|
|
||||||
"type": "animationDrawable",
|
|
||||||
"allFarme": 300,
|
|
||||||
"color": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"imageList": [
|
|
||||||
{
|
|
||||||
"image": "bg_1511.webp",
|
|
||||||
"beforefarme": 50,
|
|
||||||
"globalAlpha": 0,
|
|
||||||
"afterfarme": 250,
|
|
||||||
"aglobalAlpha": 100
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image": "eve_010304.webp",
|
|
||||||
"beforefarme": 70,
|
|
||||||
"globalAlpha": 0,
|
|
||||||
"afterfarme": 170,
|
|
||||||
"aglobalAlpha": 100,
|
|
||||||
"ax": 0,
|
|
||||||
"ay": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"image": "eve_010304.webp",
|
|
||||||
"beforefarme": 171,
|
|
||||||
"globalAlpha": 100,
|
|
||||||
"afterfarme": 270,
|
|
||||||
"aglobalAlpha": 100,
|
|
||||||
"ax": 800,
|
|
||||||
"ay": 0
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"soundList": [
|
|
||||||
{
|
|
||||||
"sound": "",
|
|
||||||
"startfarme": 0,
|
|
||||||
"stopbefore": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "op"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"changeFloor": {
|
"changeFloor": {
|
||||||
"0,8": {
|
"0,8": {
|
||||||
"floorId": "street02",
|
"floorId": "changguan2",
|
||||||
"loc": [
|
"loc": [
|
||||||
12,
|
12,
|
||||||
6
|
8
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"12,9": {
|
||||||
|
"floorId": "zhujuejia",
|
||||||
|
"loc": [
|
||||||
|
0,
|
||||||
|
9
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -118,7 +71,7 @@ main.floors.street01=
|
|||||||
[110118,110118,200096,110116,110020, 0,200014, 0, 0, 0, 0, 0,110125],
|
[110118,110118,200096,110116,110020, 0,200014, 0, 0, 0, 0, 0,110125],
|
||||||
[ 92, 0, 0,110124, 0,201, 0, 0,110125,110122,110122,110122,110122],
|
[ 92, 0, 0,110124, 0,201, 0, 0,110125,110122,110122,110122,110122],
|
||||||
[ 0, 0, 0,110118,110118,202,110118,110118,110122, 0, 0, 0, 94],
|
[ 0, 0, 0,110118,110118,202,110118,110118,110122, 0, 0, 0, 94],
|
||||||
[130170, 0, 0, 0, 71, 35, 0, 0, 0, 0, 0, 0, 0],
|
[130170, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
[130178, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,130168,130169],
|
[130178, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,130168,130169],
|
||||||
[130225,130169,130169,130169,130169,130170,110122,110122,130168,130169,130169,130224,130177]
|
[130225,130169,130169,130169,130169,130170,110122,110122,130168,130169,130169,130224,130177]
|
||||||
],
|
],
|
||||||
|
@ -16,13 +16,6 @@ main.floors.street02=
|
|||||||
"parallelDo": "",
|
"parallelDo": "",
|
||||||
"events": {},
|
"events": {},
|
||||||
"changeFloor": {
|
"changeFloor": {
|
||||||
"12,6": {
|
|
||||||
"floorId": "street01",
|
|
||||||
"loc": [
|
|
||||||
0,
|
|
||||||
8
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"0,6": {
|
"0,6": {
|
||||||
"floorId": "guangchang",
|
"floorId": "guangchang",
|
||||||
"loc": [
|
"loc": [
|
||||||
@ -30,6 +23,13 @@ main.floors.street02=
|
|||||||
6
|
6
|
||||||
],
|
],
|
||||||
"direction": "left"
|
"direction": "left"
|
||||||
|
},
|
||||||
|
"12,8": {
|
||||||
|
"floorId": "street01",
|
||||||
|
"loc": [
|
||||||
|
0,
|
||||||
|
8
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"beforeBattle": {},
|
"beforeBattle": {},
|
||||||
@ -46,9 +46,9 @@ main.floors.street02=
|
|||||||
[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],
|
[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],
|
[ 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],
|
[ 92, 0,140,140,140,140, 0,140,140,140,140, 0,140],
|
||||||
[ 0, 0,217, 0, 0,209, 0,210, 0, 28,140, 0, 0],
|
[ 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],
|
[140,140,140,140,140,140,140,140,140,140,140,140, 94],
|
||||||
[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],
|
||||||
[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],
|
||||||
|
@ -46,31 +46,79 @@ main.floors.xiaoxiang01=
|
|||||||
"cannotMove": {},
|
"cannotMove": {},
|
||||||
"cannotMoveIn": {},
|
"cannotMoveIn": {},
|
||||||
"map": [
|
"map": [
|
||||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
[143,143,143,143,130193,130193,130193,130193,130193,143,143,143,143],
|
||||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
[143,143,143,143,130060,130061,130062, 0,120074,143,143,143,143],
|
||||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
[130193,130193,130193,130194,130068,130069,130070,130090,120023,130192,130193,130193,143],
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
[143,50022,130201,130202,130015,120041,130099,130098,120031,130200,130201,130201,143],
|
||||||
[140, 30,140, 0, 81, 0,221, 0,224, 0, 28, 27,140],
|
[143, 30,201029, 0, 81, 0,221, 0,224, 0, 28, 27,130192],
|
||||||
[140,224,140,225,140, 31,140, 0,140,140,140,224,140],
|
[143,224,201037,225,201037, 31,201021, 0,110121,110122,110122,224,130200],
|
||||||
[140, 0, 32, 0,140, 0,140,225,140,224, 0, 0,140],
|
[143, 0, 32, 0,200199, 0,201029,225,110132,224, 0, 0,90675],
|
||||||
[140,225,140,140,140, 81,140, 0, 0, 0,140, 0, 94],
|
[143,225,200998,200999,201037, 81,201029, 0, 0, 0,110116, 0, 94],
|
||||||
[140, 0,222, 0,221, 0,140, 81,140,225,140,140,140],
|
[130194, 0,222, 0,221, 0,201029, 81,110116,225,110137,110138,90650],
|
||||||
[140,140,140, 81,140,140,140, 0,140, 0, 81, 31,140],
|
[130202,201037,201037, 81,201037,201037,201037, 0,110124, 0, 81, 31,90658],
|
||||||
[ 92, 0, 32, 22, 32,140, 31, 0,140, 0,140,140,140],
|
[ 92, 0, 32, 22, 32,80089, 31, 0,110132, 0,110122,110122,110197],
|
||||||
[140, 21, 21, 21, 21,140, 0, 0, 81, 0,222, 29,140],
|
[110191, 21, 21, 21, 21,80089, 0, 0, 81, 0,222, 29,110197],
|
||||||
[140,140,140,140,140,140, 93,140,140,140,140,140,140]
|
[140,140,140,110191,80083,80097, 93,110138,110138,140189,140,140,140]
|
||||||
],
|
],
|
||||||
"areas": "牢狱",
|
"areas": "牢狱",
|
||||||
"bgmap": [
|
"bgmap": [
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078]
|
||||||
],
|
],
|
||||||
"fgmap": [
|
"fgmap": [
|
||||||
|
[ 0, 0, 0, 0, 0,120080, 0, 0,120066, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[60038, 0,60038, 0,130007, 0,130091, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0,60046, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,201021, 0, 0, 0,110114,110114,110114, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,200191, 0, 0, 0, 0, 0, 0, 0,90667],
|
||||||
|
[ 0, 0,200990,200991,201021, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0,201021,201021, 0,201021,201021, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,110114,110114,110189],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 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": [
|
"bg2map": [
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0,130201,130201, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0,120082, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,110134,110134, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"fg2map": [
|
"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,201021, 0,200175, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,200183, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -32,29 +32,65 @@ main.floors.xiaoxiang02=
|
|||||||
"cannotMove": {},
|
"cannotMove": {},
|
||||||
"cannotMoveIn": {},
|
"cannotMoveIn": {},
|
||||||
"map": [
|
"map": [
|
||||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
[143,143,143,143,143,120166,120166,110205,110206,110206,110206,110206,110206],
|
||||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
[143,143,143,143,143,120174,120174,130192,130193,130193,130193,130193,130193],
|
||||||
[141,141,141,141,141,141,141,141,141,141,141,141,141],
|
[143,130193,130193,130193,130194,190142,90771,130192,130193,130193,130193,130193,130193],
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
[143,130201,130201,130201,130202,190150,190150,130200,130201, 0,130201,130201,130201],
|
||||||
[140, 0, 81, 0,140, 0, 0, 0, 0,140, 0, 0,140],
|
[130194, 0, 81, 0,72106, 0, 0, 0, 0,72106, 0, 0,143],
|
||||||
[140, 0,140, 0,140,140,140,140, 81,140,140, 81,140],
|
[130202, 0,110116, 0,90064,90064,90064,90064, 81,90064,90064, 81,143],
|
||||||
[140, 0,140, 0, 0, 0, 0, 0, 0, 0, 0, 0,140],
|
[90675, 0,110124, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
|
||||||
[ 92, 0,140,140,140,140, 81,140,140,140, 81,140,140],
|
[ 92, 0,110122,110122,110122,110122, 81,110122,110122,110122, 81,110122,143],
|
||||||
[140, 0, 0, 0, 0, 0, 0, 0, 0,140, 0, 0,140],
|
[90651, 0, 0, 0, 0, 0, 0, 0, 0,110129, 0, 0,143],
|
||||||
[140,140,140,140,140, 0,140,140, 82,140,140, 0,140],
|
[90659,71844,110122,200199,110122, 0,110121,110122, 82,110122,110122, 0,143],
|
||||||
[140, 0, 0, 0,140, 0,140, 0, 0, 0, 81, 0,140],
|
[110199, 0, 0, 0, 81, 0,110129, 0, 0, 0, 81, 0,130192],
|
||||||
[140, 0, 0, 0, 81, 0,140, 0, 0, 0,140, 0,140],
|
[110199, 0, 0, 0,110117, 0,110129, 0, 0, 0,200637, 0,143],
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140]
|
[140,140,140,140,110191,72098,72098,72098,143,143,143,143,143]
|
||||||
],
|
],
|
||||||
"areas": "牢狱",
|
"areas": "牢狱",
|
||||||
"bgmap": [
|
"bgmap": [
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078]
|
||||||
],
|
],
|
||||||
"fgmap": [
|
"fgmap": [
|
||||||
|
[ 0, 0, 0, 0, 0,200063,200063, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,90799,110072],
|
||||||
|
[ 0, 0,90804, 0, 0,190023,190148, 0,90797, 0, 0, 0,110080],
|
||||||
|
[ 0, 0, 0, 0,72112, 0,190030, 0,90805,72112, 0, 0,110088],
|
||||||
|
[ 0, 0, 0, 0, 0,72098,72098,72098, 0, 0,72098, 0, 0],
|
||||||
|
[90667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0,110114,110114,110114,110114, 0,110114,110114,110114, 0,110114, 0],
|
||||||
|
[ 0, 0, 0,200175, 0, 0, 0, 0, 0,110116, 0, 0, 0],
|
||||||
|
[ 0,110114,110114,200191,110114, 0,110114,110114, 0,110114,110114, 0, 0],
|
||||||
|
[110191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,200638, 0, 0],
|
||||||
|
[ 0, 0, 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": [
|
"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, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0,110122, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,110133, 0,110132, 0, 0, 0, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"fg2map": [
|
"fg2map": [
|
||||||
|
|
||||||
|
@ -14,7 +14,68 @@ main.floors.xiaoxiang3=
|
|||||||
"firstArrive": [],
|
"firstArrive": [],
|
||||||
"eachArrive": [],
|
"eachArrive": [],
|
||||||
"parallelDo": "",
|
"parallelDo": "",
|
||||||
"events": {},
|
"events": {
|
||||||
|
"4,8": {
|
||||||
|
"trigger": null,
|
||||||
|
"enable": false,
|
||||||
|
"noPass": null,
|
||||||
|
"displayDamage": true,
|
||||||
|
"opacity": 1,
|
||||||
|
"filter": {
|
||||||
|
"blur": 0,
|
||||||
|
"hue": 0,
|
||||||
|
"grayscale": 0,
|
||||||
|
"invert": false,
|
||||||
|
"shadow": 0
|
||||||
|
},
|
||||||
|
"data": []
|
||||||
|
},
|
||||||
|
"8,8": {
|
||||||
|
"trigger": null,
|
||||||
|
"enable": false,
|
||||||
|
"noPass": null,
|
||||||
|
"displayDamage": true,
|
||||||
|
"opacity": 1,
|
||||||
|
"filter": {
|
||||||
|
"blur": 0,
|
||||||
|
"hue": 0,
|
||||||
|
"grayscale": 0,
|
||||||
|
"invert": false,
|
||||||
|
"shadow": 0
|
||||||
|
},
|
||||||
|
"data": []
|
||||||
|
},
|
||||||
|
"7,10": {
|
||||||
|
"trigger": null,
|
||||||
|
"enable": false,
|
||||||
|
"noPass": null,
|
||||||
|
"displayDamage": true,
|
||||||
|
"opacity": 1,
|
||||||
|
"filter": {
|
||||||
|
"blur": 0,
|
||||||
|
"hue": 0,
|
||||||
|
"grayscale": 0,
|
||||||
|
"invert": false,
|
||||||
|
"shadow": 0
|
||||||
|
},
|
||||||
|
"data": []
|
||||||
|
},
|
||||||
|
"5,10": {
|
||||||
|
"trigger": null,
|
||||||
|
"enable": false,
|
||||||
|
"noPass": null,
|
||||||
|
"displayDamage": true,
|
||||||
|
"opacity": 1,
|
||||||
|
"filter": {
|
||||||
|
"blur": 0,
|
||||||
|
"hue": 0,
|
||||||
|
"grayscale": 0,
|
||||||
|
"invert": false,
|
||||||
|
"shadow": 0
|
||||||
|
},
|
||||||
|
"data": []
|
||||||
|
}
|
||||||
|
},
|
||||||
"changeFloor": {
|
"changeFloor": {
|
||||||
"6,0": {
|
"6,0": {
|
||||||
"floorId": "xiaoxiang01",
|
"floorId": "xiaoxiang01",
|
||||||
@ -28,117 +89,112 @@ main.floors.xiaoxiang3=
|
|||||||
"afterBattle": {
|
"afterBattle": {
|
||||||
"6,8": [
|
"6,8": [
|
||||||
{
|
{
|
||||||
"type": "setValue",
|
"type": "show",
|
||||||
"name": "flag:door_xiaoxiang3_4_9",
|
"loc": [
|
||||||
"operator": "+=",
|
[
|
||||||
"value": "1"
|
4,
|
||||||
},
|
8
|
||||||
{
|
],
|
||||||
"type": "setValue",
|
[
|
||||||
"name": "flag:door_xiaoxiang3_8_9",
|
5,
|
||||||
"operator": "+=",
|
10
|
||||||
"value": "1"
|
],
|
||||||
},
|
[
|
||||||
{
|
7,
|
||||||
"type": "setValue",
|
10
|
||||||
"name": "flag:door_xiaoxiang3_6_11",
|
],
|
||||||
"operator": "+=",
|
[
|
||||||
"value": "1"
|
8,
|
||||||
|
8
|
||||||
|
],
|
||||||
|
[
|
||||||
|
6,
|
||||||
|
12
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"time": 500
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"afterGetItem": {},
|
"afterGetItem": {},
|
||||||
"afterOpenDoor": {},
|
"afterOpenDoor": {},
|
||||||
"autoEvent": {
|
"autoEvent": {},
|
||||||
"4,9": {
|
|
||||||
"0": {
|
|
||||||
"condition": "flag:door_xiaoxiang3_4_9==1",
|
|
||||||
"currentFloor": true,
|
|
||||||
"priority": 0,
|
|
||||||
"delayExecute": false,
|
|
||||||
"multiExecute": false,
|
|
||||||
"data": [
|
|
||||||
{
|
|
||||||
"type": "openDoor"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "setValue",
|
|
||||||
"name": "flag:door_xiaoxiang3_4_9",
|
|
||||||
"operator": "=",
|
|
||||||
"value": "null"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"8,9": {
|
|
||||||
"0": {
|
|
||||||
"condition": "flag:door_xiaoxiang3_8_9==1",
|
|
||||||
"currentFloor": true,
|
|
||||||
"priority": 0,
|
|
||||||
"delayExecute": false,
|
|
||||||
"multiExecute": false,
|
|
||||||
"data": [
|
|
||||||
{
|
|
||||||
"type": "openDoor"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "setValue",
|
|
||||||
"name": "flag:door_xiaoxiang3_8_9",
|
|
||||||
"operator": "=",
|
|
||||||
"value": "null"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"6,11": {
|
|
||||||
"0": {
|
|
||||||
"condition": "flag:door_xiaoxiang3_6_11==1",
|
|
||||||
"currentFloor": true,
|
|
||||||
"priority": 0,
|
|
||||||
"delayExecute": false,
|
|
||||||
"multiExecute": false,
|
|
||||||
"data": [
|
|
||||||
{
|
|
||||||
"type": "openDoor"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "setValue",
|
|
||||||
"name": "flag:door_xiaoxiang3_6_11",
|
|
||||||
"operator": "=",
|
|
||||||
"value": "null"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cannotMove": {},
|
"cannotMove": {},
|
||||||
"cannotMoveIn": {},
|
"cannotMoveIn": {},
|
||||||
"map": [
|
"map": [
|
||||||
[140,140,140,140, 0, 0, 91, 0, 0,140,140,140,140],
|
[ 0, 0, 0,140199,80091,80092, 91,110146,110146,140197,140,140,140],
|
||||||
[140,140,140,140, 0, 0, 0, 0, 0,140,140,140,140],
|
[ 0, 0, 0,140,140,140, 0,140, 0, 0, 0, 0,140],
|
||||||
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
|
[ 0, 0, 0,140204,140206,140206,140206,140206,140206,140203,140,140,140],
|
||||||
[140,140,140,140,140,140, 0,140, 0,140,140,140,140],
|
[ 0, 0, 0,140199,170263,170252,170253,170254,170263,140197,140,140,140],
|
||||||
[140,140,140,140, 0, 0, 0, 0, 0,140,140,140,140],
|
[ 0, 0, 0,140199,170263,170260, 0,170262,170263,140197,140,140,140],
|
||||||
[140,140,140,140,140,140, 83,140,140,140,140,140,140],
|
[ 0, 0, 0,140199,170263,170268, 83,170270,170263,140205,140206,140206,140206],
|
||||||
[140,140,140,140, 0, 0, 0, 0, 0,140,140,140,140],
|
[ 0, 0, 0,140199,71843,110122, 0,110122,90649,110208,110209,110209,110209],
|
||||||
[140,140,140,140, 0, 0, 0, 0, 0,140,140,140,140],
|
[140206,140206,140206,140207, 0, 0, 0, 0, 0,110189,140,140,140],
|
||||||
[140,140,140,140, 0, 0,247, 0, 0,140,140,140,140],
|
[110209,110209,110209,110210, 21, 0,247, 0, 27,110197,140,140,140],
|
||||||
[140,140,140,140, 85,140, 0,140, 85,140,140,140,140],
|
[140,140,140,110191, 0, 0, 0, 0, 0,110197,140,140,140],
|
||||||
[140,140,140,140, 34,140, 0,140, 27,140,140,140,140],
|
[140,140,140,110199, 0, 34, 0, 28, 0,140,140,140,140],
|
||||||
[140,140,140,140, 21,140, 85,140, 28,140,140,140,140],
|
[140,140,140,110199,110199, 0, 0, 0,110197,110204,110206,110206,110206],
|
||||||
[140,140,140,140,140,140, 93,140,140,140,140,140,140]
|
[140,140,140,110199,110207, 0, 0, 0,110197,110199,110225,110225,110225]
|
||||||
],
|
],
|
||||||
"areas": "牢狱",
|
"areas": "牢狱",
|
||||||
"bgmap": [
|
"bgmap": [
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078]
|
||||||
],
|
],
|
||||||
"fgmap": [
|
"fgmap": [
|
||||||
|
[140,140,140, 0, 0, 0, 0, 0, 0, 0,140,140,140],
|
||||||
|
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
||||||
|
[140,140,140, 0, 0, 0,140206,110327, 0, 0,140,140,140],
|
||||||
|
[140,140,140, 0, 0, 0,170253,110335, 0, 0,140,140,140],
|
||||||
|
[140,140,140, 0, 0,110153, 0,110152, 0, 0,140,140,140],
|
||||||
|
[140,140,140, 0,71835,110161, 0,110160,90648, 0, 0, 0, 0],
|
||||||
|
[140,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,110191, 0, 0, 0,110189, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0,110138, 0,110138, 0, 0, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"bg2map": [
|
"bg2map": [
|
||||||
|
[140,140,140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[140,140,140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[140,140,140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[140,140,140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[140,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, 0, 0, 0, 0, 0, 0, 0,110216, 0, 0, 0],
|
||||||
|
[ 0, 0, 0,110218, 0, 0, 0, 0, 0,110216, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0,110218, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"fg2map": [
|
"fg2map": [
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0,110319, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0,110114, 0,110114, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -15,39 +15,103 @@ main.floors.yiqu1=
|
|||||||
"eachArrive": [],
|
"eachArrive": [],
|
||||||
"parallelDo": "",
|
"parallelDo": "",
|
||||||
"events": {},
|
"events": {},
|
||||||
"changeFloor": {},
|
"changeFloor": {
|
||||||
|
"0,7": {
|
||||||
|
"floorId": "yiqu2",
|
||||||
|
"loc": [
|
||||||
|
12,
|
||||||
|
7
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"beforeBattle": {},
|
"beforeBattle": {},
|
||||||
"afterBattle": {},
|
"afterBattle": {},
|
||||||
"afterGetItem": {},
|
"afterGetItem": {},
|
||||||
"afterOpenDoor": {},
|
"afterOpenDoor": {},
|
||||||
"autoEvent": {},
|
"autoEvent": {},
|
||||||
"cannotMove": {},
|
"cannotMove": {
|
||||||
"cannotMoveIn": {},
|
"8,1": [
|
||||||
|
"right"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"cannotMoveIn": {
|
||||||
|
"8,1": [
|
||||||
|
"right"
|
||||||
|
]
|
||||||
|
},
|
||||||
"map": [
|
"map": [
|
||||||
[140,140,140,140,140,140, 91,140,140,140,140,140,140],
|
[140,140,140,110199,110234, 0, 91, 0,110205,110207,110233,110233,110233],
|
||||||
[140,140,140,140,140,140, 0,140,140, 0, 0, 0, 94],
|
[110206,110206,110206,110207,90425, 0, 0, 0,110224,110226, 0, 0, 94],
|
||||||
[140,140,140,140,140,140, 0, 0,140,140, 81, 0, 0],
|
[110225,110225,110225,110226, 0, 0, 0,110122,110232,110234, 81,110122,110123],
|
||||||
[140,140,140,140,140,140, 0, 0, 0,140, 0,140,140],
|
[110233,110233,110233,110234,110122,110122, 0, 0, 0,110131, 0, 0,110189],
|
||||||
[140, 0, 0, 0,140, 0, 0, 0,140,140,140,140,140],
|
[140134, 0, 0,120020,201029, 0, 0, 0,110138,110139,200998,200999,110197],
|
||||||
[140, 0,140,140,140, 0,140, 0,140, 0, 0, 0, 94],
|
[140142, 0,120015,120028,201037, 0,201029, 0, 0, 0, 0, 0,110197],
|
||||||
[140, 0, 0,140, 0, 0,140, 0, 0, 0, 0, 0,140],
|
[140150, 0, 0,120019, 0, 0,201029, 0,110189,140,110191, 0,110205],
|
||||||
[ 92, 0, 0,140,140,140,140, 0,140,140, 81,140,140],
|
[ 92, 0, 0,120019,201037,201037,201037, 0,110197,140,110199, 81,110224],
|
||||||
[140,140, 0,140, 0, 0, 0, 0,140, 0, 0, 0,140],
|
[ 0, 0, 0,120027, 37, 37, 0, 0,110197,140,110199, 0,110232],
|
||||||
[140, 0, 0, 0, 0, 0,140, 0,140, 0, 0, 0,140],
|
[110191, 0, 0, 0, 36, 35,110189,140,140,140,110199, 0, 94],
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
[110199,140,140,110191, 0, 0,110197,140,140,110204,110207, 0, 0],
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
[140,140,140,110199,90684,90684,110197,140,140,110199,110234, 0, 0],
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140]
|
[140,140,140,110199,100307,100308,110197,140,140,110199, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"bgmap": [
|
"bgmap": [
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078]
|
||||||
],
|
],
|
||||||
"fgmap": [
|
"fgmap": [
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0,110114, 0, 0, 0,110114,110114],
|
||||||
|
[130156,140119,130156, 0,110116,110114, 0, 0, 0,110143, 0, 0, 0],
|
||||||
|
[130167,140127,130167,120039,201021, 0, 0, 0, 0, 0,200990,200991, 0],
|
||||||
|
[ 0,140135,120007,120020, 0, 0,201021, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0,140143, 0,120019, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0,140151, 0, 0,201021,201021, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[201007, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 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": [
|
"bg2map": [
|
||||||
|
[ 0, 0, 0, 0, 0,110146, 0,110146, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[200991, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,110131],
|
||||||
|
[200999, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0,120019, 0, 0, 0, 0,110146,110146, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[201015, 0, 0,120035, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"fg2map": [
|
"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],
|
||||||
|
[140118, 0, 0, 0,110113, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[140126, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -38,4 +38,16 @@ main.floors.yiqu10=
|
|||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
[ 0, 0, 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": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"bg2map": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"fg2map": [
|
||||||
|
|
||||||
|
]
|
||||||
}
|
}
|
@ -15,7 +15,15 @@ main.floors.yiqu2=
|
|||||||
"eachArrive": [],
|
"eachArrive": [],
|
||||||
"parallelDo": "",
|
"parallelDo": "",
|
||||||
"events": {},
|
"events": {},
|
||||||
"changeFloor": {},
|
"changeFloor": {
|
||||||
|
"12,7": {
|
||||||
|
"floorId": "yiqu1",
|
||||||
|
"loc": [
|
||||||
|
0,
|
||||||
|
7
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"beforeBattle": {},
|
"beforeBattle": {},
|
||||||
"afterBattle": {},
|
"afterBattle": {},
|
||||||
"afterGetItem": {},
|
"afterGetItem": {},
|
||||||
@ -24,30 +32,78 @@ main.floors.yiqu2=
|
|||||||
"cannotMove": {},
|
"cannotMove": {},
|
||||||
"cannotMoveIn": {},
|
"cannotMoveIn": {},
|
||||||
"map": [
|
"map": [
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
[140,140,140,140,140,140,140,110199,110232,110233,120080,110233,110197],
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
[110206,110206,110206,110206,110206,110206,110206,110207,90648, 21, 28,90424,110205],
|
||||||
[140,140,140,140,140,140,140,140, 32, 21, 28, 27,140],
|
[143,110225,110225,110225,110225,110225,110225,110226,90649, 32, 27,90851,110224],
|
||||||
[140,140,140,140,140,140,140,140,140, 82,140,140,140],
|
[143,110233,110233,110233,110233,110233,110233,110234,120015, 82,120015,120010,200990],
|
||||||
[140, 32, 0, 0,210, 0,140, 0, 0,214, 0, 0,140],
|
[143, 0, 32, 0, 0,210,201037, 0, 0,214, 0, 0,140133],
|
||||||
[140,140,140, 81,140, 0, 81, 0,140, 21,140, 0,140],
|
[143,201037,201037, 81,201037, 0, 81, 0,110116, 21,110117, 0,140141],
|
||||||
[140, 0,209, 0,140,140,140,210,140,140,140, 0,140],
|
[143, 0,209, 0,110129, 0,110117, 0,110160,110138,110139, 0,140149],
|
||||||
[140,210,140,214,140, 27,140, 0,140, 22, 0, 0, 94],
|
[143,210,110024,214,110129,110122,110131,210,110146, 22, 0, 0, 94],
|
||||||
[140, 0,209, 0, 81, 28,140, 0, 81, 21, 21, 21, 0],
|
[130194, 0,209, 0,110150, 27,110131, 0, 81, 21, 21, 21, 0],
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
[140,140,140, 0, 81, 28,110131, 0,110189,140,140,140,140],
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
[140,140,140,110199,110191,110189,140,140,110197,140,140,140,140],
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140],
|
[140,140,140,110199,110199,110197,140,140,140,140,140,140,140],
|
||||||
[140,140,140,140,140,140,140,140,140,140,140,140,140]
|
[140,140,140,110199,110199,110197,140,140,140,140,140,140,140]
|
||||||
],
|
],
|
||||||
"bgmap": [
|
"bgmap": [
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078],
|
||||||
|
[90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078,90078]
|
||||||
],
|
],
|
||||||
"fgmap": [
|
"fgmap": [
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0,90651, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0,140091,140092,140092,140093, 0, 0, 0,120007, 0,120007,120007,140117],
|
||||||
|
[ 0,140099,140100,140100,140101, 0,201021, 0, 0, 0, 0,140124,140125],
|
||||||
|
[ 0,201021,201021, 0,201021, 0, 0, 0, 0, 0, 0,140132, 0],
|
||||||
|
[ 0, 0, 0, 0,110116, 0, 0, 0, 0, 0, 0,140140, 0],
|
||||||
|
[ 0, 0,110016, 0, 0,110114,110142, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,201007],
|
||||||
|
[ 0, 0, 0,110191,110114,110114, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 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": [
|
"bg2map": [
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,110233, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,200990],
|
||||||
|
[ 0,140107,140108,140108,140109, 0, 0, 0, 0, 0, 0, 0,200998],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,110114, 0, 0, 0,110138, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,110122, 0,110122, 0,110132,110146,110146, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0,110116, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0,110122,110122, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"fg2map": [
|
"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,140116, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -38,4 +38,16 @@ main.floors.yiqu3=
|
|||||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
[ 0, 0, 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": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"bg2map": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"fg2map": [
|
||||||
|
|
||||||
|
]
|
||||||
}
|
}
|
62
project/floors/yushou.js
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
main.floors.yushou=
|
||||||
|
{
|
||||||
|
"floorId": "yushou",
|
||||||
|
"title": "广场",
|
||||||
|
"name": "1",
|
||||||
|
"width": 13,
|
||||||
|
"height": 13,
|
||||||
|
"canFlyTo": true,
|
||||||
|
"canFlyFrom": true,
|
||||||
|
"canUseQuickShop": true,
|
||||||
|
"images": [],
|
||||||
|
"ratio": 1,
|
||||||
|
"defaultGround": "grass2",
|
||||||
|
"firstArrive": [],
|
||||||
|
"eachArrive": [],
|
||||||
|
"parallelDo": "",
|
||||||
|
"events": {},
|
||||||
|
"changeFloor": {
|
||||||
|
"9,0": {
|
||||||
|
"floorId": "guangchang2",
|
||||||
|
"loc": [
|
||||||
|
9,
|
||||||
|
12
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"beforeBattle": {},
|
||||||
|
"afterBattle": {},
|
||||||
|
"afterGetItem": {},
|
||||||
|
"afterOpenDoor": {},
|
||||||
|
"autoEvent": {},
|
||||||
|
"cannotMove": {},
|
||||||
|
"cannotMoveIn": {},
|
||||||
|
"map": [
|
||||||
|
[ 0, 0, 0, 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, 0, 0, 0, 0]
|
||||||
|
],
|
||||||
|
"areas": "牢狱",
|
||||||
|
"bgmap": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"fgmap": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"bg2map": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"fg2map": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
75
project/floors/zhujuejia.js
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
main.floors.zhujuejia=
|
||||||
|
{
|
||||||
|
"floorId": "zhujuejia",
|
||||||
|
"title": "新建楼层",
|
||||||
|
"name": "0",
|
||||||
|
"width": 13,
|
||||||
|
"height": 13,
|
||||||
|
"canFlyTo": true,
|
||||||
|
"canFlyFrom": true,
|
||||||
|
"canUseQuickShop": true,
|
||||||
|
"cannotViewMap": false,
|
||||||
|
"cannotMoveDirectly": false,
|
||||||
|
"images": [],
|
||||||
|
"ratio": 1,
|
||||||
|
"defaultGround": "ground",
|
||||||
|
"firstArrive": [],
|
||||||
|
"eachArrive": [],
|
||||||
|
"parallelDo": "",
|
||||||
|
"events": {},
|
||||||
|
"changeFloor": {
|
||||||
|
"0,9": {
|
||||||
|
"floorId": "street01",
|
||||||
|
"loc": [
|
||||||
|
12,
|
||||||
|
9
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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],
|
||||||
|
[ 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]
|
||||||
|
],
|
||||||
|
"bgmap": [
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308],
|
||||||
|
[308,308,308,308,308,308,308,308,308,308,308,308,308]
|
||||||
|
],
|
||||||
|
"fgmap": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"bg2map": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"fg2map": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
BIN
project/fonts/Verdana.ttf
Normal file
1236
project/functions.js
@ -113,7 +113,12 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
|
|||||||
"T392": 81,
|
"T392": 81,
|
||||||
"T393": 82,
|
"T393": 82,
|
||||||
"T394": 83,
|
"T394": 83,
|
||||||
"T395": 84
|
"T395": 84,
|
||||||
|
"T361": 85,
|
||||||
|
"T362": 86,
|
||||||
|
"T363": 87,
|
||||||
|
"T364": 88,
|
||||||
|
"T365": 89
|
||||||
},
|
},
|
||||||
"animates": {
|
"animates": {
|
||||||
"star": 0,
|
"star": 0,
|
||||||
@ -310,7 +315,18 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
|
|||||||
"jumpShoes": 49,
|
"jumpShoes": 49,
|
||||||
"skill1": 30,
|
"skill1": 30,
|
||||||
"wand": 10,
|
"wand": 10,
|
||||||
"pack": 46
|
"pack": 46,
|
||||||
|
"I366": 5,
|
||||||
|
"I367": 7,
|
||||||
|
"I368": 26,
|
||||||
|
"I369": 31,
|
||||||
|
"I370": 32,
|
||||||
|
"I371": 34,
|
||||||
|
"I372": 35,
|
||||||
|
"I373": 36,
|
||||||
|
"I374": 37,
|
||||||
|
"I375": 38,
|
||||||
|
"I396": 39
|
||||||
},
|
},
|
||||||
"autotile": {
|
"autotile": {
|
||||||
"autotile": 0,
|
"autotile": 0,
|
||||||
|
BIN
project/images/005-Attack03.webp
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
project/images/012-Heal01.webp
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
project/images/015-Fire01.webp
Normal file
After Width: | Height: | Size: 163 KiB |
BIN
project/images/jianji.webp
Normal file
After Width: | Height: | Size: 370 KiB |
BIN
project/images/miwu.webp
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
project/images/sound.webp
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
project/images/tati_310101.webp
Normal file
After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 1.3 KiB |
@ -150,10 +150,10 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
|||||||
"equip": {
|
"equip": {
|
||||||
"type": 0,
|
"type": 0,
|
||||||
"animate": "sword",
|
"animate": "sword",
|
||||||
"value": {
|
"value": {},
|
||||||
"atk": 10
|
"percentage": {
|
||||||
},
|
"mdef": 10
|
||||||
"percentage": {}
|
}
|
||||||
},
|
},
|
||||||
"itemEffect": "core.status.hero.atk += 10",
|
"itemEffect": "core.status.hero.atk += 10",
|
||||||
"itemEffectTip": ",攻击+10",
|
"itemEffectTip": ",攻击+10",
|
||||||
@ -166,10 +166,10 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
|||||||
"equip": {
|
"equip": {
|
||||||
"type": "武器",
|
"type": "武器",
|
||||||
"animate": "sword",
|
"animate": "sword",
|
||||||
"value": {
|
"value": {},
|
||||||
"atk": 20
|
"percentage": {
|
||||||
},
|
"mdef": 20
|
||||||
"percentage": {}
|
}
|
||||||
},
|
},
|
||||||
"itemEffect": "core.status.hero.atk += 20",
|
"itemEffect": "core.status.hero.atk += 20",
|
||||||
"itemEffectTip": ",攻击+20",
|
"itemEffectTip": ",攻击+20",
|
||||||
@ -247,10 +247,10 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
|||||||
"text": "一个很普通的铁盾",
|
"text": "一个很普通的铁盾",
|
||||||
"equip": {
|
"equip": {
|
||||||
"type": 1,
|
"type": 1,
|
||||||
"value": {
|
"value": {},
|
||||||
"def": 10
|
"percentage": {
|
||||||
},
|
"mdef": 10
|
||||||
"percentage": {}
|
}
|
||||||
},
|
},
|
||||||
"itemEffect": "core.status.hero.def += 10",
|
"itemEffect": "core.status.hero.def += 10",
|
||||||
"itemEffectTip": ",防御+10",
|
"itemEffectTip": ",防御+10",
|
||||||
@ -332,7 +332,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
|||||||
"text": "可以自由往来去过的楼层",
|
"text": "可以自由往来去过的楼层",
|
||||||
"hideInReplay": true,
|
"hideInReplay": true,
|
||||||
"hideInToolbox": true,
|
"hideInToolbox": true,
|
||||||
"useItemEffect": "//core.ui.drawFly(core.floorIds.indexOf(core.status.floorId));\ncore.ui._drawViewMaps(core.floorIds.indexOf(core.status.floorId));",
|
"useItemEffect": "//core.ui.drawFly(core.floorIds.indexOf(core.status.floorId));\nflags.canMoveFloor = core.canMoveFloor()\nif (!main.replayChecking && !core.isReplaying()) core.ui._drawViewMaps(core.floorIds.indexOf(core.status.floorId));",
|
||||||
"canUseItemEffect": "(function () {\n\tif (core.flags.flyNearStair && !core.nearStair() && !core.canMoveFloor())\n\t\treturn false;\n\treturn core.status.maps[core.status.floorId].canFlyFrom;\n})();"
|
"canUseItemEffect": "(function () {\n\tif (core.flags.flyNearStair && !core.nearStair() && !core.canMoveFloor())\n\t\treturn false;\n\treturn core.status.maps[core.status.floorId].canFlyFrom;\n})();"
|
||||||
},
|
},
|
||||||
"coin": {
|
"coin": {
|
||||||
@ -546,5 +546,60 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
|||||||
"name": "钱袋",
|
"name": "钱袋",
|
||||||
"itemEffect": "core.status.hero.money += 500",
|
"itemEffect": "core.status.hero.money += 500",
|
||||||
"itemEffectTip": ",金币+500"
|
"itemEffectTip": ",金币+500"
|
||||||
|
},
|
||||||
|
"I366": {
|
||||||
|
"cls": "items",
|
||||||
|
"name": "新物品",
|
||||||
|
"canUseItemEffect": "true"
|
||||||
|
},
|
||||||
|
"I367": {
|
||||||
|
"cls": "items",
|
||||||
|
"name": "新物品",
|
||||||
|
"canUseItemEffect": "true"
|
||||||
|
},
|
||||||
|
"I368": {
|
||||||
|
"cls": "items",
|
||||||
|
"name": "新物品",
|
||||||
|
"canUseItemEffect": "true"
|
||||||
|
},
|
||||||
|
"I369": {
|
||||||
|
"cls": "items",
|
||||||
|
"name": "新物品",
|
||||||
|
"canUseItemEffect": "true"
|
||||||
|
},
|
||||||
|
"I370": {
|
||||||
|
"cls": "items",
|
||||||
|
"name": "新物品",
|
||||||
|
"canUseItemEffect": "true"
|
||||||
|
},
|
||||||
|
"I371": {
|
||||||
|
"cls": "items",
|
||||||
|
"name": "新物品",
|
||||||
|
"canUseItemEffect": "true"
|
||||||
|
},
|
||||||
|
"I372": {
|
||||||
|
"cls": "items",
|
||||||
|
"name": "新物品",
|
||||||
|
"canUseItemEffect": "true"
|
||||||
|
},
|
||||||
|
"I373": {
|
||||||
|
"cls": "items",
|
||||||
|
"name": "新物品",
|
||||||
|
"canUseItemEffect": "true"
|
||||||
|
},
|
||||||
|
"I374": {
|
||||||
|
"cls": "items",
|
||||||
|
"name": "新物品",
|
||||||
|
"canUseItemEffect": "true"
|
||||||
|
},
|
||||||
|
"I375": {
|
||||||
|
"cls": "items",
|
||||||
|
"name": "新物品",
|
||||||
|
"canUseItemEffect": "true"
|
||||||
|
},
|
||||||
|
"I396": {
|
||||||
|
"cls": "items",
|
||||||
|
"name": "新物品",
|
||||||
|
"canUseItemEffect": "true"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,8 +1,8 @@
|
|||||||
var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
||||||
{
|
{
|
||||||
"1": {"cls":"animates","id":"yellowWall","canBreak":true,"animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{}}},
|
"1": {"cls":"animates","id":"yellowWall","canBreak":true,"animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{}}},
|
||||||
"2": {"cls":"animates","id":"whiteWall","canBreak":true,"animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{}}},
|
"2": {"cls":"animates","id":"whiteWall","canBreak":true,"animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{}}},
|
||||||
"3": {"cls":"animates","id":"blueWall","canBreak":true,"animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{}}},
|
"3": {"cls":"animates","id":"blueWall","canBreak":true,"animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{}}},
|
||||||
"4": {"cls":"animates","id":"star","name":"星空"},
|
"4": {"cls":"animates","id":"star","name":"星空"},
|
||||||
"5": {"cls":"animates","id":"lava","name":"岩浆"},
|
"5": {"cls":"animates","id":"lava","name":"岩浆"},
|
||||||
"6": {"cls":"animates","id":"ice","doorInfo":{"time":160,"openSound":"破冰镐","closeSound":"door.opus","keys":{"icePickaxe":1}},"animate":1},
|
"6": {"cls":"animates","id":"ice","doorInfo":{"time":160,"openSound":"破冰镐","closeSound":"door.opus","keys":{"icePickaxe":1}},"animate":1},
|
||||||
@ -68,12 +68,12 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
|||||||
"71": {"cls":"items","id":"shield0"},
|
"71": {"cls":"items","id":"shield0"},
|
||||||
"72": {"cls":"items","id":"skill1"},
|
"72": {"cls":"items","id":"skill1"},
|
||||||
"73": {"cls":"items","id":"wand"},
|
"73": {"cls":"items","id":"wand"},
|
||||||
"81": {"cls":"animates","id":"yellowDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"yellowKey":1}},"name":"黄门"},
|
"81": {"cls":"animates","id":"yellowDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"yellowKey":1}},"name":"黄门"},
|
||||||
"82": {"cls":"animates","id":"blueDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"blueKey":1}},"name":"蓝门"},
|
"82": {"cls":"animates","id":"blueDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"blueKey":1}},"name":"蓝门"},
|
||||||
"83": {"cls":"animates","id":"redDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"redKey":1}},"name":"红门"},
|
"83": {"cls":"animates","id":"redDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"redKey":1}},"name":"红门"},
|
||||||
"84": {"cls":"animates","id":"greenDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"greenKey":1}},"name":"绿门"},
|
"84": {"cls":"animates","id":"greenDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"greenKey":1}},"name":"绿门"},
|
||||||
"85": {"cls":"animates","id":"specialDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"specialKey":1}},"name":"机关门"},
|
"85": {"cls":"animates","id":"specialDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"specialKey":1}},"name":"机关门"},
|
||||||
"86": {"cls":"animates","id":"steelDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"steelKey":1}},"name":"铁门"},
|
"86": {"cls":"animates","id":"steelDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"steelKey":1}},"name":"铁门"},
|
||||||
"87": {"cls":"terrains","id":"upFloor","canPass":true},
|
"87": {"cls":"terrains","id":"upFloor","canPass":true},
|
||||||
"88": {"cls":"terrains","id":"downFloor","canPass":true},
|
"88": {"cls":"terrains","id":"downFloor","canPass":true},
|
||||||
"89": {"cls":"animates","id":"portal","canPass":true},
|
"89": {"cls":"animates","id":"portal","canPass":true},
|
||||||
@ -86,7 +86,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
|||||||
"102": {"cls":"animates","id":"crystalBottom"},
|
"102": {"cls":"animates","id":"crystalBottom"},
|
||||||
"103": {"cls":"animates","id":"fire"},
|
"103": {"cls":"animates","id":"fire"},
|
||||||
"104": {"cls":"animates","id":"switch"},
|
"104": {"cls":"animates","id":"switch"},
|
||||||
"109": {"cls":"animates","id":"magentaWall","canBreak":true,"animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{}}},
|
"109": {"cls":"animates","id":"magentaWall","canBreak":true,"animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{}}},
|
||||||
"121": {"cls":"npcs","id":"man"},
|
"121": {"cls":"npcs","id":"man"},
|
||||||
"122": {"cls":"npcs","id":"trader"},
|
"122": {"cls":"npcs","id":"trader"},
|
||||||
"123": {"cls":"npcs","id":"thief"},
|
"123": {"cls":"npcs","id":"thief"},
|
||||||
@ -217,12 +217,12 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
|||||||
"316": {"cls":"terrains","id":"sWallTLR","name":"薄墙-上左右","cannotOut":["up","left","right"],"cannotIn":["up","left","right"]},
|
"316": {"cls":"terrains","id":"sWallTLR","name":"薄墙-上左右","cannotOut":["up","left","right"],"cannotIn":["up","left","right"]},
|
||||||
"317": {"cls":"terrains","id":"sWallTBR","name":"薄墙-上下右","cannotOut":["up","down","right"],"cannotIn":["up","down","right"]},
|
"317": {"cls":"terrains","id":"sWallTBR","name":"薄墙-上下右","cannotOut":["up","down","right"],"cannotIn":["up","down","right"]},
|
||||||
"318": {"cls":"terrains","id":"sWallTBL","name":"薄墙-上下左","cannotOut":["up","down","left"],"cannotIn":["up","down","left"]},
|
"318": {"cls":"terrains","id":"sWallTBL","name":"薄墙-上下左","cannotOut":["up","down","left"],"cannotIn":["up","down","left"]},
|
||||||
"319": {"cls":"npc48","id":"tallYellowDoor","trigger":"openDoor","name":"高黄门","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"yellowKey":1}}},
|
"319": {"cls":"npc48","id":"tallYellowDoor","trigger":"openDoor","name":"高黄门","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"yellowKey":1}}},
|
||||||
"320": {"cls":"npc48","id":"tallBlueDoor","trigger":"openDoor","name":"高蓝门","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"blueKey":1}}},
|
"320": {"cls":"npc48","id":"tallBlueDoor","trigger":"openDoor","name":"高蓝门","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"blueKey":1}}},
|
||||||
"321": {"cls":"npc48","id":"tallRedDoor","trigger":"openDoor","name":"高红门","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"redKey":1}}},
|
"321": {"cls":"npc48","id":"tallRedDoor","trigger":"openDoor","name":"高红门","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"redKey":1}}},
|
||||||
"322": {"cls":"npc48","id":"tallGreenDoor","trigger":"openDoor","name":"高绿门","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"greenKey":1}}},
|
"322": {"cls":"npc48","id":"tallGreenDoor","trigger":"openDoor","name":"高绿门","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"greenKey":1}}},
|
||||||
"323": {"cls":"npc48","id":"tallSpecialDoor","trigger":"openDoor","name":"高机关门","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"specialKey":1}}},
|
"323": {"cls":"npc48","id":"tallSpecialDoor","trigger":"openDoor","name":"高机关门","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"specialKey":1}}},
|
||||||
"324": {"cls":"npc48","id":"tallSteelDoor","trigger":"openDoor","name":"高铁门","animate":1,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.opus","keys":{"steelKey":1}}},
|
"324": {"cls":"npc48","id":"tallSteelDoor","trigger":"openDoor","name":"高铁门","animate":1,"doorInfo":{"time":160,"openSound":"door.opus","closeSound":"door.opus","keys":{"steelKey":1}}},
|
||||||
"325": {"cls":"enemys","id":"keiskeiFairy"},
|
"325": {"cls":"enemys","id":"keiskeiFairy"},
|
||||||
"326": {"cls":"enemys","id":"tulipFairy"},
|
"326": {"cls":"enemys","id":"tulipFairy"},
|
||||||
"327": {"cls":"enemy48","id":"bearDown"},
|
"327": {"cls":"enemy48","id":"bearDown"},
|
||||||
@ -259,6 +259,21 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
|||||||
"358": {"cls":"terrains","id":"T358"},
|
"358": {"cls":"terrains","id":"T358"},
|
||||||
"359": {"cls":"terrains","id":"T359"},
|
"359": {"cls":"terrains","id":"T359"},
|
||||||
"360": {"cls":"terrains","id":"T360"},
|
"360": {"cls":"terrains","id":"T360"},
|
||||||
|
"361": {"cls":"terrains","id":"T361"},
|
||||||
|
"362": {"cls":"terrains","id":"T362"},
|
||||||
|
"363": {"cls":"terrains","id":"T363"},
|
||||||
|
"364": {"cls":"terrains","id":"T364"},
|
||||||
|
"365": {"cls":"terrains","id":"T365"},
|
||||||
|
"366": {"cls":"items","id":"I366"},
|
||||||
|
"367": {"cls":"items","id":"I367"},
|
||||||
|
"368": {"cls":"items","id":"I368"},
|
||||||
|
"369": {"cls":"items","id":"I369"},
|
||||||
|
"370": {"cls":"items","id":"I370"},
|
||||||
|
"371": {"cls":"items","id":"I371"},
|
||||||
|
"372": {"cls":"items","id":"I372"},
|
||||||
|
"373": {"cls":"items","id":"I373"},
|
||||||
|
"374": {"cls":"items","id":"I374"},
|
||||||
|
"375": {"cls":"items","id":"I375"},
|
||||||
"376": {"cls":"terrains","id":"T376"},
|
"376": {"cls":"terrains","id":"T376"},
|
||||||
"377": {"cls":"terrains","id":"T377"},
|
"377": {"cls":"terrains","id":"T377"},
|
||||||
"378": {"cls":"terrains","id":"T378"},
|
"378": {"cls":"terrains","id":"T378"},
|
||||||
@ -279,6 +294,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
|||||||
"393": {"cls":"terrains","id":"T393"},
|
"393": {"cls":"terrains","id":"T393"},
|
||||||
"394": {"cls":"terrains","id":"T394"},
|
"394": {"cls":"terrains","id":"T394"},
|
||||||
"395": {"cls":"terrains","id":"T395"},
|
"395": {"cls":"terrains","id":"T395"},
|
||||||
|
"396": {"cls":"items","id":"I396"},
|
||||||
"20034": {"cls":"tileset","id":"X20034","canPass":true},
|
"20034": {"cls":"tileset","id":"X20034","canPass":true},
|
||||||
"20154": {"cls":"tileset","id":"X20154","canPass":true},
|
"20154": {"cls":"tileset","id":"X20154","canPass":true},
|
||||||
"20216": {"cls":"tileset","id":"X20216","canPass":true},
|
"20216": {"cls":"tileset","id":"X20216","canPass":true},
|
||||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 50 KiB |
5899
project/plugins.js
Before Width: | Height: | Size: 343 KiB After Width: | Height: | Size: 347 KiB |
BIN
project/tilesets/c6.png
Normal file
After Width: | Height: | Size: 45 KiB |
121
styles.css
@ -1,4 +1,5 @@
|
|||||||
html, body {
|
html,
|
||||||
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -89,7 +90,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#startTopHint {
|
#startTopHint {
|
||||||
color: #66CCFF;
|
color: #66ccff;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 5%;
|
left: 5%;
|
||||||
@ -144,8 +145,8 @@
|
|||||||
/* default value */
|
/* default value */
|
||||||
background-color: #000000;
|
background-color: #000000;
|
||||||
opacity: 0.55;
|
opacity: 0.55;
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
border: #FFFFFF 0px solid;
|
border: #ffffff 0px solid;
|
||||||
caret-color: #ffffff;
|
caret-color: #ffffff;
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
@ -161,7 +162,7 @@
|
|||||||
.startButton {
|
.startButton {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font:1.2rem "pala", sans-serif;
|
font: 1.2rem pala, sans-serif;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
display: block;
|
display: block;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -268,7 +269,12 @@ p#hard {
|
|||||||
word-break: keep-all;
|
word-break: keep-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
span#poison, span#weak, span#curse, span#pickaxe, span#bomb, span#fly {
|
span#poison,
|
||||||
|
span#weak,
|
||||||
|
span#curse,
|
||||||
|
span#pickaxe,
|
||||||
|
span#bomb,
|
||||||
|
span#fly {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
@ -351,7 +357,7 @@ p#name {
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background: rgba(127, 127, 127, 0.6);
|
background: rgba(127, 127, 127, 0.6);
|
||||||
z-index: 2000
|
z-index: 2000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#inputDialog {
|
#inputDialog {
|
||||||
@ -377,7 +383,7 @@ p#name {
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
padding: 5px 3px;
|
padding: 5px 3px;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
background: #F0F0F0;
|
background: #f0f0f0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#inputYes {
|
#inputYes {
|
||||||
@ -390,20 +396,33 @@ p#name {
|
|||||||
margin-right: 10%;
|
margin-right: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#_selector, ._uievent_selector {
|
#_selector,
|
||||||
|
._uievent_selector {
|
||||||
animation: selector 2s ease-in-out 0s infinite normal none running;
|
animation: selector 2s ease-in-out 0s infinite normal none running;
|
||||||
}
|
}
|
||||||
|
|
||||||
@-webkit-keyframes selector {
|
@-webkit-keyframes selector {
|
||||||
0% { opacity: 0.95; }
|
0% {
|
||||||
50% { opacity: 0.55; }
|
opacity: 0.95;
|
||||||
100% { opacity: 0.95; }
|
}
|
||||||
|
50% {
|
||||||
|
opacity: 0.55;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0.95;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes selector {
|
@keyframes selector {
|
||||||
0% { opacity: 0.95; }
|
0% {
|
||||||
50% { opacity: 0.55; }
|
opacity: 0.95;
|
||||||
100% { opacity: 0.95; }
|
}
|
||||||
|
50% {
|
||||||
|
opacity: 0.55;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0.95;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#next {
|
#next {
|
||||||
@ -416,8 +435,8 @@ p#name {
|
|||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
border-right-width: 4px;
|
border-right-width: 4px;
|
||||||
border-right-style: solid;
|
border-right-style: solid;
|
||||||
-webkit-animation: next .5s ease-in-out alternate infinite;
|
-webkit-animation: next 0.5s ease-in-out alternate infinite;
|
||||||
animation: next .5s ease-in-out alternate infinite;
|
animation: next 0.5s ease-in-out alternate infinite;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
@ -467,15 +486,27 @@ p#name {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@-webkit-keyframes startImage {
|
@-webkit-keyframes startImage {
|
||||||
0% { opacity: 0; }
|
0% {
|
||||||
60% { opacity: 1; }
|
opacity: 0;
|
||||||
100% { opacity: 0; }
|
}
|
||||||
|
60% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes startImage {
|
@keyframes startImage {
|
||||||
0% { opacity: 0; }
|
0% {
|
||||||
60% { opacity: 1; }
|
opacity: 0;
|
||||||
100% { opacity: 0; }
|
}
|
||||||
|
60% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.startImageDivAnimation {
|
.startImageDivAnimation {
|
||||||
@ -484,13 +515,21 @@ p#name {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@-webkit-keyframes startImageDivDisappear {
|
@-webkit-keyframes startImageDivDisappear {
|
||||||
0% { opacity: 1 }
|
0% {
|
||||||
100% { opacity: 0 }
|
opacity: 1;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes startImageDivDisappear {
|
@keyframes startImageDivDisappear {
|
||||||
0% { opacity: 1 }
|
0% {
|
||||||
100% { opacity: 0 }
|
opacity: 1;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#ui-editor {
|
#ui-editor {
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
@ -505,9 +544,9 @@ p#name {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 注释下面这三行以开启抗锯齿 */
|
/* 注释下面这三行以开启抗锯齿 */
|
||||||
.anti-aliasing {
|
/* .anti-aliasing {
|
||||||
image-rendering: pixelated;
|
image-rendering: pixelated;
|
||||||
}
|
} */
|
||||||
|
|
||||||
.warning {
|
.warning {
|
||||||
transition: left cubic-bezier(0, 0.9, 1, 0.1) 2.5s;
|
transition: left cubic-bezier(0, 0.9, 1, 0.1) 2.5s;
|
||||||
@ -517,15 +556,27 @@ p#name {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes warning {
|
@keyframes warning {
|
||||||
0 % { text-shadow: 0px 0px 9px rgba(255, 0, 0, 0.5), 0px 0px 6px rgb(129, 0, 0);}
|
0 % {
|
||||||
50 % { text-shadow: 0px 0px 30px rgba(255, 0, 0, 1), 0px 0px 6px rgb(129, 0, 0);}
|
text-shadow: 0px 0px 9px rgba(255, 0, 0, 0.5), 0px 0px 6px rgb(129, 0, 0);
|
||||||
100 % { text-shadow: 0px 0px 9px rgba(255, 0, 0, 0.5), 0px 0px 6px rgb(129, 0, 0);}
|
}
|
||||||
|
50 % {
|
||||||
|
text-shadow: 0px 0px 30px rgba(255, 0, 0, 1), 0px 0px 6px rgb(129, 0, 0);
|
||||||
|
}
|
||||||
|
100 % {
|
||||||
|
text-shadow: 0px 0px 9px rgba(255, 0, 0, 0.5), 0px 0px 6px rgb(129, 0, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@-webkit - keyframes warning {
|
@-webkit - keyframes warning {
|
||||||
0 % { text-shadow: 0px 0px 9px rgba(255, 0, 0, 0.5), 0px 0px 6px rgb(129, 0, 0);}
|
0 % {
|
||||||
50 % { text-shadow: 0px 0px 30px rgba(255, 0, 0, 1), 0px 0px 6px rgb(129, 0, 0);}
|
text-shadow: 0px 0px 9px rgba(255, 0, 0, 0.5), 0px 0px 6px rgb(129, 0, 0);
|
||||||
100 % { text-shadow: 0px 0px 9px rgba(255, 0, 0, 0.5), 0px 0px 6px rgb(129, 0, 0);}
|
}
|
||||||
|
50 % {
|
||||||
|
text-shadow: 0px 0px 30px rgba(255, 0, 0, 1), 0px 0px 6px rgb(129, 0, 0);
|
||||||
|
}
|
||||||
|
100 % {
|
||||||
|
text-shadow: 0px 0px 9px rgba(255, 0, 0, 0.5), 0px 0px 6px rgb(129, 0, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.gameCanvas {
|
.gameCanvas {
|
||||||
|