Skip to content

Commit

Permalink
调整键位设置按钮位置
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Feb 6, 2024
1 parent 74cc170 commit 027ddcb
Showing 1 changed file with 59 additions and 59 deletions.
118 changes: 59 additions & 59 deletions assets/scene/keyset_out.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,65 +65,65 @@ local function selAct(mode,act)
end

scene.widgetList={
{type='button',name='mino',x=140,y=200,w=200,h=60,text=LANG"keyset_mino_moveLeft", fontSize=20, color='lG',code=selAct('mino','moveLeft' )},
{type='button',name='mino',x=140,y=270,w=200,h=60,text=LANG"keyset_mino_moveRight", fontSize=20, color='lG',code=selAct('mino','moveRight' )},
{type='button',name='mino',x=140,y=340,w=200,h=60,text=LANG"keyset_mino_rotateCW", fontSize=20, color='lG',code=selAct('mino','rotateCW' )},
{type='button',name='mino',x=140,y=410,w=200,h=60,text=LANG"keyset_mino_rotateCCW", fontSize=20, color='lG',code=selAct('mino','rotateCCW' )},
{type='button',name='mino',x=140,y=480,w=200,h=60,text=LANG"keyset_mino_rotate180", fontSize=20, color='lG',code=selAct('mino','rotate180' )},
{type='button',name='mino',x=140,y=550,w=200,h=60,text=LANG"keyset_mino_softDrop", fontSize=20, color='lG',code=selAct('mino','softDrop' )},
{type='button',name='mino',x=140,y=620,w=200,h=60,text=LANG"keyset_mino_hardDrop", fontSize=20, color='lG',code=selAct('mino','hardDrop' )},
{type='button',name='mino',x=140,y=690,w=200,h=60,text=LANG"keyset_mino_holdPiece", fontSize=20, color='lG',code=selAct('mino','holdPiece' )},
{type='button',name='mino',x=140,y=760,w=200,h=60,text=LANG"keyset_mino_skip", fontSize=20, color='lG',code=selAct('mino','skip' )},
{type='button',name='mino',x=900,y=200,w=200,h=60,text=LANG"keyset_func1", fontSize=20, color='lY',code=selAct('mino','func1')},
{type='button',name='mino',x=900,y=270,w=200,h=60,text=LANG"keyset_func2", fontSize=20, color='lY',code=selAct('mino','func2')},
{type='button',name='mino',x=900,y=340,w=200,h=60,text=LANG"keyset_func3", fontSize=20, color='lY',code=selAct('mino','func3')},
{type='button',name='mino',x=900,y=410,w=200,h=60,text=LANG"keyset_func4", fontSize=20, color='lY',code=selAct('mino','func4')},
{type='button',name='mino',x=900,y=480,w=200,h=60,text=LANG"keyset_func5", fontSize=20, color='lY',code=selAct('mino','func5')},

{type='button',name='puyo',x=140,y=200,w=200,h=60,text=LANG"keyset_puyo_moveLeft", fontSize=20, color='lG',code=selAct('puyo','moveLeft' )},
{type='button',name='puyo',x=140,y=270,w=200,h=60,text=LANG"keyset_puyo_moveRight", fontSize=20, color='lG',code=selAct('puyo','moveRight')},
{type='button',name='puyo',x=140,y=340,w=200,h=60,text=LANG"keyset_puyo_rotateCW", fontSize=20, color='lG',code=selAct('puyo','rotateCW' )},
{type='button',name='puyo',x=140,y=410,w=200,h=60,text=LANG"keyset_puyo_rotateCCW", fontSize=20, color='lG',code=selAct('puyo','rotateCCW')},
{type='button',name='puyo',x=140,y=480,w=200,h=60,text=LANG"keyset_puyo_rotate180", fontSize=20, color='lG',code=selAct('puyo','rotate180')},
{type='button',name='puyo',x=140,y=550,w=200,h=60,text=LANG"keyset_puyo_softDrop", fontSize=20, color='lG',code=selAct('puyo','softDrop' )},
{type='button',name='puyo',x=140,y=620,w=200,h=60,text=LANG"keyset_puyo_hardDrop", fontSize=20, color='lG',code=selAct('puyo','hardDrop' )},
{type='button',name='puyo',x=140,y=970,w=200,h=60,text=LANG"keyset_puyo_skip", fontSize=20, color='lG',code=selAct('puyo','skip' )},
{type='button',name='puyo',x=900,y=200,w=200,h=60,text=LANG"keyset_func1", fontSize=20, color='lY',code=selAct('puyo','func1')},
{type='button',name='puyo',x=900,y=270,w=200,h=60,text=LANG"keyset_func2", fontSize=20, color='lY',code=selAct('puyo','func2')},
{type='button',name='puyo',x=900,y=340,w=200,h=60,text=LANG"keyset_func3", fontSize=20, color='lY',code=selAct('puyo','func3')},
{type='button',name='puyo',x=900,y=410,w=200,h=60,text=LANG"keyset_func4", fontSize=20, color='lY',code=selAct('puyo','func4')},
{type='button',name='puyo',x=900,y=480,w=200,h=60,text=LANG"keyset_func5", fontSize=20, color='lY',code=selAct('puyo','func5')},

{type='button',name='gem', x=140,y=200,w=200,h=60,text=LANG"keyset_gem_swapLeft", fontSize=20, color='lG',code=selAct('gem', 'swapLeft' )},
{type='button',name='gem', x=140,y=270,w=200,h=60,text=LANG"keyset_gem_swapRight", fontSize=20, color='lG',code=selAct('gem', 'swapRight')},
{type='button',name='gem', x=140,y=340,w=200,h=60,text=LANG"keyset_gem_swapUp", fontSize=20, color='lG',code=selAct('gem', 'swapUp' )},
{type='button',name='gem', x=140,y=410,w=200,h=60,text=LANG"keyset_gem_swapDown", fontSize=20, color='lG',code=selAct('gem', 'swapDown' )},
{type='button',name='gem', x=140,y=480,w=200,h=60,text=LANG"keyset_gem_twistCW", fontSize=20, color='lG',code=selAct('gem', 'twistCW' )},
{type='button',name='gem', x=140,y=550,w=200,h=60,text=LANG"keyset_gem_twistCCW", fontSize=20, color='lG',code=selAct('gem', 'twistCCW' )},
{type='button',name='gem', x=140,y=620,w=200,h=60,text=LANG"keyset_gem_twist180", fontSize=20, color='lG',code=selAct('gem', 'twist180' )},
{type='button',name='gem', x=140,y=690,w=200,h=60,text=LANG"keyset_gem_moveLeft", fontSize=20, color='lG',code=selAct('gem', 'moveLeft' )},
{type='button',name='gem', x=140,y=760,w=200,h=60,text=LANG"keyset_gem_moveRight", fontSize=20, color='lG',code=selAct('gem', 'moveRight')},
{type='button',name='gem', x=140,y=830,w=200,h=60,text=LANG"keyset_gem_moveUp", fontSize=20, color='lG',code=selAct('gem', 'moveUp' )},
{type='button',name='gem', x=140,y=900,w=200,h=60,text=LANG"keyset_gem_moveDown", fontSize=20, color='lG',code=selAct('gem', 'moveDown' )},
{type='button',name='gem', x=140,y=970,w=200,h=60,text=LANG"keyset_gem_skip", fontSize=20, color='lG',code=selAct('gem', 'skip' )},
{type='button',name='gem', x=900,y=200,w=200,h=60,text=LANG"keyset_func1", fontSize=20, color='lY',code=selAct('gem', 'func1')},
{type='button',name='gem', x=900,y=270,w=200,h=60,text=LANG"keyset_func2", fontSize=20, color='lY',code=selAct('gem', 'func2')},
{type='button',name='gem', x=900,y=340,w=200,h=60,text=LANG"keyset_func3", fontSize=20, color='lY',code=selAct('gem', 'func3')},
{type='button',name='gem', x=900,y=410,w=200,h=60,text=LANG"keyset_func4", fontSize=20, color='lY',code=selAct('gem', 'func4')},
{type='button',name='gem', x=900,y=480,w=200,h=60,text=LANG"keyset_func5", fontSize=20, color='lY',code=selAct('gem', 'func5')},

{type='button',name='sys', x=140,y=200,w=200,h=60,text=LANG"keyset_sys_view", fontSize=20, color='lC',code=selAct('sys', 'view' )},
{type='button',name='sys', x=140,y=270,w=200,h=60,text=LANG"keyset_sys_restart", fontSize=20, color='lC',code=selAct('sys', 'restart')},
{type='button',name='sys', x=140,y=340,w=200,h=60,text=LANG"keyset_sys_chat", fontSize=20, color='lC',code=selAct('sys', 'chat' )},
{type='button',name='sys', x=140,y=410,w=200,h=60,text=LANG"keyset_sys_back", fontSize=20, color='lC',code=selAct('sys', 'back' )},
{type='button',name='sys', x=140,y=480,w=200,h=60,text=LANG"keyset_sys_quit", fontSize=20, color='lC',code=selAct('sys', 'quit' )},
{type='button',name='sys', x=140,y=550,w=200,h=60,text=LANG"keyset_sys_setting", fontSize=20, color='lC',code=selAct('sys', 'setting')},
{type='button',name='sys', x=140,y=620,w=200,h=60,text=LANG"keyset_sys_help", fontSize=20, color='lC',code=selAct('sys', 'help' )},
{type='button',name='sys', x=900,y=200,w=200,h=60,text=LANG"keyset_sys_left", fontSize=20, color='lC',code=selAct('sys', 'left' )},
{type='button',name='sys', x=900,y=270,w=200,h=60,text=LANG"keyset_sys_right", fontSize=20, color='lC',code=selAct('sys', 'right' )},
{type='button',name='sys', x=900,y=340,w=200,h=60,text=LANG"keyset_sys_up", fontSize=20, color='lC',code=selAct('sys', 'up' )},
{type='button',name='sys', x=900,y=410,w=200,h=60,text=LANG"keyset_sys_down", fontSize=20, color='lC',code=selAct('sys', 'down' )},
{type='button',name='sys', x=900,y=480,w=200,h=60,text=LANG"keyset_sys_select", fontSize=20, color='lC',code=selAct('sys', 'select' )},
{type='button',name='mino',x=140,y=180,w=200,h=60,text=LANG"keyset_mino_moveLeft", fontSize=20, color='lG',code=selAct('mino','moveLeft' )},
{type='button',name='mino',x=140,y=250,w=200,h=60,text=LANG"keyset_mino_moveRight", fontSize=20, color='lG',code=selAct('mino','moveRight' )},
{type='button',name='mino',x=140,y=320,w=200,h=60,text=LANG"keyset_mino_rotateCW", fontSize=20, color='lG',code=selAct('mino','rotateCW' )},
{type='button',name='mino',x=140,y=390,w=200,h=60,text=LANG"keyset_mino_rotateCCW", fontSize=20, color='lG',code=selAct('mino','rotateCCW' )},
{type='button',name='mino',x=140,y=460,w=200,h=60,text=LANG"keyset_mino_rotate180", fontSize=20, color='lG',code=selAct('mino','rotate180' )},
{type='button',name='mino',x=140,y=530,w=200,h=60,text=LANG"keyset_mino_softDrop", fontSize=20, color='lG',code=selAct('mino','softDrop' )},
{type='button',name='mino',x=140,y=600,w=200,h=60,text=LANG"keyset_mino_hardDrop", fontSize=20, color='lG',code=selAct('mino','hardDrop' )},
{type='button',name='mino',x=140,y=670,w=200,h=60,text=LANG"keyset_mino_holdPiece", fontSize=20, color='lG',code=selAct('mino','holdPiece' )},
{type='button',name='mino',x=140,y=740,w=200,h=60,text=LANG"keyset_mino_skip", fontSize=20, color='lG',code=selAct('mino','skip' )},
{type='button',name='mino',x=900,y=180,w=200,h=60,text=LANG"keyset_func1", fontSize=20, color='lY',code=selAct('mino','func1')},
{type='button',name='mino',x=900,y=250,w=200,h=60,text=LANG"keyset_func2", fontSize=20, color='lY',code=selAct('mino','func2')},
{type='button',name='mino',x=900,y=320,w=200,h=60,text=LANG"keyset_func3", fontSize=20, color='lY',code=selAct('mino','func3')},
{type='button',name='mino',x=900,y=390,w=200,h=60,text=LANG"keyset_func4", fontSize=20, color='lY',code=selAct('mino','func4')},
{type='button',name='mino',x=900,y=460,w=200,h=60,text=LANG"keyset_func5", fontSize=20, color='lY',code=selAct('mino','func5')},

{type='button',name='puyo',x=140,y=180,w=200,h=60,text=LANG"keyset_puyo_moveLeft", fontSize=20, color='lG',code=selAct('puyo','moveLeft' )},
{type='button',name='puyo',x=140,y=250,w=200,h=60,text=LANG"keyset_puyo_moveRight", fontSize=20, color='lG',code=selAct('puyo','moveRight')},
{type='button',name='puyo',x=140,y=320,w=200,h=60,text=LANG"keyset_puyo_rotateCW", fontSize=20, color='lG',code=selAct('puyo','rotateCW' )},
{type='button',name='puyo',x=140,y=390,w=200,h=60,text=LANG"keyset_puyo_rotateCCW", fontSize=20, color='lG',code=selAct('puyo','rotateCCW')},
{type='button',name='puyo',x=140,y=460,w=200,h=60,text=LANG"keyset_puyo_rotate180", fontSize=20, color='lG',code=selAct('puyo','rotate180')},
{type='button',name='puyo',x=140,y=530,w=200,h=60,text=LANG"keyset_puyo_softDrop", fontSize=20, color='lG',code=selAct('puyo','softDrop' )},
{type='button',name='puyo',x=140,y=600,w=200,h=60,text=LANG"keyset_puyo_hardDrop", fontSize=20, color='lG',code=selAct('puyo','hardDrop' )},
{type='button',name='puyo',x=140,y=950,w=200,h=60,text=LANG"keyset_puyo_skip", fontSize=20, color='lG',code=selAct('puyo','skip' )},
{type='button',name='puyo',x=900,y=180,w=200,h=60,text=LANG"keyset_func1", fontSize=20, color='lY',code=selAct('puyo','func1')},
{type='button',name='puyo',x=900,y=250,w=200,h=60,text=LANG"keyset_func2", fontSize=20, color='lY',code=selAct('puyo','func2')},
{type='button',name='puyo',x=900,y=320,w=200,h=60,text=LANG"keyset_func3", fontSize=20, color='lY',code=selAct('puyo','func3')},
{type='button',name='puyo',x=900,y=390,w=200,h=60,text=LANG"keyset_func4", fontSize=20, color='lY',code=selAct('puyo','func4')},
{type='button',name='puyo',x=900,y=460,w=200,h=60,text=LANG"keyset_func5", fontSize=20, color='lY',code=selAct('puyo','func5')},

{type='button',name='gem', x=140,y=180,w=200,h=60,text=LANG"keyset_gem_swapLeft", fontSize=20, color='lG',code=selAct('gem', 'swapLeft' )},
{type='button',name='gem', x=140,y=250,w=200,h=60,text=LANG"keyset_gem_swapRight", fontSize=20, color='lG',code=selAct('gem', 'swapRight')},
{type='button',name='gem', x=140,y=320,w=200,h=60,text=LANG"keyset_gem_swapUp", fontSize=20, color='lG',code=selAct('gem', 'swapUp' )},
{type='button',name='gem', x=140,y=390,w=200,h=60,text=LANG"keyset_gem_swapDown", fontSize=20, color='lG',code=selAct('gem', 'swapDown' )},
{type='button',name='gem', x=140,y=460,w=200,h=60,text=LANG"keyset_gem_twistCW", fontSize=20, color='lG',code=selAct('gem', 'twistCW' )},
{type='button',name='gem', x=140,y=530,w=200,h=60,text=LANG"keyset_gem_twistCCW", fontSize=20, color='lG',code=selAct('gem', 'twistCCW' )},
{type='button',name='gem', x=140,y=600,w=200,h=60,text=LANG"keyset_gem_twist180", fontSize=20, color='lG',code=selAct('gem', 'twist180' )},
{type='button',name='gem', x=140,y=670,w=200,h=60,text=LANG"keyset_gem_moveLeft", fontSize=20, color='lG',code=selAct('gem', 'moveLeft' )},
{type='button',name='gem', x=140,y=740,w=200,h=60,text=LANG"keyset_gem_moveRight", fontSize=20, color='lG',code=selAct('gem', 'moveRight')},
{type='button',name='gem', x=140,y=810,w=200,h=60,text=LANG"keyset_gem_moveUp", fontSize=20, color='lG',code=selAct('gem', 'moveUp' )},
{type='button',name='gem', x=140,y=880,w=200,h=60,text=LANG"keyset_gem_moveDown", fontSize=20, color='lG',code=selAct('gem', 'moveDown' )},
{type='button',name='gem', x=140,y=950,w=200,h=60,text=LANG"keyset_gem_skip", fontSize=20, color='lG',code=selAct('gem', 'skip' )},
{type='button',name='gem', x=900,y=180,w=200,h=60,text=LANG"keyset_func1", fontSize=20, color='lY',code=selAct('gem', 'func1')},
{type='button',name='gem', x=900,y=250,w=200,h=60,text=LANG"keyset_func2", fontSize=20, color='lY',code=selAct('gem', 'func2')},
{type='button',name='gem', x=900,y=320,w=200,h=60,text=LANG"keyset_func3", fontSize=20, color='lY',code=selAct('gem', 'func3')},
{type='button',name='gem', x=900,y=390,w=200,h=60,text=LANG"keyset_func4", fontSize=20, color='lY',code=selAct('gem', 'func4')},
{type='button',name='gem', x=900,y=460,w=200,h=60,text=LANG"keyset_func5", fontSize=20, color='lY',code=selAct('gem', 'func5')},

{type='button',name='sys', x=140,y=180,w=200,h=60,text=LANG"keyset_sys_view", fontSize=20, color='lC',code=selAct('sys', 'view' )},
{type='button',name='sys', x=140,y=250,w=200,h=60,text=LANG"keyset_sys_restart", fontSize=20, color='lC',code=selAct('sys', 'restart')},
{type='button',name='sys', x=140,y=320,w=200,h=60,text=LANG"keyset_sys_chat", fontSize=20, color='lC',code=selAct('sys', 'chat' )},
{type='button',name='sys', x=140,y=390,w=200,h=60,text=LANG"keyset_sys_back", fontSize=20, color='lC',code=selAct('sys', 'back' )},
{type='button',name='sys', x=140,y=460,w=200,h=60,text=LANG"keyset_sys_quit", fontSize=20, color='lC',code=selAct('sys', 'quit' )},
{type='button',name='sys', x=140,y=530,w=200,h=60,text=LANG"keyset_sys_setting", fontSize=20, color='lC',code=selAct('sys', 'setting')},
{type='button',name='sys', x=140,y=600,w=200,h=60,text=LANG"keyset_sys_help", fontSize=20, color='lC',code=selAct('sys', 'help' )},
{type='button',name='sys', x=900,y=180,w=200,h=60,text=LANG"keyset_sys_left", fontSize=20, color='lC',code=selAct('sys', 'left' )},
{type='button',name='sys', x=900,y=250,w=200,h=60,text=LANG"keyset_sys_right", fontSize=20, color='lC',code=selAct('sys', 'right' )},
{type='button',name='sys', x=900,y=320,w=200,h=60,text=LANG"keyset_sys_up", fontSize=20, color='lC',code=selAct('sys', 'up' )},
{type='button',name='sys', x=900,y=390,w=200,h=60,text=LANG"keyset_sys_down", fontSize=20, color='lC',code=selAct('sys', 'down' )},
{type='button',name='sys', x=900,y=460,w=200,h=60,text=LANG"keyset_sys_select", fontSize=20, color='lC',code=selAct('sys', 'select' )},

{type='button_invis',name='Sgem', pos={1,0},x=-800,y=60,w=150,h=100,cornerR=20,fontSize=60,text="G",fontType='bold',sound_trigger='move',code=function() if keyMode~='gem' then scene.enter('gem') end end,visibleFunc=function() return PROGRESS.getModeUnlocked('gem_wip') end},
{type='button_invis',name='Spuyo',pos={1,0},x=-600,y=60,w=150,h=100,cornerR=20,fontSize=60,text="P",fontType='bold',sound_trigger='move',code=function() if keyMode~='puyo' then scene.enter('puyo') end end,visibleFunc=function() return PROGRESS.getModeUnlocked('puyo_wip') end},
Expand Down

0 comments on commit 027ddcb

Please sign in to comment.