微调网战房间内ui,全员准备后会有可视化标记

This commit is contained in:
MrZ626
2021-04-25 15:03:20 +08:00
parent cb16482a61
commit 4f278925f4
2 changed files with 17 additions and 6 deletions

View File

@@ -239,8 +239,8 @@ function scene.draw()
--Rectangle
gc.setColor(COLOR[p.ready and"G"or"white"])
gc.setLineWidth(3)
gc.rectangle("line",40,67+50*i,800,42)
gc.setLineWidth(2)
gc.rectangle("line",40,65+50*i,1000,46)
--UID
setFont(40)
@@ -255,6 +255,13 @@ function scene.draw()
gc.print(p.username,240,60+50*i)
end
--All-ready mark
if NET.allReady then
gc.setColor(0,1,.2,.8)
gc.setLineWidth(10)
gc.rectangle("line",610,25,60,60)
end
--Profile
drawSelfProfile()
end