全部修改,减缩动画数量

master
罗家炜 2025-06-05 18:56:24 +08:00
parent cccad8b51c
commit d59550da73
326 changed files with 299 additions and 516 deletions

View File

@ -443,12 +443,17 @@ function M:OnApplicationActive()
end end
function M:InitClip() function M:InitClip()
UIPackage.AddPackage("base/lobby/ui/Lobby_KanBanNiang")
local aMovie = UIPackage.CreateObject("Lobby_KanBanNiang", "KanBanNiang")
aMovie.playing = true
self._view:GetChild('kanBanNiang'):AddChild(aMovie)
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 = 142 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
@ -467,7 +472,7 @@ function M:InitClip()
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
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)
@ -475,7 +480,7 @@ function M:InitClip()
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.060) coroutine.wait(0.080)
end end
end end
) )
@ -486,7 +491,7 @@ function M:ReplaceClip1(e, t, i, n)
i = 0 i = 0
end end
t.url = string.format("%s%03d", n, i) t.url = string.format("%s%03d", n, i)
return i + 2 return i + 4
end end
function M:ReplaceClip2(e, t, i, n) function M:ReplaceClip2(e, t, i, n)
@ -494,5 +499,5 @@ function M:ReplaceClip2(e, t, i, n)
i = 0 i = 0
end end
t.icon = string.format("%s%03d", n, i) t.icon = string.format("%s%03d", n, i)
return i + 2 return i + 4
end end

View File

@ -269,9 +269,9 @@ function M:InitClip()
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.080) coroutine.wait(0.12)
end end
end end
) )
@ -282,5 +282,5 @@ function M:ReplaceClip1(e, t, i, n)
i = 0 i = 0
end end
t.url = string.format("%s%03d", n, i) t.url = string.format("%s%03d", n, i)
return i + 2 return i + 6
end end

View File

@ -26,8 +26,8 @@ function M:FillData(player)
self:UpdateScore(player.total_score * rt) self:UpdateScore(player.total_score * rt)
end end
if player.piao ~= nil and player.piao >= 0 then if player.daNiao ~= nil and player.niao ~= nil then
self.view_piao.title = player.piao == 0 and "不打鸟" or string.format("打鸟%d", player.piao) self.view_piao.title = player.daNiao == 0 and "不打鸟" or string.format("打鸟%d", player.niao)
self.ctr_piao.selectedIndex = 1 self.ctr_piao.selectedIndex = 1
end end
end end

View File

@ -133,7 +133,6 @@ function M:FillRoomData(s2croom)
room.owner_id = owner room.owner_id = owner
room.game_status = 0 room.game_status = 0
if reload then if reload then
local reloadInfo = s2croom["reloadInfo"] local reloadInfo = s2croom["reloadInfo"]
@ -143,8 +142,6 @@ function M:FillRoomData(s2croom)
room.curren_turn_seat = reloadInfo["active_seat"] room.curren_turn_seat = reloadInfo["active_seat"]
local info_list = reloadInfo["info_list"] local info_list = reloadInfo["info_list"]
if playing == true then if playing == true then
room.CurnrenState = StateType.Palying room.CurnrenState = StateType.Palying
room.game_status = 1 room.game_status = 1
@ -159,6 +156,8 @@ function M:FillRoomData(s2croom)
p.hand_count = info_list[i]["card_size"] p.hand_count = info_list[i]["card_size"]
p.piao = info_list[i]["piao"] p.piao = info_list[i]["piao"]
p.niao = info_list[i]["niao"]
p.daNiao = info_list[i]["daNiao"]
p.handCards = info_list[i]["handCards"] p.handCards = info_list[i]["handCards"]
p.outCards = info_list[i]["outCards"] p.outCards = info_list[i]["outCards"]
local last_outcard = info_list[i]["last_outcard"] local last_outcard = info_list[i]["last_outcard"]
@ -188,7 +187,6 @@ function M:FillRoomData(s2croom)
local last_outcard = info_list[i]["last_outcard"] local last_outcard = info_list[i]["last_outcard"]
if last_outcard ~= nil and last_outcard[1] ~= 0 then if last_outcard ~= nil and last_outcard[1] ~= 0 then
local out_card_list = _ctr_game:ChangeCodeByFrom(last_outcard.card_list, true) local out_card_list = _ctr_game:ChangeCodeByFrom(last_outcard.card_list, true)
local card_type, number, length, plan_three_count = _ctr_game:GetCardListInfo(out_card_list) local card_type, number, length, plan_three_count = _ctr_game:GetCardListInfo(out_card_list)
p.out_card_list = _ctr_game:GetSortOutCardList(out_card_list, card_type, number, plan_three_count) p.out_card_list = _ctr_game:GetSortOutCardList(out_card_list, card_type, number, plan_three_count)
@ -199,6 +197,8 @@ function M:FillRoomData(s2croom)
p.hand_list = info_list[i]["cards"] p.hand_list = info_list[i]["cards"]
p.winscore = info_list[i]["winscore"] p.winscore = info_list[i]["winscore"]
p.piao = info_list[i]["piao"] p.piao = info_list[i]["piao"]
p.niao = info_list[i]["niao"]
p.daNiao = info_list[i]["daNiao"]
p.hand_count = info_list[i]["card_size"] p.hand_count = info_list[i]["card_size"]
p.thisboomnum = info_list[i]["thisboomnum"] p.thisboomnum = info_list[i]["thisboomnum"]
p.open = info_list[i]["open"] p.open = info_list[i]["open"]
@ -212,8 +212,6 @@ function M:FillRoomData(s2croom)
end end
end end
function M:FillPlayBackData(pd_data) function M:FillPlayBackData(pd_data)
local room = DataManager.CurrenRoom local room = DataManager.CurrenRoom
local _tableInfo = pd_data["info"] local _tableInfo = pd_data["info"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 MiB

View File

@ -33,8 +33,8 @@
"n50_lwcl": { "n50_lwcl": {
"hidden": true "hidden": true
}, },
"n113_ker3": { "n145_h5le": {
"hidden": true "locked": true
}, },
"n100_lumr": { "n100_lumr": {
"hidden": true "hidden": true
@ -51,6 +51,9 @@
"n119_g8kk": { "n119_g8kk": {
"hidden": true "hidden": true
}, },
"n113_ker3": {
"hidden": true
},
"n51_lwcl": { "n51_lwcl": {
"hidden": true "hidden": true
} }

View File

@ -1,7 +1,10 @@
{ {
"objectStatus": { "objectStatus": {
"n136_ilon": { "n35_rpaz": {
"hidden": true "collapsed": true
},
"n33_rpaz": {
"collapsed": true
}, },
"n69_jd7v": { "n69_jd7v": {
"hidden": true "hidden": true

View File

@ -1,4 +1,9 @@
{ {
"objectStatus": {
"n94_kwi0": {
"collapsed": true
}
},
"adaptiveTest": true, "adaptiveTest": true,
"fitScreen": "FitSize" "fitScreen": "FitSize"
} }

View File

@ -1,7 +1 @@
{ {}
"objectStatus": {
"n3_imp5": {
"collapsed": true
}
}
}

View File

@ -7,11 +7,11 @@
<image id="n141_ht5v" name="n141" src="ht5v7cnr" fileName="mainbg.png" xy="-145,0" aspect="true"> <image id="n141_ht5v" name="n141" src="ht5v7cnr" fileName="mainbg.png" xy="-145,0" aspect="true">
<relation target="" sidePair="width-width%,height-height%,center-center,middle-middle"/> <relation target="" sidePair="width-width%,height-height%,center-center,middle-middle"/>
</image> </image>
<loader id="n145_h5le" name="clip_bg" xy="-149,0" size="1633,972" url="ui://2d9xdj6zy1us7d3u" fill="scale"> <loader id="n157_btip" name="clip_renwu" xy="0,12" size="696,771" url="ui://2d9xdj6zbtip7dr5" fill="scale">
<relation target="" sidePair="width-width%,height-height%"/> <relation target="" sidePair="width-width%,height-height%"/>
</loader> </loader>
<loader id="n142_h5le" name="clip_renwu" xy="55,97" size="435,651" url="ui://2d9xdj6ziaes7dfj" align="center" vAlign="middle"> <loader id="n145_h5le" name="clip_bg" xy="-149,0" size="1633,972" url="ui://2d9xdj6zy1us7d3u" fill="scale">
<relation target="" sidePair="left-left%"/> <relation target="" sidePair="width-width%,height-height%"/>
</loader> </loader>
<image id="n49_lwcl" name="n49" src="lwclq" fileName="denglu_bg_01.png" pkg="0khx14ar" xy="-209,0" size="1770,750" aspect="true" visible="false"> <image id="n49_lwcl" name="n49" src="lwclq" fileName="denglu_bg_01.png" pkg="0khx14ar" xy="-209,0" size="1770,750" aspect="true" visible="false">
<relation target="" sidePair="center-center,middle-middle"/> <relation target="" sidePair="center-center,middle-middle"/>
@ -29,7 +29,7 @@
<relation target="" sidePair="top-top%"/> <relation target="" sidePair="top-top%"/>
<relation target="n29" sidePair="left-right"/> <relation target="n29" sidePair="left-right"/>
</text> </text>
<text id="n84_mv8k" name="tex_id" xy="127,69" size="143,42" group="n28" font="Microsoft YaHei" fontSize="30" color="#ffffff" bold="true" text="ID:123456"> <text id="n84_mv8k" name="tex_id" xy="127,69" size="161,42" group="n28" font="Microsoft YaHei" fontSize="30" color="#ffffff" bold="true" text="ID:123456">
<relation target="" sidePair="top-top%"/> <relation target="" sidePair="top-top%"/>
<relation target="n29" sidePair="left-right"/> <relation target="n29" sidePair="left-right"/>
</text> </text>
@ -127,7 +127,5 @@
<relation target="" sidePair="center-center"/> <relation target="" sidePair="center-center"/>
</component> </component>
</displayList> </displayList>
<transition name="t0"> <transition name="t1" autoPlayRepeat="-1"/>
<item time="0" type="Transition" target="n127_naup" value="t0"/>
</transition>
</component> </component>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="100,100">
<displayList/>
</component>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 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: 308 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 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: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 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: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 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: 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: 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: 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: 34 KiB

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