增加玩家个人信息显示框(暂时只有头像)

This commit is contained in:
MrZ626
2021-04-20 01:40:12 +08:00
parent 6cee129a68
commit ca856cbb35
4 changed files with 28 additions and 2 deletions

View File

@@ -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