新增das打断设置
This commit is contained in:
@@ -223,7 +223,7 @@ RANKS={sprint_10=0}
|
||||
|
||||
SETTING={
|
||||
--Game
|
||||
das=10,arr=2,
|
||||
das=10,arr=2,dascut=0,
|
||||
sddas=0,sdarr=2,
|
||||
ihs=true,irs=true,ims=true,
|
||||
maxNext=6,
|
||||
|
||||
@@ -295,7 +295,7 @@ return{
|
||||
title="Control Settings",
|
||||
preview="Preview",
|
||||
|
||||
das="DAS",arr="ARR",
|
||||
das="DAS",arr="ARR",dascut="DAS cut",
|
||||
sddas="Soft Drop DAS",sdarr="Soft Drop ARR",
|
||||
ihs="Initial Hold",
|
||||
irs="Initial Rotation",
|
||||
|
||||
@@ -297,7 +297,7 @@ return{
|
||||
title="Paramètres de contrôle",
|
||||
preview="Aperçu",
|
||||
|
||||
das="DAS",arr="ARR",
|
||||
das="DAS",arr="ARR",-- dascut="DAS cut",
|
||||
sddas="DAS de chute rapide",sdarr="ARR de chute rapide",
|
||||
ihs="Réserve Initiale",
|
||||
irs="Rotation Initiale",
|
||||
|
||||
@@ -298,7 +298,7 @@ return{
|
||||
title="Ajustes de Controles",
|
||||
preview="Ejemplo",
|
||||
|
||||
das="DAS",arr="ARR",
|
||||
das="DAS",arr="ARR",-- dascut="DAS cut",
|
||||
sddas="DAS de C. Ráp.",sdarr="ARR de C. Rápida",
|
||||
ihs="Resv. Inicial",
|
||||
irs="Rot. Inicial",
|
||||
|
||||
@@ -203,7 +203,7 @@ return{
|
||||
title="[~~]",
|
||||
preview="?:",
|
||||
|
||||
das="x---x x x",arr="x x-x-x",
|
||||
das="x---x x x",arr="x x-x-x",dascut="x x ↓___x x",
|
||||
sddas="↓---↓ ↓ ↓",sdarr="↓ ↓-↓-↓",
|
||||
ihs="![ ]",
|
||||
irs="!''",
|
||||
|
||||
@@ -320,7 +320,7 @@ return{
|
||||
title="控制设置",
|
||||
preview="预览",
|
||||
|
||||
das="DAS",arr="ARR",
|
||||
das="DAS",arr="ARR",dascut="DAS打断",
|
||||
sddas="软降DAS",sdarr="软降ARR",
|
||||
ihs="提前Hold",
|
||||
irs="提前旋转",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
return{
|
||||
das=10,
|
||||
arr=2,
|
||||
dascut=0,
|
||||
sddas=2,
|
||||
sdarr=2,
|
||||
ihs=true,
|
||||
|
||||
@@ -531,6 +531,11 @@ function Player.resetBlock(P)
|
||||
end
|
||||
end
|
||||
|
||||
--DAS cut
|
||||
if P.gameEnv.dascut>0 then
|
||||
P.moving=P.moving-(P.moving>0 and 1 or -1)*P.gameEnv.dascut
|
||||
end
|
||||
|
||||
--Spawn SFX
|
||||
if P.sound and id<8 then
|
||||
SFX.fplay(spawnSFX_name[id],SETTING.spawn)
|
||||
|
||||
@@ -85,17 +85,18 @@ scene.widgetList={
|
||||
WIDGET.newText{name="title", x=80, y=50,font=70,align="L"},
|
||||
WIDGET.newText{name="preview", x=520, y=540,font=40,align="R"},
|
||||
|
||||
WIDGET.newSlider{name="das", x=250, y=200,w=910,unit=26,disp=WIDGET.lnk_SETval("das"), show=sliderShow,code=WIDGET.lnk_SETsto("das")},
|
||||
WIDGET.newSlider{name="arr", x=250, y=290,w=525,unit=15,disp=WIDGET.lnk_SETval("arr"), show=sliderShow,code=WIDGET.lnk_SETsto("arr")},
|
||||
WIDGET.newSlider{name="sddas", x=250, y=380,w=350,unit=10,disp=WIDGET.lnk_SETval("sddas"),show=sliderShow,code=WIDGET.lnk_SETsto("sddas")},
|
||||
WIDGET.newSlider{name="sdarr", x=250, y=470,w=140,unit=4, disp=WIDGET.lnk_SETval("sdarr"),show=sliderShow,code=WIDGET.lnk_SETsto("sdarr")},
|
||||
WIDGET.newSwitch{name="ihs", x=1100, y=290, disp=WIDGET.lnk_SETval("ihs"), code=WIDGET.lnk_SETrev("ihs")},
|
||||
WIDGET.newSwitch{name="irs", x=1100, y=380, disp=WIDGET.lnk_SETval("irs"), code=WIDGET.lnk_SETrev("irs")},
|
||||
WIDGET.newSwitch{name="ims", x=1100, y=470, disp=WIDGET.lnk_SETval("ims"), code=WIDGET.lnk_SETrev("ims")},
|
||||
WIDGET.newSlider{name="das", x=250, y=190,w=600,unit=20,disp=WIDGET.lnk_SETval("das"), show=sliderShow,code=WIDGET.lnk_SETsto("das")},
|
||||
WIDGET.newSlider{name="arr", x=250, y=260,w=525,unit=15,disp=WIDGET.lnk_SETval("arr"), show=sliderShow,code=WIDGET.lnk_SETsto("arr")},
|
||||
WIDGET.newSlider{name="sddas", x=250, y=330,w=350,unit=10,disp=WIDGET.lnk_SETval("sddas"),show=sliderShow,code=WIDGET.lnk_SETsto("sddas")},
|
||||
WIDGET.newSlider{name="sdarr", x=250, y=400,w=140,unit=4, disp=WIDGET.lnk_SETval("sdarr"),show=sliderShow,code=WIDGET.lnk_SETsto("sdarr")},
|
||||
WIDGET.newSlider{name="dascut", x=250, y=470,w=600,unit=20,disp=WIDGET.lnk_SETval("dascut"),show=sliderShow,code=WIDGET.lnk_SETsto("dascut")},
|
||||
WIDGET.newSwitch{name="ihs", x=1100, y=260, disp=WIDGET.lnk_SETval("ihs"), code=WIDGET.lnk_SETrev("ihs")},
|
||||
WIDGET.newSwitch{name="irs", x=1100, y=330, disp=WIDGET.lnk_SETval("irs"), code=WIDGET.lnk_SETrev("irs")},
|
||||
WIDGET.newSwitch{name="ims", x=1100, y=400, disp=WIDGET.lnk_SETval("ims"), code=WIDGET.lnk_SETrev("ims")},
|
||||
WIDGET.newButton{name="reset", x=160, y=580,w=200,h=100,color="lRed",font=40,
|
||||
code=function()
|
||||
local _=SETTING
|
||||
_.das,_.arr=10,2
|
||||
_.das,_.arr,_.dascut=10,2,0
|
||||
_.sddas,_.sdarr=0,2
|
||||
_.ihs,_.irs,_.ims=false,false,false
|
||||
end},
|
||||
|
||||
Reference in New Issue
Block a user