设置新增破纪录自动保存录像的开关(第一页往下拉) close #195

This commit is contained in:
MrZ626
2021-08-17 15:57:55 +08:00
parent 8049792dc4
commit abaa962531
9 changed files with 13 additions and 0 deletions

View File

@@ -325,6 +325,11 @@ function gameOver()--Save record
if p<10 then
if p==0 then
P:showTextF(text.newRecord,0,-100,100,'beat',.5)
if SETTING.autoSave and DATA.saveReplay()then
GAME.saved=true
SFX.play('connected')
MES.new('check',text.saveDone)
end
end
D.date=os.date("%Y/%m/%d %H:%M")
ins(L,p+1,D)

View File

@@ -254,6 +254,7 @@ SETTING={--Settings
autoPause=true,
menuPos='middle',
fine=false,
autoSave=false,
simpMode=false,
lang=1,
skinSet='crystal_scf',

View File

@@ -320,6 +320,7 @@ return{
autoPause="Pause while unfocused",
menuPos="Menu button pos.",
swap="Key Combination (Change Atk. Mode)",
autoSave="Auto save new-best",
simpMode="Simplistic Style",
},
setting_video={

View File

@@ -286,6 +286,7 @@ return{
autoPause="Pausar cuando la ventana no está enfocada",
-- menuPos="Menu button pos.",
swap="Combinación de Teclas (Cambiar Modo de Ataque)",
-- autoSave="Auto save new-best",
simpMode="Modo Sencillo",
},
setting_video={

View File

@@ -283,6 +283,7 @@ return{
autoPause="Mettre en pause en cas de perte de focus",
-- menuPos="Menu button pos.",
swap="Combinaison de touches (changer le mode d'attaque)",
-- autoSave="Auto save new-best",
-- simpMode="Simple mode",
},
setting_video={

View File

@@ -310,6 +310,7 @@ return{
autoPause="Pausar quando foco for perco",
-- menuPos="Menu button pos.",
swap="Combinação de tecla(Mudar modo de atk)",
-- autoSave="Auto save new-best",
-- simpMode="Simple mode",
},
setting_video={

View File

@@ -144,6 +144,7 @@ return{
autoPause="A||",
menuPos="←M→?",
swap="=+=+=",
autoSave="!!!>%",
simpMode=".",
},
setting_video={

View File

@@ -320,6 +320,7 @@ return{
autoPause="失去焦点自动暂停",
menuPos="菜单按钮位置",
swap="组合键切换攻击模式",
autoSave="破纪录自动保存",
simpMode="简洁模式",
},
setting_video={

View File

@@ -34,6 +34,7 @@ scene.widgetList={
WIDGET.newSwitch{name="autoPause", x=1060, y=320, disp=SETval("autoPause"), code=SETrev("autoPause")},
WIDGET.newSelector{name="menuPos", x=980, y=420, w=300,color='O',list={'left','middle','right'},disp=SETval("menuPos"),code=SETsto("menuPos")},
WIDGET.newSwitch{name="swap", x=1060, y=520, disp=SETval("swap"), code=SETrev("swap")},
WIDGET.newSwitch{name="autoSave", x=600, y=800, disp=SETval("autoSave"), code=SETrev("autoSave")},
WIDGET.newSwitch{name="simpMode", x=1060, y=800, disp=SETval("simpMode"),
code=function()
SETTING.simpMode=not SETTING.simpMode