实现玩家设置同步到服务器

实现玩家离开房间(各种途径)
修改云存读档代码(还未实现)
移除sid,准备之后用uid本地排序序号代替(排序还未实现)
整理代码,框架跟进
This commit is contained in:
MrZ_26
2022-10-09 06:47:08 +08:00
parent df7ab20636
commit 7ac6f45b9b
23 changed files with 161 additions and 144 deletions

View File

@@ -123,8 +123,8 @@ end
function scene.keyDown(key,isRep)
if isRep then return true end
if key=='q' then
SCN.back()
GAME.playing=false
SCN.back()
elseif key=='escape' then
SCN.swapTo(GAME.result and 'game' or 'depause','none')
elseif key=='s' then