自定义模式允许设置消行任务
This commit is contained in:
@@ -23,6 +23,7 @@ local langList={
|
||||
continue="Continue.",
|
||||
maxspeed="最高速度",
|
||||
speedup="速度加快",
|
||||
missionFailed="非任务消除",
|
||||
|
||||
win="胜利",
|
||||
finish="完成",
|
||||
@@ -30,7 +31,7 @@ local langList={
|
||||
pause="暂停",
|
||||
pauseCount="暂停统计",
|
||||
|
||||
custom="自定义游戏",basic="常规",rule="规则",field="自定义场地",
|
||||
custom="自定义游戏",basic="常规",rule="规则",field="自定义场地",mission="任务",
|
||||
softdropdas="软降DAS:",
|
||||
softdroparr="软降ARR:",
|
||||
snapLevelName={"无吸附","10px吸附","20px吸附","40px吸附","60px吸附","80px吸附"},
|
||||
@@ -205,7 +206,7 @@ local langList={
|
||||
bg="背景",
|
||||
bgm="音乐",
|
||||
|
||||
draw="←初始场地",
|
||||
mission="←任务设置",
|
||||
rule="更多规则(Tab)→",
|
||||
back="返回",
|
||||
},
|
||||
@@ -255,8 +256,26 @@ local langList={
|
||||
delLine="消除行(L)",
|
||||
demo="不显示×",
|
||||
|
||||
seq="←序列设置",
|
||||
norm="基础设置(Tab)→",
|
||||
mission="任务设置(Tab)→",
|
||||
back="返回",
|
||||
},
|
||||
custom_mission={
|
||||
Z1="Z1",S1="S1",J1="J1",L1="L1",T1="T1",O1="O1",I1="I1",
|
||||
Z2="Z2",S2="S2",J2="J2",L2="L2",T2="T2",O2="O2",I2="I2",
|
||||
Z3="Z3",S3="S3",J3="J3",L3="L3",T3="T3",O3="O3",I3="I3",
|
||||
any1="any1",any2="any2",any3="any3",any4="any4",
|
||||
PC="PC",O4="O4",I4="I4",
|
||||
_1="1",_2="2",_3="3",_4="4",
|
||||
left="←",right="→",
|
||||
ten="+10",
|
||||
backsp="<X",
|
||||
reset="R",
|
||||
copy="复制",
|
||||
paste="粘贴",
|
||||
mission="强制任务",
|
||||
|
||||
draw="←初始场地",
|
||||
norm="基础设置(tab)→",
|
||||
back="返回",
|
||||
},
|
||||
play={
|
||||
@@ -527,6 +546,7 @@ local langList={
|
||||
continue="继续。",
|
||||
maxspeed="最高速度",
|
||||
speedup="速度加快",
|
||||
missionFailed="非任务消除",
|
||||
|
||||
win="胜利",
|
||||
finish="完成",
|
||||
@@ -534,7 +554,7 @@ local langList={
|
||||
pause="暂停",
|
||||
pauseCount="暂停统计",
|
||||
|
||||
custom="自定义游戏",basic="常规",rule="规则",field="自定义场地",
|
||||
custom="自定义游戏",basic="常规",rule="规则",field="自定义场地",mission="任务",
|
||||
snapLevelName={"无吸附","10像素吸附","20像素吸附","40像素吸附","60像素吸附","80像素吸附"},
|
||||
setting_game="游戏设置",
|
||||
setting_video="画面设置",
|
||||
@@ -705,7 +725,7 @@ local langList={
|
||||
bg="背景",
|
||||
bgm="音乐",
|
||||
|
||||
draw="←初始场地",
|
||||
mission="←任务设置",
|
||||
rule="更多规则(Tab)→",
|
||||
back="返回",
|
||||
},
|
||||
@@ -755,8 +775,26 @@ local langList={
|
||||
delLine="消除行(L)",
|
||||
demo="不显示×",
|
||||
|
||||
seq="←序列设置",
|
||||
norm="基础设置(Tab)→",
|
||||
mission="任务设置(Tab)→",
|
||||
back="返回",
|
||||
},
|
||||
custom_mission={
|
||||
Z1="Z1",S1="S1",J1="J1",L1="L1",T1="T1",O1="O1",I1="I1",
|
||||
Z2="Z2",S2="S2",J2="J2",L2="L2",T2="T2",O2="O2",I2="I2",
|
||||
Z3="Z3",S3="S3",J3="J3",L3="L3",T3="T3",O3="O3",I3="I3",
|
||||
any1="any1",any2="any2",any3="any3",any4="any4",
|
||||
PC="PC",O4="O4",I4="I4",
|
||||
_1="1",_2="2",_3="3",_4="4",
|
||||
left="←",right="→",
|
||||
ten="+10",
|
||||
backsp="<X",
|
||||
reset="R",
|
||||
copy="复制",
|
||||
paste="粘贴",
|
||||
mission="强制任务",
|
||||
|
||||
draw="←初始场地",
|
||||
norm="基础设置(tab)→",
|
||||
back="返回",
|
||||
},
|
||||
play={
|
||||
@@ -1027,6 +1065,7 @@ local langList={
|
||||
continue="Keep going!",
|
||||
maxspeed="Max speed!",
|
||||
speedup="Speed up!",
|
||||
missionFailed="Wrong Clear",
|
||||
|
||||
win="You Win!",
|
||||
finish="Finish",
|
||||
@@ -1034,7 +1073,7 @@ local langList={
|
||||
pause="Pause",
|
||||
pauseCount="Pauses:",
|
||||
|
||||
custom="Custom Game",basic="Basic",rule="Rule",field="Custom Field",
|
||||
custom="Custom Game",basic="Basic",rule="Rule",field="Custom Field",mission="Mission",
|
||||
snapLevelName={"Free pos","Snap-10","Snap-20","Snap-40","Snap-60","Snap-80"},
|
||||
setting_game="Game Settings",
|
||||
setting_video="Video Settings",
|
||||
@@ -1195,7 +1234,7 @@ local langList={
|
||||
bg="Background",
|
||||
bgm="Music",
|
||||
|
||||
draw="←Field",
|
||||
mission="←Mission",
|
||||
rule="Rules (Tab)→",
|
||||
back="Back",
|
||||
},
|
||||
@@ -1245,8 +1284,26 @@ local langList={
|
||||
delLine="Del Line(L)",
|
||||
demo="Don't show ×",
|
||||
|
||||
seq="←Sequence",
|
||||
norm="Basic (Tab)→",
|
||||
mission="Mission (Tab)→",
|
||||
back="Back",
|
||||
},
|
||||
custom_mission={
|
||||
Z1="Z1",S1="S1",J1="J1",L1="L1",T1="T1",O1="O1",I1="I1",
|
||||
Z2="Z2",S2="S2",J2="J2",L2="L2",T2="T2",O2="O2",I2="I2",
|
||||
Z3="Z3",S3="S3",J3="J3",L3="L3",T3="T3",O3="O3",I3="I3",
|
||||
any1="any1",any2="any2",any3="any3",any4="any4",
|
||||
PC="PC",O4="O4",I4="I4",
|
||||
_1="1",_2="2",_3="3",_4="4",
|
||||
left="←",right="→",
|
||||
ten="+10",
|
||||
backsp="<X",
|
||||
reset="R",
|
||||
copy="Copy",
|
||||
paste="Paste",
|
||||
mission="Force mission",
|
||||
|
||||
draw="←Field",
|
||||
norm="Basic (tab)→",
|
||||
back="Back",
|
||||
},
|
||||
play={
|
||||
@@ -1517,6 +1574,7 @@ local langList={
|
||||
continue="~~",
|
||||
maxspeed="!!!",
|
||||
speedup="~!~",
|
||||
missionFailed="-X_X-",
|
||||
|
||||
win=": )",
|
||||
finish="&",
|
||||
@@ -1524,7 +1582,7 @@ local langList={
|
||||
pause="=",
|
||||
pauseCount="=:",
|
||||
|
||||
custom="!@#$%^&*",basic="!!",rule="##",field="!@#$%^&* [##]",
|
||||
custom="!@#$%^&*",basic="!!",rule="##",field="!@#$%^&* [##]",mission="(!)",
|
||||
snapLevelName={"~","10","20","40","60","80"},
|
||||
setting_game="%~~%",
|
||||
setting_video="{~~}",
|
||||
@@ -1683,7 +1741,7 @@ local langList={
|
||||
bg="{~}",
|
||||
bgm="(~)",
|
||||
|
||||
draw="←Field",
|
||||
mission="←Mission",
|
||||
rule="Rule (Tab)→",
|
||||
back="X",
|
||||
},
|
||||
@@ -1733,8 +1791,26 @@ local langList={
|
||||
delLine="==X==(L)",
|
||||
demo="X ×",
|
||||
|
||||
seq="←Seq",
|
||||
norm="Basic (Tab)→",
|
||||
mission="Mission (Tab)→",
|
||||
back="X",
|
||||
},
|
||||
custom_mission={
|
||||
Z1="Z1",S1="S1",J1="J1",L1="L1",T1="T1",O1="O1",I1="I1",
|
||||
Z2="Z2",S2="S2",J2="J2",L2="L2",T2="T2",O2="O2",I2="I2",
|
||||
Z3="Z3",S3="S3",J3="J3",L3="L3",T3="T3",O3="O3",I3="I3",
|
||||
any1="any1",any2="any2",any3="any3",any4="any4",
|
||||
PC="PC",O4="O4",I4="I4",
|
||||
_1="1",_2="2",_3="3",_4="4",
|
||||
left="←",right="→",
|
||||
ten="+10",
|
||||
backsp="<X",
|
||||
reset="R",
|
||||
copy="Copy",
|
||||
paste="Paste",
|
||||
mission="Force mission",
|
||||
|
||||
draw="←Field",
|
||||
norm="Basic (tab)→",
|
||||
back="X",
|
||||
},
|
||||
play={
|
||||
@@ -2005,6 +2081,7 @@ local langList={
|
||||
continue="您继续",
|
||||
maxspeed="速度封顶",
|
||||
speedup="速度加快",
|
||||
missionFailed="非任务消除",
|
||||
|
||||
win="成了",
|
||||
finish="可以的",
|
||||
@@ -2012,7 +2089,7 @@ local langList={
|
||||
pause="歇会",
|
||||
pauseCount="歇多久了",
|
||||
|
||||
custom="自定义",basic="普通",rule="规则",field="自定义场地",
|
||||
custom="自定义",basic="普通",rule="规则",field="自定义场地",mission="任务",
|
||||
softdropdas="软降DAS:",
|
||||
softdroparr="软降ARR:",
|
||||
snapLevelName={"无吸附","10px吸附","20px吸附","40px吸附","60px吸附","80px吸附"},
|
||||
@@ -2185,7 +2262,7 @@ local langList={
|
||||
bg="背景",
|
||||
bgm="音乐",
|
||||
|
||||
draw="←初始场地",
|
||||
mission="←任务设置",
|
||||
rule="更多规则(Tab)→",
|
||||
back="返回",
|
||||
},
|
||||
@@ -2235,8 +2312,26 @@ local langList={
|
||||
delLine="消除行(L)",
|
||||
demo="不显示×",
|
||||
|
||||
seq="←序列设置",
|
||||
norm="基础设置(Tab)→",
|
||||
mission="任务设置(Tab)→",
|
||||
back="返回",
|
||||
},
|
||||
custom_mission={
|
||||
Z1="Z1",S1="S1",J1="J1",L1="L1",T1="T1",O1="O1",I1="I1",
|
||||
Z2="Z2",S2="S2",J2="J2",L2="L2",T2="T2",O2="O2",I2="I2",
|
||||
Z3="Z3",S3="S3",J3="J3",L3="L3",T3="T3",O3="O3",I3="I3",
|
||||
any1="any1",any2="any2",any3="any3",any4="any4",
|
||||
PC="PC",O4="O4",I4="I4",
|
||||
_1="1",_2="2",_3="3",_4="4",
|
||||
left="←",right="→",
|
||||
ten="+10",
|
||||
backsp="<X",
|
||||
reset="R",
|
||||
copy="复制",
|
||||
paste="粘贴",
|
||||
mission="强制任务",
|
||||
|
||||
draw="←初始场地",
|
||||
norm="基础设置(tab)→",
|
||||
back="返回",
|
||||
},
|
||||
play={
|
||||
@@ -2534,7 +2629,7 @@ local drawableTextLoad={
|
||||
"next","hold",
|
||||
"win","finish","gameover","pause",
|
||||
|
||||
"custom","basic","rule","field",
|
||||
"custom","basic","rule","field","mission",
|
||||
"setting_game","setting_video","setting_sound",
|
||||
"setting_control","setting_skin",
|
||||
"keyboard","joystick",
|
||||
|
||||
@@ -185,7 +185,7 @@ local Widgets={
|
||||
newSelector({name="bg", x=1140, y=460, w=220,color="yellow", list=CUSlist.bg, disp=CUSval("bg"), code=function(i)customEnv.bg=i BG.set(i)end}),
|
||||
newSelector({name="bgm", x=1140, y=540, w=220,color="yellow", list=CUSlist.bgm, disp=CUSval("bgm"), code=function(i)customEnv.bgm=i BGM.play(i)end}),
|
||||
|
||||
newButton({name="draw", x=900, y=60, w=220,h=80, color="lBlue", font=30,code=swapScene("custom_draw","swipeR")}),
|
||||
newButton({name="mission", x=900, y=60, w=220,h=80, color="lBlue", font=30,code=swapScene("custom_mission","swipeR")}),
|
||||
newButton({name="rule", x=1140, y=60, w=220,h=80, color="lBlue", font=30,code=swapScene("custom_rule","swipeL")}),
|
||||
newButton({name="back", x=1140, y=640, w=170,h=80, color="white", font=40,code=BACK}),
|
||||
},
|
||||
@@ -278,10 +278,60 @@ local Widgets={
|
||||
newButton({name="delLine", x=1200, y=520, w=120, color="lYellow",font=20,code=pressKey("l")}),
|
||||
newSwitch({name="demo", x=755, y=640, font=30,disp=function()return sceneTemp.demo end,code=function()sceneTemp.demo=not sceneTemp.demo end}),
|
||||
|
||||
newButton({name="seq", x=900, y=60, w=220,h=80, color="lBlue", font=30,code=swapScene("custom_seq","swipeR")}),
|
||||
newButton({name="norm", x=1140, y=60, w=220,h=80, color="lBlue", font=30,code=swapScene("custom_norm","swipeL")}),
|
||||
newButton({name="mission", x=1140, y=60, w=220,h=80, color="lBlue", font=30,code=swapScene("custom_mission","swipeL")}),
|
||||
newButton({name="back", x=1140, y=640, w=170,h=80, color="white", font=40,code=BACK}),
|
||||
},
|
||||
custom_mission={
|
||||
newKey({name="Z1", x=100, y=340, w=90, color="white", font=50,code=pressKey(11)}),
|
||||
newKey({name="S1", x=200, y=340, w=90, color="white", font=50,code=pressKey(12)}),
|
||||
newKey({name="J1", x=300, y=340, w=90, color="white", font=50,code=pressKey(13)}),
|
||||
newKey({name="L1", x=400, y=340, w=90, color="white", font=50,code=pressKey(14)}),
|
||||
newKey({name="T1", x=500, y=340, w=90, color="white", font=50,code=pressKey(15)}),
|
||||
newKey({name="O1", x=600, y=340, w=90, color="white", font=50,code=pressKey(16)}),
|
||||
newKey({name="I1", x=700, y=340, w=90, color="white", font=50,code=pressKey(17)}),
|
||||
|
||||
newKey({name="Z2", x=100, y=440, w=90, color="white", font=50,code=pressKey(21)}),
|
||||
newKey({name="S2", x=200, y=440, w=90, color="white", font=50,code=pressKey(22)}),
|
||||
newKey({name="J2", x=300, y=440, w=90, color="white", font=50,code=pressKey(23)}),
|
||||
newKey({name="L2", x=400, y=440, w=90, color="white", font=50,code=pressKey(24)}),
|
||||
newKey({name="T2", x=500, y=440, w=90, color="white", font=50,code=pressKey(25)}),
|
||||
newKey({name="O2", x=600, y=440, w=90, color="white", font=50,code=pressKey(26)}),
|
||||
newKey({name="I2", x=700, y=440, w=90, color="white", font=50,code=pressKey(27)}),
|
||||
|
||||
newKey({name="Z3", x=100, y=540, w=90, color="white", font=50,code=pressKey(31)}),
|
||||
newKey({name="S3", x=200, y=540, w=90, color="white", font=50,code=pressKey(32)}),
|
||||
newKey({name="J3", x=300, y=540, w=90, color="white", font=50,code=pressKey(33)}),
|
||||
newKey({name="L3", x=400, y=540, w=90, color="white", font=50,code=pressKey(34)}),
|
||||
newKey({name="T3", x=500, y=540, w=90, color="white", font=50,code=pressKey(35)}),
|
||||
newKey({name="O3", x=600, y=540, w=90, color="white", font=50,code=pressKey(36)}),
|
||||
newKey({name="I3", x=700, y=540, w=90, color="white", font=50,code=pressKey(37)}),
|
||||
|
||||
newKey({name="any1", x=100, y=640, w=90, color="white", font=30,code=pressKey(91)}),
|
||||
newKey({name="any2", x=200, y=640, w=90, color="white", font=30,code=pressKey(92)}),
|
||||
newKey({name="any3", x=300, y=640, w=90, color="white", font=30,code=pressKey(93)}),
|
||||
newKey({name="any4", x=400, y=640, w=90, color="white", font=30,code=pressKey(94)}),
|
||||
newKey({name="PC", x=500, y=640, w=90, color="white", font=50,code=pressKey(99)}),
|
||||
newKey({name="O4", x=600, y=640, w=90, color="white", font=50,code=pressKey(46)}),
|
||||
newKey({name="I4", x=700, y=640, w=90, color="white", font=50,code=pressKey(47)}),
|
||||
|
||||
newKey({name="_1", x=800, y=540, w=90, color="white", font=50,code=pressKey(1)}),
|
||||
newKey({name="_2", x=900, y=540, w=90, color="white", font=50,code=pressKey(2)}),
|
||||
newKey({name="_3", x=800, y=640, w=90, color="white", font=50,code=pressKey(3)}),
|
||||
newKey({name="_4", x=900, y=640, w=90, color="white", font=50,code=pressKey(4)}),
|
||||
|
||||
newKey({name="left", x=800, y=440, w=90, color="lGreen", font=55,code=pressKey("left")}),
|
||||
newKey({name="right", x=900, y=440, w=90, color="lGreen", font=55,code=pressKey("right")}),
|
||||
newKey({name="ten", x=1000, y=440, w=90, color="lGreen", font=40,code=pressKey("ten")}),
|
||||
newKey({name="backsp", x=1000, y=540, w=90, color="lYellow",font=50,code=pressKey("backspace")}),
|
||||
newKey({name="reset", x=1000, y=640, w=90, color="lYellow",font=50,code=pressKey("delete")}),
|
||||
newButton({name="copy", x=1140, y=440, w=170,h=80, color="lRed", font=40,code=pressKey("cC"),hide=function()return #preMission==0 end}),
|
||||
newButton({name="paste", x=1140, y=540, w=170,h=80, color="lBlue", font=40,code=pressKey("cV")}),
|
||||
newSwitch({name="mission", x=1150, y=350, font=30, disp=CUSval("missionKill"), code=CUSrev("missionKill")}),
|
||||
|
||||
newButton({name="draw", x=900, y=60, w=220,h=80, color="lBlue", font=30,code=swapScene("custom_draw","swipeR")}),
|
||||
newButton({name="norm", x=1140, y=60, w=220,h=80, color="lBlue", font=30,code=swapScene("custom_norm","swipeL")}),
|
||||
newButton({name="back", x=1140, y=640, w=170,h=80, color="white", font=40,code=BACK}),
|
||||
},
|
||||
play={
|
||||
newButton({name="pause", x=1235, y=45, w=80, color="white", font=25,code=function()pauseGame()end}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user