微调一些场景细节

This commit is contained in:
MrZ626
2021-12-04 22:29:38 +08:00
parent 8b2a9d7c01
commit 4e421bf9ba
6 changed files with 7 additions and 6 deletions

View File

@@ -231,7 +231,7 @@ scene.widgetList={
WIDGET.newKey{name='7',x=540,y=320,w=90,font=60,fText="7",code=pressKey'7'},
WIDGET.newKey{name='8',x=640,y=320,w=90,font=60,fText="8",code=pressKey'8'},
WIDGET.newKey{name='9',x=740,y=320,w=90,font=60,fText="9",code=pressKey'9'},
WIDGET.newButton{name='back',x=1200,y=660,w=110,h=60,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1200,y=660,w=110,h=60,font=45,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -399,7 +399,7 @@ end
scene.widgetList={
WIDGET.newButton{name='reset',x=80,y=60,w=110,h=60,color='lG',fText=CHAR.icon.retry_spin,code=pressKey'r',hideF=function()return state==0 end},
WIDGET.newSwitch{name='invis',x=100,y=140,lim=80,disp=function()return invis end,code=pressKey'q',hideF=function()return state==1 end},
WIDGET.newButton{name='back',x=1200,y=660,w=110,font=50,sound='back',fText=CHAR.icon.back,code=pressKey'escape'},
WIDGET.newButton{name='back',x=1200,y=660,w=110,font=45,sound='back',fText=CHAR.icon.back,code=pressKey'escape'},
}
return scene

View File

@@ -120,7 +120,7 @@ scene.widgetList={
WIDGET.newKey{name='7',x=540,y=320,w=90,font=60,fText="7",code=pressKey'7'},
WIDGET.newKey{name='8',x=640,y=320,w=90,font=60,fText="8",code=pressKey'8'},
WIDGET.newKey{name='9',x=740,y=320,w=90,font=60,fText="9",code=pressKey'9'},
WIDGET.newButton{name='back',x=1200,y=660,w=110,h=60,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1200,y=660,w=110,h=60,font=45,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -26,7 +26,7 @@ function scene.keyDown(key,isRep)
else
ins(keyTime,1,TIME())
keyTime[41]=nil
SFX.play('click',.3)
SFX.play('lock')
end
end
end
@@ -71,7 +71,7 @@ function scene.draw()
end
scene.widgetList={
WIDGET.newKey{name='tap',x=640,y=540,w=626,h=260,fText="TAP",color='Z',font=100,code=function(i)love.keypressed('b'..i)end},
WIDGET.newKey{name='tap',x=640,y=540,w=626,h=260,sound='touch',fText="TAP",color='Z',font=100,code=function(i)love.keypressed('b'..i)end},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}

View File

@@ -53,6 +53,7 @@ local function _setLang(lid)
TEXT.clear()
TEXT.show(langList[lid],640,360,100,'appear',.626)
collectgarbage()
if FIRSTLAUNCH then SCN.back()end
end
scene.widgetList={

View File

@@ -231,7 +231,7 @@ scene.widgetList={
WIDGET.newKey{name='restart',x=150,y=670,w=180,h=60,code=function()_setSel(0)end},
WIDGET.newButton{name='back',x=1140,y=640,w=190,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene