微调游戏中重开和暂停按钮位置
This commit is contained in:
@@ -333,8 +333,8 @@ end
|
||||
scene.widgetList={
|
||||
textBox,
|
||||
WIDGET.newKey{name="ready",x=640,y=440,w=200,h=80,color="yellow",font=40,code=pressKey("space"),hide=function()return playing or not hideChatBox or PLAYERS[1].ready end},
|
||||
WIDGET.newKey{name="hideChat",fText="...",x=410,y=40,w=60,font=35,code=switchChat},
|
||||
WIDGET.newKey{name="quit",fText="X",x=870,y=40,w=60,font=40,code=pressKey"escape"},
|
||||
WIDGET.newKey{name="hideChat",fText="...",x=380,y=35,w=60,font=35,code=switchChat},
|
||||
WIDGET.newKey{name="quit",fText="X",x=900,y=35,w=60,font=40,code=pressKey"escape"},
|
||||
}
|
||||
|
||||
return scene
|
||||
@@ -239,8 +239,8 @@ function scene.draw()
|
||||
gc.pop()
|
||||
end
|
||||
scene.widgetList={
|
||||
WIDGET.newKey{name="restart",fText="R",x=410,y=40,w=60,font=40,code=restart},
|
||||
WIDGET.newKey{name="pause",fText="II",x=870,y=40,w=60,font=40,code=function()pauseGame()end},
|
||||
WIDGET.newKey{name="restart",fText="R",x=380,y=35,w=60,font=40,code=restart},
|
||||
WIDGET.newKey{name="pause",fText="II",x=900,y=35,w=60,font=40,code=function()pauseGame()end},
|
||||
}
|
||||
|
||||
return scene
|
||||
Reference in New Issue
Block a user