增加玩家个人信息显示框(暂时只有头像)
This commit is contained in:
@@ -10,11 +10,15 @@ function scene.sceneBack()
|
||||
NET.wsclose_play()
|
||||
end
|
||||
|
||||
function scene.draw()
|
||||
drawSelfProfile()
|
||||
end
|
||||
|
||||
scene.widgetList={
|
||||
WIDGET.newButton{name="ffa", x=640, y=200,w=350,h=120,font=40,code=function()NET.enterRoom("ffa")end},
|
||||
WIDGET.newButton{name="rooms", x=640, y=360,w=350,h=120,font=40,code=goScene"net_rooms"},
|
||||
WIDGET.newButton{name="chat", x=640, y=540,w=350,h=120,color="black",font=40,code=NULL},
|
||||
WIDGET.newButton{name="logout", x=1140, y=70,w=180,h=70,color="dR",
|
||||
WIDGET.newButton{name="logout", x=1180, y=130,w=180,h=70,color="dR",
|
||||
code=function()
|
||||
if TIME()-lastLogoutTime<1 then
|
||||
if USER.uid then
|
||||
|
||||
Reference in New Issue
Block a user