所有要二次确认的按钮都改为左上角提示而不是显示问号
移除确认用问号贴图
This commit is contained in:
@@ -10,6 +10,7 @@ return{
|
||||
finish="Press any key to start!",
|
||||
},
|
||||
sureQuit="Press again to quit",
|
||||
sureReset="Press again to reset",
|
||||
newDay="A new day, a new beginning!",
|
||||
playedLong="You have been playing for a long time. Time to a break!",
|
||||
playedTooMuch="You have been playing for far too long! Techmino is fun, but remember to have some rests!",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
return{
|
||||
fallback='en',
|
||||
sureQuit="Pulsa de nuevo para salir",
|
||||
-- sureReset="Press again to reset",
|
||||
newDay="[Anti-adicción] ¡Nuevo día, nuevo comienzo!",
|
||||
playedLong="[Anti-adicción] Estuviste jugando un buen rato hoy. Recuerda descansar de vez en cuando.",
|
||||
playedTooMuch="[Anti-adicción] ¡Has jugado mucho por hoy! No puedes jugar más.",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
return{
|
||||
fallback='en',
|
||||
sureQuit="Appuyez à nouveau pour sortir",
|
||||
-- sureReset="Press again to reset",
|
||||
newDay="[Anti-addiction] Nouveau jour, nouveau commencement !",
|
||||
playedLong="[Anti-addiction] Vous avez joué pendant un bon bout de temps aujourd'hui. Faites des pauses.",
|
||||
playedTooMuch="[Anti-addiction] Vous avez joué trop longtemps ! Vous ne pouvez plus jouer.",
|
||||
|
||||
@@ -2,6 +2,7 @@ local C=COLOR
|
||||
return{
|
||||
fallback='en',
|
||||
sureQuit="Aparte novamente para sair",
|
||||
-- sureReset="Press again to reset",
|
||||
newDay="[Anti-vício] Novo dia, um começo novo!",
|
||||
playedLong="[Anti-vício] Você andou jogando bastante hoje. Certifique-se de fazer pausas.",
|
||||
playedTooMuch="[Anti-vício] Você esteve jogando demais hoje! Você não pode jogar mais.",
|
||||
|
||||
@@ -10,6 +10,7 @@ return{
|
||||
finish="按任意键继续",
|
||||
},
|
||||
sureQuit="再按一次退出",
|
||||
sureReset="再按一次重置",
|
||||
newDay="新的一天,新的开始~",
|
||||
playedLong="已经玩很久了!注意休息!",
|
||||
playedTooMuch="今天玩太久啦!打块好玩但也要适可而止哦~",
|
||||
|
||||
@@ -11,6 +11,7 @@ return{
|
||||
finish="按任意按钮开始!",
|
||||
},
|
||||
sureQuit="再次按退出",
|
||||
sureReset="再次按下可重置",
|
||||
newDay="新的一天,新的开始!",
|
||||
playedLong="你已经玩了很长时间了。一定要好好休息!",
|
||||
playedTooMuch="你玩得太久了!玩方块游戏很有趣,但现在是休息的时候了。",
|
||||
|
||||
@@ -92,6 +92,7 @@ function scene.keyDown(key,isRep)
|
||||
BGM.play(CUSTOMENV.bgm)
|
||||
else
|
||||
sure=1
|
||||
MES.new('info',text.sureReset)
|
||||
end
|
||||
elseif key=="f1"then
|
||||
SCN.go('mod','swipeD')
|
||||
@@ -176,11 +177,6 @@ function scene.draw()
|
||||
gc.setColor(COLOR.Z)
|
||||
gc.print(CUSTOMENV.sequence,610,250)
|
||||
|
||||
--Confirm reset
|
||||
if sure>0 then
|
||||
gc.setColor(1,1,1,sure)
|
||||
gc.draw(TEXTURE.sure,920,50)
|
||||
end
|
||||
gc.translate(0,WIDGET.scrollPos)
|
||||
end
|
||||
|
||||
|
||||
@@ -191,6 +191,7 @@ function scene.keyDown(key)
|
||||
SFX.play('finesseError',.7)
|
||||
else
|
||||
sure=1
|
||||
MES.new('info',text.sureReset)
|
||||
end
|
||||
elseif key=="j"then
|
||||
demo=not demo
|
||||
@@ -438,12 +439,6 @@ function scene.draw()
|
||||
end
|
||||
gc.translate(-560,-475)
|
||||
|
||||
--Confirm reset
|
||||
if sure>0 then
|
||||
gc.setColor(1,1,1,sure)
|
||||
mDraw(TEXTURE.sure,990,530,nil,1.2)
|
||||
end
|
||||
|
||||
--Block name
|
||||
setFont(55)
|
||||
gc.setColor(1,1,1)
|
||||
|
||||
@@ -69,6 +69,7 @@ function scene.keyDown(key)
|
||||
SFX.play('finesseError',.7)
|
||||
else
|
||||
sure=1
|
||||
MES.new('info',text.sureReset)
|
||||
end
|
||||
elseif key=="c"and kb.isDown("lctrl","rctrl")or key=="cC"then
|
||||
if #MISSION>0 then
|
||||
@@ -183,12 +184,6 @@ function scene.draw()
|
||||
--Draw cursor
|
||||
gc.setColor(1,1,.4,.6+.4*sin(TIME()*6.26))
|
||||
gc.line(cx-5,cy-20,cx-5,cy+20)
|
||||
|
||||
--Confirm reset
|
||||
if sure>0 then
|
||||
gc.setColor(1,1,1,sure)
|
||||
mDraw(TEXTURE.sure,1000,640,nil,.9)
|
||||
end
|
||||
end
|
||||
|
||||
scene.widgetList={
|
||||
|
||||
@@ -73,6 +73,7 @@ function scene.keyDown(key)
|
||||
SFX.play('finesseError',.7)
|
||||
else
|
||||
sure=1
|
||||
MES.new('info',text.sureReset)
|
||||
end
|
||||
elseif key=="="then
|
||||
local l={1,2,3,4,5,6,7}
|
||||
@@ -179,12 +180,6 @@ function scene.draw()
|
||||
--Draw cursor
|
||||
gc_setColor(.5,1,.5,.6+.4*sin(TIME()*6.26))
|
||||
gc.line(cx-5,cy-20,cx-5,cy+20)
|
||||
|
||||
--Confirm reset
|
||||
if sure>0 then
|
||||
gc_setColor(1,1,1,sure)
|
||||
mDraw(TEXTURE.sure,1000,460,nil,.8)
|
||||
end
|
||||
end
|
||||
|
||||
scene.widgetList={
|
||||
|
||||
@@ -134,6 +134,7 @@ function scene.keyDown(key)
|
||||
SFX.play('finesseError',.7)
|
||||
else
|
||||
sure=1
|
||||
MES.new('info',text.sureReset)
|
||||
end
|
||||
end
|
||||
elseif key=="escape"then
|
||||
@@ -149,14 +150,6 @@ function scene.update(dt)
|
||||
end
|
||||
end
|
||||
|
||||
function scene.draw()
|
||||
--Confirm delete
|
||||
if sure>0 then
|
||||
gc_setColor(1,1,1,sure)
|
||||
mDraw(TEXTURE.sure,930,640,nil,.9)
|
||||
end
|
||||
end
|
||||
|
||||
scene.widgetList={
|
||||
listBox,
|
||||
WIDGET.newButton{name="export",x=200,y=640,w=70,color='lG',code=pressKey"cC",font=50,fText=CHAR.icon.export},
|
||||
|
||||
@@ -154,15 +154,6 @@ TEXTURE.dial={
|
||||
}
|
||||
}
|
||||
|
||||
TEXTURE.sure=GC.DO{48,64,
|
||||
{'fRect',0,0,10,27},
|
||||
{'fRect',0,0,48,10},
|
||||
{'fRect',38,10,10,15},
|
||||
{'fRect',19,25,29,9},
|
||||
{'fRect',19,25,9,22},
|
||||
{'fRect',18,53,11,11},
|
||||
}
|
||||
|
||||
TEXTURE.rep={--Replay speed buttons
|
||||
rep0=GC.DO{50,50,{'fRect',11,8,8,34},{'fRect',31,8,8,34}},
|
||||
repP8=GC.DO{50,50,{'setFT',15},{'mText',"0.125x",25,15}},
|
||||
|
||||
Reference in New Issue
Block a user