添加省流开关(加载头像)
This commit is contained in:
@@ -274,6 +274,7 @@ return{
|
|||||||
reTime="Start Delay",
|
reTime="Start Delay",
|
||||||
RS="Rotation System",
|
RS="Rotation System",
|
||||||
layout="Layout",
|
layout="Layout",
|
||||||
|
dataSaving="Data saving",
|
||||||
autoPause="Pause while unfocused",
|
autoPause="Pause while unfocused",
|
||||||
swap="Key Combination (Change Atk. Mode)",
|
swap="Key Combination (Change Atk. Mode)",
|
||||||
fine="Finesse Error SFX",
|
fine="Finesse Error SFX",
|
||||||
|
|||||||
@@ -246,6 +246,7 @@ return{
|
|||||||
reTime="Délai de démarrage",
|
reTime="Délai de démarrage",
|
||||||
RS="Système de rotation",
|
RS="Système de rotation",
|
||||||
layout="Disposition",
|
layout="Disposition",
|
||||||
|
-- dataSaving="Data saving",
|
||||||
autoPause="Mettre en pause en cas de perte de focus",
|
autoPause="Mettre en pause en cas de perte de focus",
|
||||||
swap="Combinaison de touches (changer le mode d'attaque)",
|
swap="Combinaison de touches (changer le mode d'attaque)",
|
||||||
fine="Son d'erreur de Finesse",
|
fine="Son d'erreur de Finesse",
|
||||||
|
|||||||
@@ -275,6 +275,7 @@ return{
|
|||||||
reTime="Demora iniciação",
|
reTime="Demora iniciação",
|
||||||
RS="Sistema de rotação",
|
RS="Sistema de rotação",
|
||||||
layout="Layout",
|
layout="Layout",
|
||||||
|
-- dataSaving="Data saving",
|
||||||
autoPause="Pausar quando foco for perco",
|
autoPause="Pausar quando foco for perco",
|
||||||
swap="Combinação de tecla(Mudar modo de atk)",
|
swap="Combinação de tecla(Mudar modo de atk)",
|
||||||
fine="Som Falha de destreza",
|
fine="Som Falha de destreza",
|
||||||
|
|||||||
@@ -252,6 +252,7 @@ return{
|
|||||||
reTime="Retraso de Inicio",
|
reTime="Retraso de Inicio",
|
||||||
RS="Sistema de Rotación",
|
RS="Sistema de Rotación",
|
||||||
layout="Diseño",
|
layout="Diseño",
|
||||||
|
-- dataSaving="Data saving",
|
||||||
autoPause="Pausar cuando la ventana no está enfocada",
|
autoPause="Pausar cuando la ventana no está enfocada",
|
||||||
swap="Combinación de Teclas (Cambiar Modo de Ataque)",
|
swap="Combinación de Teclas (Cambiar Modo de Ataque)",
|
||||||
fine="Sonido de Error de Finesse",
|
fine="Sonido de Error de Finesse",
|
||||||
|
|||||||
@@ -132,6 +132,7 @@ return{
|
|||||||
reTime="3-2-1",
|
reTime="3-2-1",
|
||||||
RS="''?",
|
RS="''?",
|
||||||
layout="=-=-=",
|
layout="=-=-=",
|
||||||
|
dataSaving="XX.",
|
||||||
autoPause="A||",
|
autoPause="A||",
|
||||||
swap="=+=+=",
|
swap="=+=+=",
|
||||||
fine="12 X 21",
|
fine="12 X 21",
|
||||||
|
|||||||
@@ -274,6 +274,7 @@ return{
|
|||||||
reTime="开局等待时间",
|
reTime="开局等待时间",
|
||||||
RS="旋转系统",
|
RS="旋转系统",
|
||||||
layout="外观",
|
layout="外观",
|
||||||
|
dataSaving="省流模式",
|
||||||
autoPause="失去焦点自动暂停",
|
autoPause="失去焦点自动暂停",
|
||||||
swap="组合键切换攻击模式",
|
swap="组合键切换攻击模式",
|
||||||
fine="极简操作提示音",
|
fine="极简操作提示音",
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ function NET.getAccessToken()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
function NET.getUserInfo(uid)
|
function NET.getUserInfo(uid)
|
||||||
local hash=not SETTING.dataSaving and USERS.getHash(uid)
|
local hash=(not SETTING.dataSaving or nil)and USERS.getHash(uid)
|
||||||
WS.send("user",JSON.encode{
|
WS.send("user",JSON.encode{
|
||||||
action=1,
|
action=1,
|
||||||
data={
|
data={
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ function scene.draw()
|
|||||||
local t=TIME()
|
local t=TIME()
|
||||||
local b=math.floor(t*2)%16+1
|
local b=math.floor(t*2)%16+1
|
||||||
gc.setColor(1,1,1)
|
gc.setColor(1,1,1)
|
||||||
gc.draw(SKIN.curText[b],710,540,t%6.28319,2,nil,15,15)
|
gc.draw(SKIN.curText[b],410,540,t%6.2832,2,nil,15,15)
|
||||||
gc.setColor(1,1,1,t*2%1)
|
gc.setColor(1,1,1,t*2%1)
|
||||||
gc.draw(SKIN.curText[b%16+1],710,540,t%6.28319,2,nil,15,15)
|
gc.draw(SKIN.curText[b%16+1],410,540,t%6.2832,2,nil,15,15)
|
||||||
end
|
end
|
||||||
|
|
||||||
scene.widgetList={
|
scene.widgetList={
|
||||||
@@ -29,7 +29,8 @@ scene.widgetList={
|
|||||||
WIDGET.newButton{name="touch", x=990, y=220, w=320,h=80, color="lB",font=35,code=goScene"setting_touch"},
|
WIDGET.newButton{name="touch", x=990, y=220, w=320,h=80, color="lB",font=35,code=goScene"setting_touch"},
|
||||||
WIDGET.newSlider{name="reTime", x=350, y=340, w=300,unit=10,disp=SETval("reTime"),code=SETsto("reTime"),show=function(S)return(.5+S.disp()*.25).."s"end},
|
WIDGET.newSlider{name="reTime", x=350, y=340, w=300,unit=10,disp=SETval("reTime"),code=SETsto("reTime"),show=function(S)return(.5+S.disp()*.25).."s"end},
|
||||||
WIDGET.newSelector{name="RS", x=500, y=420, w=300,color="S",list={"TRS","SRS","C2","C2sym","Classic","None"},disp=SETval("RS"),code=SETsto("RS")},
|
WIDGET.newSelector{name="RS", x=500, y=420, w=300,color="S",list={"TRS","SRS","C2","C2sym","Classic","None"},disp=SETval("RS"),code=SETsto("RS")},
|
||||||
WIDGET.newButton{name="layout", x=550, y=540, w=200,h=70,font=35, code=goScene"setting_skin"},
|
WIDGET.newButton{name="layout", x=250, y=540, w=200,h=70,font=35, code=goScene"setting_skin"},
|
||||||
|
WIDGET.newSwitch{name="dataSaving", x=750, y=550, font=20,disp=SETval("dataSaving"),code=SETrev("dataSaving")},
|
||||||
WIDGET.newSwitch{name="autoPause", x=1060, y=310, font=20,disp=SETval("autoPause"),code=SETrev("autoPause")},
|
WIDGET.newSwitch{name="autoPause", x=1060, y=310, font=20,disp=SETval("autoPause"),code=SETrev("autoPause")},
|
||||||
WIDGET.newSwitch{name="swap", x=1060, y=370, font=20,disp=SETval("swap"), code=SETrev("swap")},
|
WIDGET.newSwitch{name="swap", x=1060, y=370, font=20,disp=SETval("swap"), code=SETrev("swap")},
|
||||||
WIDGET.newSwitch{name="fine", x=1060, y=430, font=20,disp=SETval("fine"), code=function()SETTING.fine=not SETTING.fine if SETTING.fine then SFX.play("finesseError",.6) end end},
|
WIDGET.newSwitch{name="fine", x=1060, y=430, font=20,disp=SETval("fine"), code=function()SETTING.fine=not SETTING.fine if SETTING.fine then SFX.play("finesseError",.6) end end},
|
||||||
|
|||||||
Reference in New Issue
Block a user