删除动画
|
|
@ -36,7 +36,7 @@ function M:InitView(url)
|
||||||
self._full_offset = false
|
self._full_offset = false
|
||||||
local view = self._view
|
local view = self._view
|
||||||
|
|
||||||
self:InitClip()
|
-- self:InitClip()
|
||||||
|
|
||||||
local btn_head = view:GetChild("btn_head")
|
local btn_head = view:GetChild("btn_head")
|
||||||
ImageLoad.Load(DataManager.SelfUser.head_url, btn_head._iconObject)
|
ImageLoad.Load(DataManager.SelfUser.head_url, btn_head._iconObject)
|
||||||
|
|
@ -369,7 +369,7 @@ function M:Show()
|
||||||
BaseView.Show(self)
|
BaseView.Show(self)
|
||||||
ViewUtil.PlaySoundBg()
|
ViewUtil.PlaySoundBg()
|
||||||
UpdateBeat:Add(self.OnUpdate, self)
|
UpdateBeat:Add(self.OnUpdate, self)
|
||||||
self:InitClip()
|
-- self:InitClip()
|
||||||
-- 如果在圈子内的房间,显示tip
|
-- 如果在圈子内的房间,显示tip
|
||||||
local user = DataManager.SelfUser
|
local user = DataManager.SelfUser
|
||||||
local tem = user.notices
|
local tem = user.notices
|
||||||
|
|
@ -442,57 +442,57 @@ function M:OnApplicationActive()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:InitClip()
|
-- function M:InitClip()
|
||||||
local taohuaEnd = 114
|
-- local taohuaEnd = 114
|
||||||
local taohuaName = "ui://Lobby/taohua_00"
|
-- local taohuaName = "ui://Lobby/taohua_00"
|
||||||
local taohua = self._view:GetChild('clip_bg')
|
-- local taohua = self._view:GetChild('clip_bg')
|
||||||
local taohuaIndex = 0
|
-- local taohuaIndex = 0
|
||||||
|
|
||||||
local renwuEnd = 140
|
-- local renwuEnd = 140
|
||||||
local renwuName = "ui://Lobby/renwu-AE_00"
|
-- local renwuName = "ui://Lobby/renwu-AE_00"
|
||||||
local renwu = self._view:GetChild('clip_renwu')
|
-- local renwu = self._view:GetChild('clip_renwu')
|
||||||
local renwuIndex = 0
|
-- local renwuIndex = 0
|
||||||
|
|
||||||
local pukeEnd = 60
|
-- local pukeEnd = 60
|
||||||
local pukeName = "ui://Lobby/puke_00"
|
-- local pukeName = "ui://Lobby/puke_00"
|
||||||
local puke = self._view:GetChild('btn_ChuangJian')
|
-- local puke = self._view:GetChild('btn_ChuangJian')
|
||||||
local pukeIndex = 0
|
-- local pukeIndex = 0
|
||||||
|
|
||||||
local jiangbeiEnd = 180
|
-- local jiangbeiEnd = 180
|
||||||
local jiangbeiName = "ui://Lobby/jiangbei_00"
|
-- local jiangbeiName = "ui://Lobby/jiangbei_00"
|
||||||
local jiangbei = self._view:GetChild('btn_more_group')
|
-- local jiangbei = self._view:GetChild('btn_more_group')
|
||||||
local jiangbeiIndex = 0
|
-- local jiangbeiIndex = 0
|
||||||
|
|
||||||
local hechengEnd = 96
|
-- local hechengEnd = 96
|
||||||
local hechengName = "ui://Lobby/hecheng 1_00"
|
-- local hechengName = "ui://Lobby/hecheng 1_00"
|
||||||
local hecheng = self._view:GetChild('btn_joinroom')
|
-- local hecheng = self._view:GetChild('btn_joinroom')
|
||||||
local hechengIndex = 0
|
-- local hechengIndex = 0
|
||||||
self.alldonhua = coroutine.start(
|
-- self.alldonhua = coroutine.start(
|
||||||
function()
|
-- function()
|
||||||
while true do
|
-- while true do
|
||||||
taohuaIndex = self:ReplaceClip1(taohuaEnd, taohua, taohuaIndex, taohuaName)
|
-- taohuaIndex = self:ReplaceClip1(taohuaEnd, taohua, taohuaIndex, taohuaName)
|
||||||
renwuIndex = self:ReplaceClip1(renwuEnd, renwu, renwuIndex, renwuName)
|
-- renwuIndex = self:ReplaceClip1(renwuEnd, renwu, renwuIndex, renwuName)
|
||||||
pukeIndex = self:ReplaceClip2(pukeEnd, puke, pukeIndex, pukeName)
|
-- pukeIndex = self:ReplaceClip2(pukeEnd, puke, pukeIndex, pukeName)
|
||||||
jiangbeiIndex = self:ReplaceClip2(jiangbeiEnd, jiangbei, jiangbeiIndex, jiangbeiName)
|
-- jiangbeiIndex = self:ReplaceClip2(jiangbeiEnd, jiangbei, jiangbeiIndex, jiangbeiName)
|
||||||
hechengIndex = self:ReplaceClip2(hechengEnd, hecheng, hechengIndex, hechengName)
|
-- hechengIndex = self:ReplaceClip2(hechengEnd, hecheng, hechengIndex, hechengName)
|
||||||
coroutine.wait(0.080)
|
-- coroutine.wait(0.080)
|
||||||
end
|
-- end
|
||||||
end
|
-- end
|
||||||
)
|
-- )
|
||||||
end
|
-- end
|
||||||
|
|
||||||
function M:ReplaceClip1(e, t, i, n)
|
-- function M:ReplaceClip1(e, t, i, n)
|
||||||
if i > e then
|
-- if i > e then
|
||||||
i = 0
|
-- i = 0
|
||||||
end
|
-- end
|
||||||
t.url = string.format("%s%03d", n, i)
|
-- t.url = string.format("%s%03d", n, i)
|
||||||
return i + 4
|
-- return i + 4
|
||||||
end
|
-- end
|
||||||
|
|
||||||
function M:ReplaceClip2(e, t, i, n)
|
-- function M:ReplaceClip2(e, t, i, n)
|
||||||
if i > e then
|
-- if i > e then
|
||||||
i = 0
|
-- i = 0
|
||||||
end
|
-- end
|
||||||
t.icon = string.format("%s%03d", n, i)
|
-- t.icon = string.format("%s%03d", n, i)
|
||||||
return i + 4
|
-- return i + 4
|
||||||
end
|
-- end
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ function M:init()
|
||||||
self:PhoneLogin()
|
self:PhoneLogin()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
self:InitClip()
|
-- self:InitClip()
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:Destroy()
|
function M:Destroy()
|
||||||
|
|
@ -96,7 +96,7 @@ end
|
||||||
function M:Show()
|
function M:Show()
|
||||||
BaseView.Show(self)
|
BaseView.Show(self)
|
||||||
self:QuickLogin()
|
self:QuickLogin()
|
||||||
self:InitClip()
|
-- self:InitClip()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function __goto_lobby(response)
|
local function __goto_lobby(response)
|
||||||
|
|
@ -255,32 +255,32 @@ function M:Destroy()
|
||||||
-- ResourcesManager.UnLoad("base/ui/Login.bytes")
|
-- ResourcesManager.UnLoad("base/ui/Login.bytes")
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:InitClip()
|
-- function M:InitClip()
|
||||||
local yunqueEnd = 120
|
-- local yunqueEnd = 120
|
||||||
local yunqueName = "ui://Login/yunque_00"
|
-- local yunqueName = "ui://Login/yunque_00"
|
||||||
local yunque = self._view:GetChild('clip_yueque')
|
-- local yunque = self._view:GetChild('clip_yueque')
|
||||||
local yunqueIndex = 0
|
-- local yunqueIndex = 0
|
||||||
|
|
||||||
local xuehuaEnd = 120
|
-- local xuehuaEnd = 120
|
||||||
local xuehuaName = "ui://Login/xuehua_00"
|
-- local xuehuaName = "ui://Login/xuehua_00"
|
||||||
local xuehua = self._view:GetChild('clip_xuehua')
|
-- local xuehua = self._view:GetChild('clip_xuehua')
|
||||||
local xuehuaIndex = 0
|
-- local xuehuaIndex = 0
|
||||||
|
|
||||||
self.donhua = coroutine.start(
|
-- self.donhua = coroutine.start(
|
||||||
function()
|
-- function()
|
||||||
while true do
|
-- while true do
|
||||||
-- yunqueIndex = self:ReplaceClip1(yunqueEnd, yunque, yunqueIndex, yunqueName)
|
-- -- yunqueIndex = self:ReplaceClip1(yunqueEnd, yunque, yunqueIndex, yunqueName)
|
||||||
xuehuaIndex = self:ReplaceClip1(xuehuaEnd, xuehua, xuehuaIndex, xuehuaName)
|
-- xuehuaIndex = self:ReplaceClip1(xuehuaEnd, xuehua, xuehuaIndex, xuehuaName)
|
||||||
coroutine.wait(0.12)
|
-- coroutine.wait(0.12)
|
||||||
end
|
-- end
|
||||||
end
|
-- end
|
||||||
)
|
-- )
|
||||||
end
|
-- end
|
||||||
|
|
||||||
function M:ReplaceClip1(e, t, i, n)
|
-- function M:ReplaceClip1(e, t, i, n)
|
||||||
if i > e then
|
-- if i > e then
|
||||||
i = 0
|
-- i = 0
|
||||||
end
|
-- end
|
||||||
t.url = string.format("%s%03d", n, i)
|
-- t.url = string.format("%s%03d", n, i)
|
||||||
return i + 6
|
-- return i + 6
|
||||||
end
|
-- end
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 969 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 218 KiB |
|
Before Width: | Height: | Size: 235 KiB |
|
Before Width: | Height: | Size: 252 KiB |
|
Before Width: | Height: | Size: 264 KiB |
|
Before Width: | Height: | Size: 272 KiB |
|
Before Width: | Height: | Size: 283 KiB |
|
Before Width: | Height: | Size: 287 KiB |
|
Before Width: | Height: | Size: 292 KiB |
|
Before Width: | Height: | Size: 290 KiB |
|
Before Width: | Height: | Size: 293 KiB |
|
Before Width: | Height: | Size: 296 KiB |
|
Before Width: | Height: | Size: 302 KiB |
|
Before Width: | Height: | Size: 298 KiB |
|
Before Width: | Height: | Size: 302 KiB |
|
Before Width: | Height: | Size: 302 KiB |
|
Before Width: | Height: | Size: 306 KiB |
|
Before Width: | Height: | Size: 307 KiB |
|
Before Width: | Height: | Size: 311 KiB |
|
Before Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 309 KiB |
|
Before Width: | Height: | Size: 315 KiB |
|
Before Width: | Height: | Size: 317 KiB |
|
Before Width: | Height: | Size: 323 KiB |
|
Before Width: | Height: | Size: 320 KiB |
|
Before Width: | Height: | Size: 303 KiB |
|
Before Width: | Height: | Size: 289 KiB |
|
Before Width: | Height: | Size: 276 KiB |
|
Before Width: | Height: | Size: 248 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 51 KiB |