修复麻将回放,字牌回放,替换字牌结算名堂

master
mxj 2026-06-04 14:06:46 +08:00
parent 8689273c08
commit 35177c2163
90 changed files with 264 additions and 86 deletions

View File

@ -40,8 +40,34 @@ function M:InitView(url)
self._cmdmap[Record_Event.Evt_Niao] = self.CmdNiao
self._cmdmap[Record_Event.Evt_Piao] = self.CmdPiao
self._cmdmap[Record_Event.Evt_Result] = self.CmdResult
self._cmdmap[Record_Event.Evt_FizTip] = self.CmdFizTip
self._cmdmap[Record_Event.Evt_KaiGang] = self.CmdKaiGang
self._cmdmap[Record_Event.Evt_QiShou] = self.CmdQiShou
self._cmdmap[Record_Event.Evt_GangScore] = self.CmdGangScore
end
-- 处理杠分结算通常只涉及UI飘字不改变手牌数据
function M:CmdGangScore(cmd, index)
local data = self:CopyLastStep(index)
data.cmd = cmd.cmd
-- 保存结算数据,以便在 ShowStep 中显示飘分特效
data.gang_score_data = cmd.data
end
-- 处理开杠展示通常不改变手牌数据只改变UI展示所以复制状态即可
function M:CmdKaiGang(cmd, index)
local data = self:CopyLastStep(index)
data.cmd = cmd.cmd
data.left_card = cmd.data.left_count
data.card = cmd.data.info.cardList
end
function M:CmdQiShou(cmd, index)
local data = self:CopyLastStep(index)
data.cmd = cmd.cmd
data.qs_seat = cmd.seat
data.qs_data = cmd.data.data
-- data.qs_card = cmd.data.card
end
function M:FillRoomData(data)
MJPlayBackView.FillRoomData(self)
if self._win_pic then self._win_pic:Dispose() end
@ -96,10 +122,17 @@ function M:ShowStep(index)
p.piao_niao = step.player_card_data[i].piao_niao
local head_info = self._player_info[self:GetPos(i)]
if p.piao_niao and p.piao_niao > 0 then
head_info._view:GetChild("mask_piao").title = "飘分 " .. p.piao_niao
head_info._view:GetController("piao_niao").selectedIndex = 1
if head_info._view:GetChild("mask_piao") then
head_info._view:GetChild("mask_piao").title = "飘分 " .. p.piao_niao
end
if head_info._view:GetController("piao_niao") then
head_info._view:GetController("piao_niao").selectedIndex = 1
end
else
head_info._view:GetController("piao_niao").selectedIndex = 0
if head_info._view:GetController("piao_niao") then
head_info._view:GetController("piao_niao").selectedIndex = 0
end
end
if step.cmd == Record_Event.Evt_OutCard and i == step.last_out_seat then
local card = p.outcard_list[#p.outcard_list]
@ -151,13 +184,13 @@ function M:ShowStep(index)
self.result._view.width = GRoot.inst.width
self.result._view.height = GRoot.inst.height
self.result._view:GetChild("btn_confirm").visible = false
self._anchor:AddChild(self.result._view)
self.result._view.x = self._anchor.x * -1
self.result._view.y = self._anchor.y * -1
else
self.result._view.visible = true
end
-- self.result._view:Center()
else
if self.result then
self.result._view.visible = false
@ -193,6 +226,7 @@ function M:GenerateAllStepData(data)
for i = 1, #cmdList do
local tem = cmdList[i]
printlog("ss--ss",tem.cmd, i)
self._cmdmap[tem.cmd](self, tem, i)
end
end
@ -221,14 +255,33 @@ function M:CmdAction(cmd, index)
data.cmd = cmd.cmd
data.last_out_seat = 0
data.current_out_seat = cmd.seat
local u = data.player_card_data[cmd.seat]
for i = 1, #cmd.data.opcard do
list_remove(u.card_list, cmd.data.opcard[i])
end
local fz = {}
fz.type = cmd.data.type
fz.card = cmd.data.card
fz.opcard = cmd.data.opcard
fz.kaigang = cmd.data.opengang
local u = data.player_card_data[cmd.seat]
for i = 1, #fz.opcard do
list_remove(u.card_list, fz.opcard[i])
end
if fz.type == 1 then
fz.type = FZType.Chi
fz.opcard[#fz.opcard + 1] = fz.card
elseif fz.type ==2 then
fz.type = FZType.Peng
elseif fz.type == 3 or fz.type == 4 then
if #fz.opcard == 1 then
fz.type = FZType.Gang_Peng
elseif #fz.opcard == 3 then
fz.type = FZType.Gang
elseif #fz.opcard == 4 then
fz.type = FZType.Gang_An
end
end
local uf = data.player_card_data[cmd.data.from_seat]
if fz.type ~= FZType.Gang_An and fz.type ~= FZType.Gang_Peng then
table.remove(uf.outcard_list, #uf.outcard_list)
@ -267,6 +320,11 @@ function M:CmdResult(cmd, index)
data.cmd = cmd.cmd
data.result_data = cmd.data
end
-- 处理提示类命令,复制上一步状态
function M:CmdFizTip(cmd, index)
local data = self:CopyLastStep(index)
data.cmd = cmd.cmd
end
function M:CopyLastStep(index)
local step = {}

View File

@ -6,6 +6,10 @@ local Record_Event = {
Evt_Niao = "Niao",
Evt_Piao = "PiaoNiao",
Evt_Result = "Result",
Evt_FizTip = "FizTip",
Evt_KaiGang = "KaiGang",
Evt_QiShou = "QiShou",
Evt_GangScore = "GangScore",
}
return Record_Event

View File

@ -98,8 +98,60 @@ function M:InitView(url)
self._cmdmap[Record_Event.Evt_Win] = self.CmdWin
self._cmdmap[Record_Event.Evt_ChangePaiXing] = self.CmdChangePaiXing
self._cmdmap[Record_Event.Evt_result] = self.onResult
local btn_safe = self._view:GetChild('btn_safe')
self.safe_arrow1 = btn_safe:GetChild("arrow1")
self.safe_arrow2 = btn_safe:GetChild("arrow2")
btn_safe.onClick:Set(
function()
self:BtnsSafe()
end
)
local safe_close = self._view:GetChild('safe_close')
safe_close.onClick:Set(
function()
self:BtnsSafe()
end
)
self:BtnsSafe()
end
function M:BtnsSafe()
local btn_temp1 = self._view:GetChild("btn_back_lobby")
local btn_temp2 = self._view:GetChild("Btn_jiesan_lobby")
local btn_temp3 = self._view:GetChild("btn_leave_lobby")
local btn_temp4 = self._view:GetChild("btn_setting")
local safe_close = self._view:GetChild('safe_close')
local btn_rule = self._view:GetChild('btn_rule')
local gcm_chat = self._view:GetChild('gcm_chat')
btn_temp1.visible = not btn_temp1.visible
btn_temp2.visible = not btn_temp2.visible
btn_temp3.visible = not btn_temp3.visible
btn_temp4.visible = not btn_temp4.visible
safe_close.visible = not safe_close.visible
btn_rule.visible = not btn_rule.visible
gcm_chat.visible = not gcm_chat.visible
local safe = self._view:GetChild("safe_bg")
safe.visible = not safe.visible
if safe.visible then
self.safe_arrow1.visible = false
self.safe_arrow2.visible = true
else
self.safe_arrow1.visible = true
self.safe_arrow2.visible = false
end
local text_playName = self._view:GetChild('text_playName')
if text_playName then
text_playName.text = "放炮罚"
end
end
function M:NewPlayerPokerInfoView(view, index)
if index == 1 then
return PlayerSelfCardInfoView.new(view, self)

View File

@ -12,7 +12,16 @@ function M.new(view,mainView)
return self
end
--牌位置
function M:GetHandCardPos(cards_view, cards)
local x, y = 0, 0
local card_width = 75 -- 改小间距,让牌更紧凑
local middle_x = self._area_handcard_list.width / 2
local start_x = middle_x - (cards / 2 * card_width)
x = start_x + (card_width) * (cards_view.index_X - 1)
y = 0 - (75 * cards_view.index_Y)
return Vector2.New(x, y)
end
function M:UpdateFzList( fz_list ,ispaly,seat)
self._area_fz_list:RemoveChildren(0,-1,true)

View File

@ -346,11 +346,11 @@ function M:FillItemData(room, data, item)
local dipais = UIPackage.CreateObjectFromURL('ui://Extend_Poker_HeChi/FullName')
dipais:GetChild('n0').icon = 'ui://Extend_Poker_HeChi/hu_' .. win_data.mingtang[i].mingtang
if win_data.mingtang[i].type == 1 and win_data.mingtang[i].score ~= 0 then
dipais:GetChild('n2').text = win_data.mingtang[i].score .. ''
dipais:GetChild('n2').text = ' x2'
elseif win_data.mingtang[i].type == 2 and win_data.mingtang[i].score ~= 0 then
dipais:GetChild('n2').text = win_data.mingtang[i].score .. ''
dipais:GetChild('n2').text = ' x2'
elseif win_data.mingtang[i].type == 3 and win_data.mingtang[i].score ~= 0 then
dipais:GetChild('n2').text = win_data.mingtang[i].score .. ''
dipais:GetChild('n2').text = ' x2'
end
fullname_list:AddChild(dipais)
end

View File

@ -35,11 +35,11 @@ function M.new(view,mainView)
self._view = view
self._mainView = mainView
self:init()
return self
end
function M:init()
local view = self._view
self._room = DataManager.CurrenRoom
self._area_outcard_list = view:GetChild("area_outcard_list")
@ -227,14 +227,14 @@ function M:UpdateHandCards( list )
end
--牌位置
function M:GetHandCardPos(cards_view,cards)
local x,y = 0,0
local card_width = 42 -- 牌的宽度
function M:GetHandCardPos(cards_view, cards)
local x, y = 0, 0
local card_width = 60 -- 改小间距,让牌更紧凑
local middle_x = self._area_handcard_list.width / 2
local start_x = middle_x - (cards / 2 * (card_width))
x = start_x + (card_width) * (cards_view.index_X - 1)
y = 0 - (42*cards_view.index_Y)
return Vector2.New(x,y)
local start_x = middle_x - (cards / 2 * card_width)
x = start_x + (card_width) * (cards_view.index_X - 1)
y = 150 - (60 * cards_view.index_Y)
return Vector2.New(x, y)
end

View File

@ -25,9 +25,6 @@
"n170_o49p": {
"hidden": true
},
"n183_yfzf": {
"collapsed": true
},
"n35_k3io": {
"hidden": true
}

View File

@ -6,6 +6,12 @@
"ui://hrxsdiixla4e2c",
"ui://8wph7p8nyffnhr",
"ui://mzvoz9udm1i335",
"ui://8wph7p8nyffnmy",
"ui://8wph7p8nyffn8s",
"ui://v0j9abjygq7med",
"ui://27vd145b7jqkcdl",
"ui://v0j9abjygq7m8f",
"ui://lkq9ne9ssyh3rk",
"ui://mzvoz9udm1i33c",
"ui://1utjt0r2ufu92i",
"ui://1utjt0r2ufu92t",
@ -15,6 +21,8 @@
"ui://v0j9abjygq7mgp",
"ui://lkq9ne9speuqc6",
"ui://lkq9ne9speuq8b",
"ui://lkq9ne9speuq5a",
"ui://lkq9ne9speuq6p",
"ui://lkq9ne9speuq8r",
"ui://lkq9ne9speuq8w",
"ui://lkq9ne9ssyh3rj",
@ -34,9 +42,21 @@
"test.device": "1080p Phone",
"canvasColor": 10066329,
"auxline2": true,
"doc.activeDoc": "ui://mzvoz9udm1i335",
"doc.activeDoc": "ui://8wph7p8nyffnmy",
"libview.twoColumn": false,
"libview.expandedNodes": [
"27vd145b",
"/",
"27vd145b",
"/images/",
"egnzysm7",
"/",
"egnzysm7",
"/component/",
"egnzysm7",
"/component/clearing/",
"egnzysm7",
"/component/clearing/image/",
"1utjt0r2",
"/",
"1utjt0r2",
@ -50,9 +70,17 @@
"mzvoz9ud",
"/component/",
"mzvoz9ud",
"/component/EPCDWHZMui/",
"mzvoz9ud",
"/component/clearing/",
"mzvoz9ud",
"/component/clearing/image/",
"mzvoz9ud",
"/component/clearing/images/",
"8wph7p8n",
"/",
"8wph7p8n",
"/image/",
"lkq9ne9s",
"/",
"lkq9ne9s",
@ -62,6 +90,8 @@
"lkq9ne9s",
"/component/Main/",
"lkq9ne9s",
"/component/cards/",
"lkq9ne9s",
"/image/",
"lkq9ne9s",
"/image/MRBMui/",

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -1642,6 +1642,8 @@
<image id="ixzr7j78" name="Frame 1275qq.png" path="/images/COMMui/" exported="true"/>
<image id="ixzr7j79" name="Frame 1283qq.png" path="/images/COMMui/" exported="true"/>
<component id="mrlr7j7a" name="RoomInfoPanel1(1).xml" path="/component/" exported="true"/>
<image id="dq8f7j7b" name="Frame 1347.png" path="/images/" exported="true"/>
<image id="dq8f7j7c" name="Frame 1348.png" path="/images/" exported="true"/>
</resources>
<publish name="Common" path="..\wb_unity_pro\Assets\ART\base\common\ui" packageCount="2">
<atlas name="默认" index="0"/>

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View File

@ -191,7 +191,7 @@
</component>
<component id="n79_p9qe" name="btn_confirm" src="m1i35" fileName="buttons/Btn_newYellow_comfirm.xml" xy="1682,907" size="401,159" group="n64_pwj4">
<gearDisplay controller="over" pages="0,2"/>
<Button icon="ui://mzvoz9udmrlr9q"/>
<Button icon="ui://mzvoz9uddq8fa1"/>
</component>
<component id="n81_hxjc" name="btn_xipai" pkg="27vd145b" src="w7d7i4m" fileName="btn_invite(1)(1).xml" xy="1988,1263" size="100,100" group="n64_pwj4">
<gearDisplay controller="xipai" pages="1"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -32,26 +32,26 @@
<image id="m1i3s" name="牌.png" path="/component/chi_peng_effect/"/>
<component id="m1i3t" name="别人胡.xml" path="/component/chi_peng_effect/" exported="true"/>
<image id="m1i3u" name="hu_icon.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i3v" name="hu_1.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i3w" name="hu_2.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i3x" name="hu_3.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i3y" name="hu_4.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i3z" name="hu_5.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i310" name="hu_6.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i311" name="hu_7.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i312" name="hu_8.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i313" name="hu_9.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i314" name="hu_10.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i315" name="hu_11.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i316" name="hu_12.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i317" name="hu_13.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i318" name="hu_14.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i319" name="hu_15.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i31a" name="hu_16.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i31b" name="hu_17.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i31c" name="hu_18.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i31d" name="hu_19.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i31e" name="hu_20.png" path="/component/clearing/image/" exported="true"/>
<image id="m1i3v" name="hu_1_1.png" path="/component/clearing/image/"/>
<image id="m1i3w" name="hu_2_1.png" path="/component/clearing/image/"/>
<image id="m1i3x" name="hu_3_1.png" path="/component/clearing/image/"/>
<image id="m1i3y" name="hu_4_1.png" path="/component/clearing/image/"/>
<image id="m1i3z" name="hu_5_1.png" path="/component/clearing/image/"/>
<image id="m1i310" name="hu_6_1.png" path="/component/clearing/image/"/>
<image id="m1i311" name="hu_7_1.png" path="/component/clearing/image/"/>
<image id="m1i312" name="hu_8_1.png" path="/component/clearing/image/"/>
<image id="m1i313" name="hu_9_1.png" path="/component/clearing/image/"/>
<image id="m1i314" name="hu_10_1.png" path="/component/clearing/image/"/>
<image id="m1i315" name="hu_11_1.png" path="/component/clearing/image/"/>
<image id="m1i316" name="hu_12_1.png" path="/component/clearing/image/"/>
<image id="m1i317" name="hu_13_1.png" path="/component/clearing/image/"/>
<image id="m1i318" name="hu_14_1.png" path="/component/clearing/image/"/>
<image id="m1i319" name="hu_15_1.png" path="/component/clearing/image/"/>
<image id="m1i31a" name="hu_16_1.png" path="/component/clearing/image/"/>
<image id="m1i31b" name="hu_17_1.png" path="/component/clearing/image/"/>
<image id="m1i31c" name="hu_18_1.png" path="/component/clearing/image/"/>
<image id="m1i31d" name="hu_19_1.png" path="/component/clearing/image/"/>
<image id="m1i31e" name="hu_20_1.png" path="/component/clearing/image/"/>
<image id="m1i31f" name="fangkuang.png" path="/component/clearing/image/"/>
<image id="m1i31g" name="icon.png" path="/component/clearing/image/"/>
<image id="m1i31h" name="流局字.png" path="/component/clearing/image/" exported="true"/>
@ -362,6 +362,29 @@
<image id="mrlr9y" name="Rectangle 2784.png" path="/component/EPCDWHZMui/"/>
<image id="mrlr9z" name="Frame 787(1).png" path="/component/EPCDWHZMui/"/>
<component id="fhzqa0" name="card_item_fangxing.xml" path="/component/clearing/"/>
<image id="dq8fa1" name="Frame 12731.png" path="/component/EPCDWHZMui/"/>
<image id="dq8fa3" name="hu_18.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fa4" name="hu_17.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fa5" name="hu_16.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fa6" name="hu_15.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fa8" name="hu_13.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fa9" name="hu_12.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8faa" name="hu_11.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fad" name="hu_8.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fae" name="hu_7.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8faf" name="hu_6.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fak" name="hu_19.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fal" name="hu_20.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fam" name="hu_1.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fan" name="hu_2.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fao" name="hu_3.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fap" name="hu_4.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8faq" name="hu_5.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8far" name="hu_9.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fas" name="hu_10.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fat" name="hu_14.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fau" name="hu_22.png" path="/component/clearing/image/" exported="true"/>
<image id="dq8fav" name="hu_21.png" path="/component/clearing/image/" exported="true"/>
</resources>
<publish name="Extend_Poker_HeChi" path="..\wb_unity_pro\Assets\ART\extend\zipai\hechi\ui" packageCount="2"/>
</packageDescription>

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="2532,1170" designImageAlpha="100" designImageLayer="1">
<controller name="state" pages="0,准备状态,1,游戏状态,2,,3,回放,4,观战" selected="1"/>
<controller name="state" pages="0,准备状态,1,游戏状态,2,,3,回放,4,观战" selected="0"/>
<controller name="sdk" pages="0,,1," selected="0"/>
<controller name="action" pages="2,空,0,准备,1,开始,3,打鸟" selected="0"/>
<controller name="action" pages="2,空,0,准备,1,开始,3,打鸟" selected="1"/>
<controller name="time" pages="0,,1,,2,,3," selected="0"/>
<controller name="card_eff" pages="0,,1," selected="0"/>
<controller name="zidongtishi" pages="0,,1," selected="0"/>
@ -47,7 +47,7 @@
</component>
<component id="n186_yffn" name="btn_readyonly" src="mljn7ijt" fileName="buttons/Btn_Normol.xml" pkg="27vd145b" xy="1064,647" size="400,169" group="n185_yffn" visible="false">
<gearDisplay controller="action" pages="0"/>
<Button icon="ui://27vd145byffn7iq2"/>
<Button icon="ui://8wph7p8nrfsuckr"/>
</component>
<group id="n185_yffn" name="btn_rendy" xy="759,647" size="1013,294" advanced="true">
<gearDisplay controller="state" pages="0"/>
@ -221,15 +221,15 @@
<relation target="" sidePair="center-center"/>
</component>
<group id="n189_qcrm" name="n189" xy="967,457" size="757,165"/>
<component id="n177_yffn" name="btn_daNiao" src="mljn7ijt" fileName="buttons/Btn_Normol.xml" pkg="27vd145b" xy="1614,648" size="400,169" group="n179_yffn">
<component id="n177_yffn" name="btn_daNiao" src="mljn7ijt" fileName="buttons/Btn_Normol.xml" pkg="27vd145b" xy="1614,648" size="400,146" group="n179_yffn">
<gearDisplay controller="action" pages="3"/>
<Button icon="ui://27vd145byffn7ipb"/>
<Button icon="ui://27vd145bdq8f7j7b"/>
</component>
<component id="n178_yffn" name="btn_buDaNiao" src="mljn7ijt" fileName="buttons/Btn_Normol.xml" pkg="27vd145b" xy="516,648" size="400,169" group="n179_yffn">
<component id="n178_yffn" name="btn_buDaNiao" src="mljn7ijt" fileName="buttons/Btn_Normol.xml" pkg="27vd145b" xy="516,648" size="400,146" group="n179_yffn">
<gearDisplay controller="action" pages="3"/>
<Button icon="ui://27vd145byffn7ip9"/>
<Button icon="ui://27vd145bdq8f7j7c"/>
</component>
<group id="n179_yffn" name="startGameBtn" xy="516,648" size="1498,169" advanced="true">
<group id="n179_yffn" name="startGameBtn" xy="516,648" size="1498,146" advanced="true">
<gearDisplay controller="state" pages="1"/>
<relation target="" sidePair="center-center"/>
</group>

View File

@ -3,81 +3,82 @@
<controller name="over" pages="0,,1," selected="0"/>
<controller name="button" pages="0,,1," selected="0"/>
<controller name="sdk" pages="0,,1," selected="0"/>
<controller name="type" pages="0,,1,,2,,3,,4," selected="4"/>
<controller name="mapai" pages="0,,1," selected="1"/>
<controller name="matype" pages="0,,1," selected="1"/>
<controller name="matypeshow" pages="0,,1," selected="1"/>
<controller name="matypebgshow" pages="0,,1," selected="1"/>
<controller name="paixing" pages="0,,1," selected="1"/>
<controller name="type" pages="0,,1,,2,,3,,4," selected="0"/>
<controller name="mapai" pages="0,,1," selected="0"/>
<controller name="matype" pages="0,,1," selected="0"/>
<controller name="matypeshow" pages="0,,1," selected="0"/>
<controller name="matypebgshow" pages="0,,1," selected="0"/>
<controller name="paixing" pages="0,,1," selected="0"/>
<controller name="xipai" pages="0,,1," selected="1"/>
<displayList>
<component id="n110_itp8" name="bgWindow" src="st2l7ijp" fileName="component/Win_BaseWindow.xml" pkg="27vd145b" xy="0,0" size="2532,1170">
<gearText controller="type" pages="0,1,2,3" values="解散房间|胜利|失败|流局" default=""/>
<Button title="解散房间"/>
</component>
<list id="n3_fux2" name="player_list_1" xy="236,193" size="2091,488" group="n29_10imx" lineGap="27" defaultItem="ui://v0j9abjygq7mcu" autoItemSize="false" align="center" vAlign="middle">
<list id="n3_fux2" name="player_list_1" xy="333,195" size="2091,488" group="n29_10imx" lineGap="27" defaultItem="ui://v0j9abjygq7mcu" autoItemSize="false" align="center" vAlign="middle">
<gearDisplay controller="over" pages="0"/>
<item/>
<item/>
</list>
<text id="n34_piv9" name="tex_gameinfo" xy="0,78" size="956,153" group="n36_piv9" visible="false" font="Microsoft YaHei" fontSize="26" color="#ffffff" vAlign="middle" autoSize="shrink" bold="true" text="大夫看见撒地方就阿斯蒂芬啊收到了附件啊收到了附件阿斯蒂芬就撒地方空间撒地方空间撒地方就士大夫看见撒地方就阿斯蒂芬"/>
<text id="n35_piv9" name="tex_roominfo" xy="318,0" size="626,184" group="n36_piv9" font="ui://27vd145bik9v7imf" fontSize="32" color="#fff9ce" vAlign="bottom" letterSpacing="2" autoSize="shrink" text="房号123456 局10/16 &#xA;2019-10-7 09:24:10"/>
<group id="n36_piv9" name="room_info" xy="0,0" size="956,231" group="n29_10imx" advanced="true">
<text id="n34_piv9" name="tex_gameinfo" xy="97,80" size="956,153" group="n36_piv9" visible="false" font="Microsoft YaHei" fontSize="26" color="#ffffff" vAlign="middle" autoSize="shrink" bold="true" text="大夫看见撒地方就阿斯蒂芬啊收到了附件啊收到了附件阿斯蒂芬就撒地方空间撒地方空间撒地方就士大夫看见撒地方就阿斯蒂芬"/>
<text id="n35_piv9" name="tex_roominfo" xy="415,2" size="626,184" group="n36_piv9" font="ui://27vd145bik9v7imf" fontSize="32" color="#fff9ce" vAlign="bottom" letterSpacing="2" autoSize="shrink" text="房号123456 局10/16 &#xA;2019-10-7 09:24:10"/>
<group id="n36_piv9" name="room_info" xy="97,2" size="956,231" group="n29_10imx" advanced="true">
<relation target="" sidePair=""/>
</group>
<text id="n22_xtwh" name="n22" xy="77,836" size="1206,190" group="n29_10imx" visible="false" fontSize="18" color="#624720" bold="true" text="此页面仅用于娱乐竞技展示,禁止一切赌博行为!"/>
<component id="n12_nrno" name="btn_showResult" src="mljn7ijt" fileName="buttons/Btn_Normol.xml" pkg="27vd145b" xy="1859,1018" size="409,133" group="n29_10imx">
<text id="n22_xtwh" name="n22" xy="174,838" size="400,26" group="n29_10imx" visible="false" fontSize="18" color="#624720" bold="true" text="此页面仅用于娱乐竞技展示,禁止一切赌博行为!"/>
<component id="n12_nrno" name="btn_showResult" src="mljn7ijt" fileName="buttons/Btn_Normol.xml" pkg="27vd145b" xy="1956,1020" size="409,133" group="n29_10imx">
<gearDisplay controller="button" pages="1"/>
<Button icon="ui://27vd145bdqel7j5k"/>
</component>
<component id="n62_ona1" name="btn_detal" src="gq7mdk" fileName="component/clearing/room/btn_invite(1).xml" xy="1715,992" size="786,170" group="n28_xhvg">
<component id="n62_ona1" name="btn_detal" src="gq7mdk" fileName="component/clearing/room/btn_invite(1).xml" xy="778,767" size="786,170" group="n28_xhvg">
<gearDisplay controller="button" pages="0"/>
<gearXY controller="paixing" pages="0,1" values="715,765|1715,992"/>
<gearXY controller="paixing" pages="0,1" values="778,767|1715,992"/>
<relation target="" sidePair="center-center"/>
<Button icon="ui://v0j9abjygq7mda"/>
</component>
<component id="n104_ux6x" name="btn_fanhuipaixing" src="gq7mdk" fileName="component/clearing/room/btn_invite(1).xml" xy="1170,995" size="799,175" group="n28_xhvg">
<component id="n104_ux6x" name="btn_fanhuipaixing" src="gq7mdk" fileName="component/clearing/room/btn_invite(1).xml" xy="778,767" size="799,175" group="n28_xhvg">
<gearDisplay controller="button" pages="0"/>
<gearXY controller="paixing" pages="0,1" values="715,765|1170,995"/>
<gearXY controller="paixing" pages="0,1" values="778,767|1170,995"/>
<relation target="" sidePair="center-center"/>
<Button icon="ui://v0j9abjygq7mdh"/>
</component>
<component id="n4_fux2" name="btn_confirm" src="mljn7ijt" fileName="buttons/Btn_Normol.xml" pkg="27vd145b" xy="1841,1018" size="409,133" group="n111_tki6">
<component id="n4_fux2" name="btn_confirm" src="mljn7ijt" fileName="buttons/Btn_Normol.xml" pkg="27vd145b" xy="1904,1020" size="409,133" group="n111_tki6">
<relation target="" sidePair="center-center"/>
<Button icon="ui://27vd145bdqel7j5l"/>
</component>
<component id="n109_nlef" name="btn_xipai" src="mljn7ijt" fileName="buttons/Btn_Normol.xml" pkg="27vd145b" xy="1698,1018" size="696,145" group="n111_tki6" visible="false">
<component id="n109_nlef" name="btn_xipai" src="mljn7ijt" fileName="buttons/Btn_Normol.xml" pkg="27vd145b" xy="1922,1020" size="375,133" group="n111_tki6" visible="false">
<gearDisplay controller="xipai" pages="1"/>
<relation target="" sidePair="center-center"/>
<Button icon="ui://27vd145bdqel7j5k"/>
</component>
<group id="n111_tki6" name="n111" xy="1715,1018" size="696,145" group="n28_xhvg" advanced="true">
<group id="n111_tki6" name="n111" xy="1904,1020" size="409,133" group="n28_xhvg" advanced="true">
<gearDisplay controller="button" pages="0"/>
</group>
<group id="n28_xhvg" name="n28" xy="1188,992" size="1331,178" group="n24_gfyh" advanced="true">
<group id="n28_xhvg" name="n28" xy="778,767" size="1535,386" group="n24_gfyh" advanced="true">
<gearDisplay controller="over" pages="0"/>
</group>
<component id="n63_uwvl" name="btn_maima" src="gq7mdk" fileName="component/clearing/room/btn_invite(1).xml" xy="1745,863" size="94,29" group="n65_uwvl">
<component id="n63_uwvl" name="btn_maima" src="gq7mdk" fileName="component/clearing/room/btn_invite(1).xml" xy="1808,865" size="94,29" group="n65_uwvl">
<gearDisplay controller="matype" pages="1"/>
<relation target="" sidePair="center-center"/>
<Button icon="ui://v0j9abjygq7mdc"/>
</component>
<component id="n64_uwvl" name="btn_jiangma" src="gq7mdk" fileName="component/clearing/room/btn_invite(1).xml" xy="1462,865" size="626,185" group="n65_uwvl">
<component id="n64_uwvl" name="btn_jiangma" src="gq7mdk" fileName="component/clearing/room/btn_invite(1).xml" xy="1525,867" size="626,185" group="n65_uwvl">
<gearDisplay controller="matype" pages="1"/>
<relation target="" sidePair="center-center"/>
<Button icon="ui://v0j9abjygq7mdb"/>
</component>
<component id="n103_e0b9" name="btn_fama" src="gq7mdk" fileName="component/clearing/room/btn_invite(1).xml" xy="1745,863" size="626,185" group="n65_uwvl">
<component id="n103_e0b9" name="btn_fama" src="gq7mdk" fileName="component/clearing/room/btn_invite(1).xml" xy="1808,865" size="626,185" group="n65_uwvl">
<gearDisplay controller="matype" pages="1"/>
<relation target="" sidePair="center-center"/>
<Button icon="ui://v0j9abjygq7mdg"/>
</component>
<group id="n65_uwvl" name="n65" xy="1623,863" size="909,187" group="n24_gfyh" advanced="true">
<group id="n65_uwvl" name="n65" xy="1525,865" size="909,187" group="n24_gfyh" advanced="true">
<gearDisplay controller="over" pages="0"/>
</group>
<group id="n24_gfyh" name="btns" xy="1188,863" size="1343,307" group="n29_10imx" advanced="true">
<gearXY controller="over" pages="0,1" values="1188,863|198,638"/>
<group id="n24_gfyh" name="btns" xy="778,767" size="1656,386" group="n29_10imx" advanced="true">
<gearXY controller="over" pages="0,1" values="778,767|231,638"/>
</group>
<group id="n29_10imx" name="n29" xy="0,0" size="2532,1170" advanced="true">
<group id="n29_10imx" name="n29" xy="97,2" size="2337,1151" advanced="true">
<gearDisplay controller="over" pages="0"/>
<relation target="" sidePair="center-center"/>
</group>

View File

@ -2,9 +2,9 @@
<component size="2532,1172" designImage="ui://3vytbifonu0l2f" designImageOffsetX="-200" designImageOffsetY="-100">
<controller name="state" pages="0,准备状态,1,游戏状态,2,回合间状态,3,回放状态" selected="3"/>
<controller name="sdk" pages="0,,1," selected="0"/>
<controller name="action" pages="2,空,0,准备,1,开始" selected="2"/>
<controller name="jushu" pages="0,,1," selected="1"/>
<controller name="bg_state" pages="0,,1,,2," selected="2"/>
<controller name="action" pages="2,空,0,准备,1,开始" selected="0"/>
<controller name="jushu" pages="0,,1," selected="0"/>
<controller name="bg_state" pages="0,,1,,2," selected="0"/>
<displayList>
<image id="n196_h5b1" name="n196" src="mrlrt1" fileName="image/MRBMui/image 656.png" xy="875,0" size="782,101"/>
<text id="n205_e5js" name="text_playName" xy="1268,504" pivot="0.5,0" size="0,124" font="ui://27vd145bu50h7j1a" fontSize="120" autoClearText="true" text="fffffffffdddd"/>
@ -15,7 +15,7 @@
<gearDisplay controller="state" pages="0,1,2"/>
<relation target="" sidePair="left-left,top-top%"/>
</component>
<text id="n176_fgao" name="di_text" xy="52,20" size="504,62" group="n150_8th3" font="ui://27vd145bik9v7imf" fontSize="46" color="#367c7d" vAlign="middle" autoSize="shrink" text="玩法名称">
<text id="n176_fgao" name="di_text" xy="52,20" size="504,62" group="n150_8th3" font="ui://27vd145bik9v7imf" fontSize="46" color="#ffffff" vAlign="middle" autoSize="shrink" text="玩法名称">
<gearDisplay controller="state" pages="0,1,2"/>
<gearColor controller="bg_state" pages="0,1" values="#ffffff,#296137|#655c6a,#322e34" default="#367c7d,#235557"/>
<relation target="" sidePair="rightext-left,topext-top,bottomext-top,leftext-left"/>
@ -134,7 +134,9 @@
<group id="n183_yfzf" name="n183" xy="582,21" size="1894,625" advanced="true">
<relation target="" sidePair=""/>
</group>
<component id="n193_syh3" name="btn_safe" src="syh3rj" fileName="component/Main/btn_safe.xml" xy="2359,21" size="116,116"/>
<component id="n193_syh3" name="btn_safe" src="syh3rj" fileName="component/Main/btn_safe.xml" xy="2359,21" size="116,116">
<gearDisplay controller="state" pages="0,1,2,3"/>
</component>
</displayList>
<transition name="outcard1">
<item time="0" type="XY" target="n153_8th3" tween="true" startValue="625.3,86.3" endValue="239,261" duration="12"/>

View File

@ -20,7 +20,7 @@
</list>
<component id="n50_n1ry" name="mask_liangpai" src="peuq59" fileName="component/Component1.xml" xy="200,83" size="5,5"/>
<component id="n25" name="area_outcard_list" src="peuq59" fileName="component/Component1.xml" xy="289,-46" size="100,100"/>
<component id="n51_n7o4" name="area_handcard_list" src="peuq59" fileName="component/Component1.xml" xy="6,680" size="717,533" touchable="false"/>
<component id="n51_n7o4" name="area_handcard_list" src="peuq59" fileName="component/Component1.xml" xy="1300,318" size="717,533" touchable="false"/>
</displayList>
<transition name="t0">
<item time="0" type="XY" target="n25" tween="true" startValue="-63,105" endValue="121.45,295" duration="4"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 892 KiB

After

Width:  |  Height:  |  Size: 705 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 929 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1011 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB