删除动画
|
|
@ -36,7 +36,7 @@ function M:InitView(url)
|
|||
self._full_offset = false
|
||||
local view = self._view
|
||||
|
||||
self:InitClip()
|
||||
-- self:InitClip()
|
||||
|
||||
local btn_head = view:GetChild("btn_head")
|
||||
ImageLoad.Load(DataManager.SelfUser.head_url, btn_head._iconObject)
|
||||
|
|
@ -369,7 +369,7 @@ function M:Show()
|
|||
BaseView.Show(self)
|
||||
ViewUtil.PlaySoundBg()
|
||||
UpdateBeat:Add(self.OnUpdate, self)
|
||||
self:InitClip()
|
||||
-- self:InitClip()
|
||||
-- 如果在圈子内的房间,显示tip
|
||||
local user = DataManager.SelfUser
|
||||
local tem = user.notices
|
||||
|
|
@ -442,57 +442,57 @@ function M:OnApplicationActive()
|
|||
end
|
||||
end
|
||||
|
||||
function M:InitClip()
|
||||
local taohuaEnd = 114
|
||||
local taohuaName = "ui://Lobby/taohua_00"
|
||||
local taohua = self._view:GetChild('clip_bg')
|
||||
local taohuaIndex = 0
|
||||
-- function M:InitClip()
|
||||
-- local taohuaEnd = 114
|
||||
-- local taohuaName = "ui://Lobby/taohua_00"
|
||||
-- local taohua = self._view:GetChild('clip_bg')
|
||||
-- local taohuaIndex = 0
|
||||
|
||||
local renwuEnd = 140
|
||||
local renwuName = "ui://Lobby/renwu-AE_00"
|
||||
local renwu = self._view:GetChild('clip_renwu')
|
||||
local renwuIndex = 0
|
||||
-- local renwuEnd = 140
|
||||
-- local renwuName = "ui://Lobby/renwu-AE_00"
|
||||
-- local renwu = self._view:GetChild('clip_renwu')
|
||||
-- local renwuIndex = 0
|
||||
|
||||
local pukeEnd = 60
|
||||
local pukeName = "ui://Lobby/puke_00"
|
||||
local puke = self._view:GetChild('btn_ChuangJian')
|
||||
local pukeIndex = 0
|
||||
-- local pukeEnd = 60
|
||||
-- local pukeName = "ui://Lobby/puke_00"
|
||||
-- local puke = self._view:GetChild('btn_ChuangJian')
|
||||
-- local pukeIndex = 0
|
||||
|
||||
local jiangbeiEnd = 180
|
||||
local jiangbeiName = "ui://Lobby/jiangbei_00"
|
||||
local jiangbei = self._view:GetChild('btn_more_group')
|
||||
local jiangbeiIndex = 0
|
||||
-- local jiangbeiEnd = 180
|
||||
-- local jiangbeiName = "ui://Lobby/jiangbei_00"
|
||||
-- local jiangbei = self._view:GetChild('btn_more_group')
|
||||
-- local jiangbeiIndex = 0
|
||||
|
||||
local hechengEnd = 96
|
||||
local hechengName = "ui://Lobby/hecheng 1_00"
|
||||
local hecheng = self._view:GetChild('btn_joinroom')
|
||||
local hechengIndex = 0
|
||||
self.alldonhua = coroutine.start(
|
||||
function()
|
||||
while true do
|
||||
taohuaIndex = self:ReplaceClip1(taohuaEnd, taohua, taohuaIndex, taohuaName)
|
||||
renwuIndex = self:ReplaceClip1(renwuEnd, renwu, renwuIndex, renwuName)
|
||||
pukeIndex = self:ReplaceClip2(pukeEnd, puke, pukeIndex, pukeName)
|
||||
jiangbeiIndex = self:ReplaceClip2(jiangbeiEnd, jiangbei, jiangbeiIndex, jiangbeiName)
|
||||
hechengIndex = self:ReplaceClip2(hechengEnd, hecheng, hechengIndex, hechengName)
|
||||
coroutine.wait(0.080)
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
-- local hechengEnd = 96
|
||||
-- local hechengName = "ui://Lobby/hecheng 1_00"
|
||||
-- local hecheng = self._view:GetChild('btn_joinroom')
|
||||
-- local hechengIndex = 0
|
||||
-- self.alldonhua = coroutine.start(
|
||||
-- function()
|
||||
-- while true do
|
||||
-- taohuaIndex = self:ReplaceClip1(taohuaEnd, taohua, taohuaIndex, taohuaName)
|
||||
-- renwuIndex = self:ReplaceClip1(renwuEnd, renwu, renwuIndex, renwuName)
|
||||
-- pukeIndex = self:ReplaceClip2(pukeEnd, puke, pukeIndex, pukeName)
|
||||
-- jiangbeiIndex = self:ReplaceClip2(jiangbeiEnd, jiangbei, jiangbeiIndex, jiangbeiName)
|
||||
-- hechengIndex = self:ReplaceClip2(hechengEnd, hecheng, hechengIndex, hechengName)
|
||||
-- coroutine.wait(0.080)
|
||||
-- end
|
||||
-- end
|
||||
-- )
|
||||
-- end
|
||||
|
||||
function M:ReplaceClip1(e, t, i, n)
|
||||
if i > e then
|
||||
i = 0
|
||||
end
|
||||
t.url = string.format("%s%03d", n, i)
|
||||
return i + 4
|
||||
end
|
||||
-- function M:ReplaceClip1(e, t, i, n)
|
||||
-- if i > e then
|
||||
-- i = 0
|
||||
-- end
|
||||
-- t.url = string.format("%s%03d", n, i)
|
||||
-- return i + 4
|
||||
-- end
|
||||
|
||||
function M:ReplaceClip2(e, t, i, n)
|
||||
if i > e then
|
||||
i = 0
|
||||
end
|
||||
t.icon = string.format("%s%03d", n, i)
|
||||
return i + 4
|
||||
end
|
||||
-- function M:ReplaceClip2(e, t, i, n)
|
||||
-- if i > e then
|
||||
-- i = 0
|
||||
-- end
|
||||
-- t.icon = string.format("%s%03d", n, i)
|
||||
-- return i + 4
|
||||
-- end
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ function M:init()
|
|||
self:PhoneLogin()
|
||||
end)
|
||||
|
||||
self:InitClip()
|
||||
-- self:InitClip()
|
||||
end
|
||||
|
||||
function M:Destroy()
|
||||
|
|
@ -96,7 +96,7 @@ end
|
|||
function M:Show()
|
||||
BaseView.Show(self)
|
||||
self:QuickLogin()
|
||||
self:InitClip()
|
||||
-- self:InitClip()
|
||||
end
|
||||
|
||||
local function __goto_lobby(response)
|
||||
|
|
@ -255,32 +255,32 @@ function M:Destroy()
|
|||
-- ResourcesManager.UnLoad("base/ui/Login.bytes")
|
||||
end
|
||||
|
||||
function M:InitClip()
|
||||
local yunqueEnd = 120
|
||||
local yunqueName = "ui://Login/yunque_00"
|
||||
local yunque = self._view:GetChild('clip_yueque')
|
||||
local yunqueIndex = 0
|
||||
-- function M:InitClip()
|
||||
-- local yunqueEnd = 120
|
||||
-- local yunqueName = "ui://Login/yunque_00"
|
||||
-- local yunque = self._view:GetChild('clip_yueque')
|
||||
-- local yunqueIndex = 0
|
||||
|
||||
local xuehuaEnd = 120
|
||||
local xuehuaName = "ui://Login/xuehua_00"
|
||||
local xuehua = self._view:GetChild('clip_xuehua')
|
||||
local xuehuaIndex = 0
|
||||
-- local xuehuaEnd = 120
|
||||
-- local xuehuaName = "ui://Login/xuehua_00"
|
||||
-- local xuehua = self._view:GetChild('clip_xuehua')
|
||||
-- local xuehuaIndex = 0
|
||||
|
||||
self.donhua = coroutine.start(
|
||||
function()
|
||||
while true do
|
||||
-- yunqueIndex = self:ReplaceClip1(yunqueEnd, yunque, yunqueIndex, yunqueName)
|
||||
xuehuaIndex = self:ReplaceClip1(xuehuaEnd, xuehua, xuehuaIndex, xuehuaName)
|
||||
coroutine.wait(0.12)
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
-- self.donhua = coroutine.start(
|
||||
-- function()
|
||||
-- while true do
|
||||
-- -- yunqueIndex = self:ReplaceClip1(yunqueEnd, yunque, yunqueIndex, yunqueName)
|
||||
-- xuehuaIndex = self:ReplaceClip1(xuehuaEnd, xuehua, xuehuaIndex, xuehuaName)
|
||||
-- coroutine.wait(0.12)
|
||||
-- end
|
||||
-- end
|
||||
-- )
|
||||
-- end
|
||||
|
||||
function M:ReplaceClip1(e, t, i, n)
|
||||
if i > e then
|
||||
i = 0
|
||||
end
|
||||
t.url = string.format("%s%03d", n, i)
|
||||
return i + 6
|
||||
end
|
||||
-- function M:ReplaceClip1(e, t, i, n)
|
||||
-- if i > e then
|
||||
-- i = 0
|
||||
-- end
|
||||
-- t.url = string.format("%s%03d", n, i)
|
||||
-- return i + 6
|
||||
-- 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 |