删除动画

master
罗家炜 2025-06-26 02:58:51 +08:00
parent ac3afd250a
commit ec2bcfa0f7
180 changed files with 78 additions and 250 deletions

View File

@ -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

View File

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 969 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 290 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 303 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Some files were not shown because too many files have changed in this diff Show More