调整进入联网游戏菜单的音效播放时机
This commit is contained in:
@@ -376,7 +376,6 @@ function NET.updateWS_user()
|
|||||||
NET.accessToken=res.accessToken
|
NET.accessToken=res.accessToken
|
||||||
LOG.print(text.accessSuccessed,'message')
|
LOG.print(text.accessSuccessed,'message')
|
||||||
NET.wsconn_play()
|
NET.wsconn_play()
|
||||||
SFX.play('connected')
|
|
||||||
elseif res.action==1 then--Get userInfo
|
elseif res.action==1 then--Get userInfo
|
||||||
USERS.updateUserData(res.data)
|
USERS.updateUserData(res.data)
|
||||||
end
|
end
|
||||||
@@ -408,6 +407,7 @@ function NET.updateWS_play()
|
|||||||
SCN.go('net_menu')
|
SCN.go('net_menu')
|
||||||
NET.unlock('wsc_play')
|
NET.unlock('wsc_play')
|
||||||
NET.unlock('access_and_login')
|
NET.unlock('access_and_login')
|
||||||
|
SFX.play('connected')
|
||||||
elseif res.action==0 then--Fetch rooms
|
elseif res.action==0 then--Fetch rooms
|
||||||
NET.roomList=res.roomList
|
NET.roomList=res.roomList
|
||||||
NET.unlock('fetchRoom')
|
NET.unlock('fetchRoom')
|
||||||
|
|||||||
@@ -197,8 +197,8 @@ local loadingThread=coroutine.wrap(function()
|
|||||||
upFloor()
|
upFloor()
|
||||||
end
|
end
|
||||||
if progress==25 then
|
if progress==25 then
|
||||||
SFX.play("emit",.6)
|
SFX.play('emit',.6)
|
||||||
SFX.play("enter",.8)
|
SFX.play('enter',.8)
|
||||||
SFX.play('welcome_sfx')
|
SFX.play('welcome_sfx')
|
||||||
VOC.play('welcome_voc')
|
VOC.play('welcome_voc')
|
||||||
THEME.fresh()
|
THEME.fresh()
|
||||||
|
|||||||
Reference in New Issue
Block a user