调节出牌动画的大小

master
1076390229 2026-03-12 21:37:33 +08:00
parent 56cfd3a4e6
commit 109c558f72
6 changed files with 24 additions and 24 deletions

View File

@ -532,7 +532,6 @@ function M:UpdateOutLine()
elseif self:getCardSize() == 2 then
self._data_outLinePos = 110 - (195 * 3)
end
print("输出高度位置===="..self._data_outLinePos.."="..self._area_handcard_list.height)
self._view_outLine.y = self._data_outLinePos + self._area_handcard_list.height - 60
end

View File

@ -3,7 +3,10 @@
"libview.iconScale": 0,
"doc.openedDocs": [
"ui://lkq9ne9speuq8b",
"ui://lkq9ne9speuq6p",
"ui://lkq9ne9speuq5a",
"ui://lkq9ne9speuq59",
"ui://lkq9ne9speuq9f",
"ui://lkq9ne9speuq9g",
"ui://lkq9ne9speuqcv",
"ui://lkq9ne9speuqc6",
@ -16,7 +19,7 @@
"test.device": "Huawei Mate20",
"canvasColor": 10066329,
"auxline2": true,
"doc.activeDoc": "ui://lkq9ne9speuq8b",
"doc.activeDoc": "ui://lkq9ne9speuq6p",
"libview.twoColumn": false,
"libview.expandedNodes": [
"27vd145b",

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="2532,500" opaque="false" initName="player_card_info">
<component size="2532,1170" opaque="false" initName="player_card_info">
<controller name="chupai" pages="0,,1," selected="0"/>
<controller name="piao" pages="0,,1,,3,,4," selected="0"/>
<controller name="piaovalue" pages="0,0,1,1,2,2,3,3,4,5,5,8" selected="0"/>
@ -8,21 +8,19 @@
<list id="n36_lr5d" name="windcard_list" xy="2494,215" size="283,81" rotation="180" layout="flow_hz" lineGap="1" colGap="1" defaultItem="ui://lkq9ne9speuq2">
<relation target="" sidePair="right-right"/>
</list>
<list id="n35_lr5d" name="area_fz_list" xy="1068,-469" pivot="0.5,0.5" size="416,231" rotation="180" layout="row" selectionMode="none" lineGap="3" colGap="18" defaultItem="ui://v6yvqp7wlr5d30" align="right" vAlign="middle" autoClearItems="true">
<list id="n35_lr5d" name="area_fz_list" xy="1068,201" pivot="0.5,0.5" size="416,231" rotation="180" layout="row" selectionMode="none" lineGap="3" colGap="18" defaultItem="ui://v6yvqp7wlr5d30" align="right" vAlign="middle" autoClearItems="true">
<relation target="" sidePair="rightext-left,topext-bottom,bottomext-bottom,leftext-left"/>
<item/>
<item/>
</list>
<component id="n25" name="area_handcard_list" src="peuq59" fileName="component/Component1.xml" xy="447,351" size="1698,148">
<component id="n25" name="area_handcard_list" src="peuq59" fileName="component/Component1.xml" xy="447,1021" size="1698,148">
<relation target="" sidePair="center-center,bottom-bottom"/>
</component>
<component id="n37_n1ry" name="mask_liangpai" src="peuq59" fileName="component/Component1.xml" xy="868,-91" size="5,5"/>
<component id="n38_ey1o" name="n38" src="peuq5b" fileName="component/Main/component/PromptOutCard.xml" xy="16,-177" size="1577,5">
<gearDisplay controller="chupai" pages="1"/>
</component>
<component id="n27" name="area_outcard_list" src="peuq59" fileName="component/Component1.xml" xy="1154,-838" size="218,155">
<relation target="n35_lr5d" sidePair="right-right"/>
</component>
<component id="n27" name="area_outcard_list" src="peuq59" fileName="component/Component1.xml" xy="1178,-751" size="100,100" touchable="false"/>
<component id="n39_j34t" name="piao0" src="peuq5f" fileName="component/piao/btn_nopiao.xml" xy="668,-20" group="n45_j34t">
<gearDisplay controller="piao" pages="1,3,4"/>
<Button controller="piaovalue" page="0"/>

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="200,750" opaque="false" initName="player_card_info">
<component size="2532,1170" opaque="false" initName="player_card_info">
<displayList>
<list id="n47_lr5d" name="area_fz_list" xy="84,31" pivot="0.5,0.5" size="713,268" rotation="180" layout="row" scroll="horizontal" colGap="18" align="right" vAlign="bottom"/>
<list id="n48_lr5d" name="windcard_list" xy="84,-46" size="535,530" layout="flow_hz" selectionMode="none" scroll="horizontal" lineGap="1" colGap="1" defaultItem="ui://v6yvqp7wf55qvw" vAlign="bottom"/>
<list id="n48_lr5d" name="windcard_list" xy="84,-86" size="535,530" layout="flow_hz" selectionMode="none" scroll="horizontal" lineGap="1" colGap="1" defaultItem="ui://v6yvqp7wf55qvw" vAlign="bottom"/>
<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="748,79" size="930,319" touchable="false"/>
<component id="n25" name="area_outcard_list" src="peuq59" fileName="component/Component1.xml" xy="869,140" size="100,100" touchable="false"/>
<component id="n51_n7o4" name="area_handcard_list" src="peuq59" fileName="component/Component1.xml" xy="227,230" size="717,533" touchable="false"/>
</displayList>
<transition name="t0">

View File

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="164,486">
<component size="147,437">
<displayList>
<image id="n2_ddb9" name="show_di_bg" src="peuqa" fileName="component/cards/zipai_di_bg.png" xy="-58,-56" size="272,622">
<image id="n2_ddb9" name="show_di_bg" src="peuqa" fileName="component/cards/zipai_di_bg.png" xy="-51,-50" size="243,559">
<relation target="n1_wyal" sidePair="width-width%,height-height%,center-center%,middle-middle%"/>
</image>
<loader id="n1_wyal" name="icon" xy="0,0" size="164,486" url="ui://lkq9ne9speuqb" fill="scale" clearOnPublish="true"/>
<loader id="n1_wyal" name="icon" xy="0,0" size="147,437" url="ui://lkq9ne9speuqb" fill="scale" clearOnPublish="true"/>
</displayList>
<transition name="mopai1">
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="15,44" endValue="162.439,481.374" duration="7"/>
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="15,44" endValue="148.076,438.809" duration="7"/>
<item time="0" type="Size" target="n2_ddb9" value="-,-"/>
<item time="0" type="XY" target="n1_wyal" tween="true" startValue="-365,-40" endValue="0,-1" duration="7"/>
<item time="0" type="XY" target="n2_ddb9" value="-,-"/>
@ -15,7 +15,7 @@
<item time="7" type="XY" target="n2_ddb9" value="-,-"/>
</transition>
<transition name="mopai2">
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="15,44" endValue="162.22,480.724" duration="7"/>
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="15,44" endValue="146.63,434.524" duration="7"/>
<item time="0" type="Size" target="n2_ddb9" value="-,-"/>
<item time="0" type="XY" target="n1_wyal" tween="true" startValue="300,50" endValue="0,0" duration="7"/>
<item time="0" type="XY" target="n2_ddb9" value="-,-"/>
@ -23,7 +23,7 @@
<item time="7" type="XY" target="n2_ddb9" value="-,-"/>
</transition>
<transition name="mopai3">
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="15,44" endValue="162.22,480.724" duration="7"/>
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="15,44" endValue="145.626,431.55" duration="7"/>
<item time="0" type="Size" target="n2_ddb9" value="-,-"/>
<item time="0" type="XY" target="n1_wyal" tween="true" startValue="300,0" endValue="0,0" duration="7"/>
<item time="0" type="XY" target="n2_ddb9" value="-,-"/>
@ -31,25 +31,25 @@
<item time="7" type="XY" target="n2_ddb9" value="-,-"/>
</transition>
<transition name="cpai1">
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="17,44" endValue="163.129,483.418" duration="7"/>
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="17,44" endValue="146.441,433.963" duration="7"/>
<item time="0" type="XY" target="n1_wyal" tween="true" startValue="240,100" endValue="0,0" duration="7"/>
</transition>
<transition name="cpai2">
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="17,44" endValue="162.731,482.239" duration="7"/>
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="17,44" endValue="148.163,439.069" duration="7"/>
<item time="0" type="XY" target="n1_wyal" tween="true" startValue="-180,280" endValue="0,0" duration="7"/>
</transition>
<transition name="cpai3">
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="17,44" endValue="166.018,491.981" duration="7"/>
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="17,44" endValue="145.577,431.406" duration="7"/>
<item time="0" type="XY" target="n1_wyal" tween="true" startValue="-189,149" endValue="0,0" duration="7"/>
</transition>
<transition name="mopai4">
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="17,44" endValue="163.129,483.418" duration="5"/>
<item time="0" type="Size" target="n2_ddb9" tween="true" startValue="31.2,56.19" endValue="275.588,632.231" duration="5"/>
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="17,44" endValue="145.112,430.025" duration="5"/>
<item time="0" type="Size" target="n2_ddb9" tween="true" startValue="31.2,56.19" endValue="240.996,552.874" duration="5"/>
<item time="0" type="XY" target="n1_wyal" tween="true" startValue="-250,0" endValue="0,0" duration="5"/>
<item time="0" type="XY" target="n2_ddb9" tween="true" startValue="-258,-5" endValue="-61,-62" duration="5"/>
<item time="0" type="XY" target="n2_ddb9" tween="true" startValue="-258,-5" endValue="-56.266,-51.14" duration="5"/>
</transition>
<transition name="cpai4">
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="17,44" endValue="163.287,483.887" duration="4"/>
<item time="0" type="Size" target="n1_wyal" tween="true" startValue="17,44" endValue="147.204,436.228" duration="4"/>
<item time="0" type="XY" target="n1_wyal" tween="true" startValue="295,252" endValue="0,0" duration="4"/>
</transition>
<transition name="qipai1">