完成交互逻辑

This commit is contained in:
2025-05-20 00:22:31 +08:00
parent 84d13e8981
commit b0abc1c30a
63 changed files with 42664 additions and 42166 deletions

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="120,26" extention="Label">
<displayList>
<text id="n12_tmu8" name="title" xy="0,0" size="120,26" fontSize="17" color="#ffffff" align="center" autoSize="ellipsis" text="title">
<relation target="" sidePair="width-width,height-height"/>
</text>
</displayList>
</component>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -47,6 +47,27 @@
<image id="cvcwfe" name="Square_1.png" path="/Images/Shapes/Square/" exported="true" scale="9grid" scale9grid="1,1,2,2"/>
<image id="jgrjff" name="Loading_2.png" path="/Images/" exported="true"/>
<image id="jgrjfg" name="Loading_1.png" path="/Images/" exported="true"/>
<image id="tmu81f" name="暴雨.png" path="/Icon/天气/" exported="true"/>
<image id="tmu819" name="大风.png" path="/Icon/天气/" exported="true"/>
<image id="tmu81c" name="大雾白天.png" path="/Icon/天气/" exported="true"/>
<image id="tmu815" name="大雪.png" path="/Icon/天气/" exported="true"/>
<image id="tmu81e" name="大雨.png" path="/Icon/天气/" exported="true"/>
<image id="tmu81b" name="多云白天.png" path="/Icon/天气/" exported="true"/>
<image id="tmu818" name="风力.png" path="/Icon/天气/" exported="true"/>
<image id="tmu816" name="雷暴.png" path="/Icon/天气/" exported="true"/>
<image id="tmu81a" name="晴天白天.png" path="/Icon/天气/" exported="true"/>
<image id="tmu817" name="微风.png" path="/Icon/天气/" exported="true"/>
<image id="tmu81g" name="阵雨.png" path="/Icon/天气/" exported="true"/>
<image id="tmu814" name="中雪.png" path="/Icon/天气/" exported="true"/>
<image id="tmu81d" name="中雨.png" path="/Icon/天气/" exported="true"/>
<image id="fcfgfh" name="op-use.png" path="/Icon/交互/" exported="true"/>
<image id="fcfgfi" name="op-fire.png" path="/Icon/交互/" exported="true"/>
<image id="fcfgfj" name="op-tent.png" path="/Icon/交互/" exported="true"/>
<image id="fcfgfk" name="op-door.png" path="/Icon/交互/" exported="true"/>
<image id="fcfgfl" name="op-boat.png" path="/Icon/交互/" exported="true"/>
<component id="tmu81k" name="TextTag.xml" path="/Com/" exported="true"/>
<component id="fcfgfm" name="TextCenterTag.xml" path="/Com/" exported="true"/>
<image id="fcfgfn" name="op-bank.png" path="/Icon/交互/" exported="true"/>
</resources>
<publish name="" path="../Assets/Resources/Fgui/Common" packageCount="2" genCode="true"/>
</packageDescription>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="850,74" extention="Label" designImage="ui://682kb9n0tmu81i" designImageOffsetX="-536" designImageOffsetY="-1019" designImageAlpha="10">
<displayList>
<component id="n26_o0hz" name="Power" src="o0hz1n" fileName="Com/FishingPower.xml" xy="0,45">
<relation target="" sidePair="center-center,bottom-bottom"/>
</component>
<text id="n27_o0hz" name="TextTitle" xy="0,18" size="138,25" fontSize="17" color="#ffffff" text="准备好,可以抛竿">
<relation target="n26_o0hz" sidePair="left-left,top-top"/>
</text>
</displayList>
</component>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="80,115" extention="Label">
<displayList>
<image id="n30_fcfg" name="n30" src="o0hzeq" fileName="Images/Shapes/Circle/Circle - 256.png" pkg="6hgkvlau" xy="0,0" size="80,80" alpha="0.3"/>
<image id="n32_fcfg" name="n32" src="o0hzex" fileName="Images/Shapes/Rounded/Rounded - Stroke 8px.png" pkg="6hgkvlau" xy="0,0" size="80,80"/>
<loader id="n35_fcfg" name="icon" xy="10,10" size="60,60" url="ui://6hgkvlaufcfgfk" align="center" vAlign="middle" fill="scale"/>
<text id="n37_fcfg" name="title" xy="8,82" pivot="0.5,0.5" size="63,29" font="ui://6hgkvlaugkm7w" fontSize="20" color="#ffffff" align="center" vAlign="middle" text="取款机"/>
<list id="n38_fcfg" name="List" xy="-57,118" size="200,107" touchable="false" overflow="scroll" defaultItem="ui://6hgkvlaufcfgfm" align="center">
<item title="E - 进入"/>
<item title="Y - 退货"/>
</list>
</displayList>
</component>

View File

@@ -3,9 +3,9 @@
<displayList>
<text id="n7_tmu8" name="TextTime" xy="19,113" pivot="1,0" size="67,33" font="ui://6hgkvlaugkm7w" fontSize="23" color="#ffffff" align="right" text="07:24"/>
<text id="n8_tmu8" name="TextTemperature" xy="95,113" size="61,33" font="ui://6hgkvlaugkm7w" fontSize="23" color="#ffffff" text="12.7°"/>
<loader id="n11_tmu8" name="IconWeather" xy="45,17" size="90,90" url="ui://682kb9n0tmu81a" align="center" vAlign="middle" fill="scale"/>
<loader id="n11_tmu8" name="IconWeather" xy="45,17" size="90,90" url="ui://6hgkvlautmu81a" align="center" vAlign="middle" fill="scale"/>
<graph id="n12_tmu8" name="n12" xy="90,114" size="1,30" type="rect" lineSize="0"/>
<loader id="n13_tmu8" name="IconWind" xy="37,147" size="22,22" group="n16_tmu8" url="ui://682kb9n0tmu818" align="center" vAlign="middle" fill="scale"/>
<loader id="n13_tmu8" name="IconWind" xy="37,147" size="22,22" group="n16_tmu8" url="ui://6hgkvlautmu818" align="center" vAlign="middle" fill="scale"/>
<text id="n14_tmu8" name="TextWindDir" xy="60,146" size="22,24" group="n16_tmu8" fontSize="16" color="#ffffff" text="SE"/>
<text id="n15_tmu8" name="TextWind" xy="83,146" size="61,24" group="n16_tmu8" fontSize="16" color="#ffffff" text="2米每秒"/>
<group id="n16_tmu8" name="n16" xy="37,146" size="107,24" advanced="true" layout="hz" colGap="1" excludeInvisibles="true"/>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<component size="1920,1080" designImage="ui://682kb9n0tmu81i" designImageAlpha="100">
<component size="1920,1080" designImage="ui://682kb9n0tmu81i" designImageAlpha="5">
<controller name="throwCtrl" pages="0,,1,show" selected="0"/>
<controller name="fishingState" alias="状态" pages="0,默认,1,抛竿中,2,钓鱼中" selected="0"/>
<displayList>
<component id="n2_8b5t" name="ThrowProgress" src="8b5t0" fileName="Com/ThrowProgressBar.xml" xy="670,969" size="580,30">
<gearDisplay controller="throwCtrl" pages="1"/>
@@ -13,7 +14,7 @@
<component id="n7_tmu8" name="TextTime" src="tmu81h" fileName="Com/WeatherInfo.xml" xy="1739,0">
<relation target="" sidePair="right-right,top-top"/>
</component>
<list id="n13_tmu8" name="n13" xy="106,16" size="128,81" overflow="scroll" defaultItem="ui://682kb9n0tmu81k">
<list id="n13_tmu8" name="n13" xy="106,16" size="128,81" overflow="scroll" defaultItem="ui://6hgkvlautmu81k">
<item title="控制面板 - Esc"/>
<item title="帮助 - F1"/>
<item title="聊天 - Q"/>
@@ -21,9 +22,11 @@
<component id="n15_tmu8" name="n15" src="tmu81l" fileName="Com/HudItem.xml" xy="16,16">
<Button icon="ui://682kb9n0tmu81c"/>
</component>
<component id="n26_o0hz" name="n26" src="o0hz1n" fileName="Com/FishingPower.xml" xy="534,1047">
<component id="n26_o0hz" name="FishingState" src="fcfg1o" fileName="Com/FishingStateInfo.xml" xy="534,1000">
<relation target="" sidePair="center-center,bottom-bottom"/>
</component>
<text id="n27_o0hz" name="n27" xy="534,1018" size="171,25" fontSize="17" color="#ffffff" text="钓具准备好,可以抛竿"/>
<component id="n29_fcfg" name="Interactive" src="fcfg1p" fileName="Com/InteractiveTag.xml" xy="920,482" visible="false">
<relation target="" sidePair="center-center,middle-middle"/>
</component>
</displayList>
</component>

View File

@@ -10,25 +10,13 @@
<component id="jgpto" name="Progress.xml" path="/Com/"/>
<component id="jgptp" name="PlayerInfo1.xml" path="/Com/"/>
<component id="tmu8q" name="SightTag.xml" path="/"/>
<image id="tmu814" name="中雪.png" path="/images/" exported="true"/>
<image id="tmu815" name="大雪.png" path="/images/" exported="true"/>
<image id="tmu816" name="雷暴.png" path="/images/" exported="true"/>
<image id="tmu817" name="微风.png" path="/images/" exported="true"/>
<image id="tmu818" name="风力.png" path="/images/" exported="true"/>
<image id="tmu819" name="大风.png" path="/images/" exported="true"/>
<image id="tmu81a" name="晴天白天.png" path="/images/" exported="true"/>
<image id="tmu81b" name="多云白天.png" path="/images/" exported="true"/>
<image id="tmu81c" name="大雾白天.png" path="/images/" exported="true"/>
<image id="tmu81d" name="中雨.png" path="/images/" exported="true"/>
<image id="tmu81e" name="大雨.png" path="/images/" exported="true"/>
<image id="tmu81f" name="暴雨.png" path="/images/" exported="true"/>
<image id="tmu81g" name="阵雨.png" path="/images/" exported="true"/>
<component id="tmu81h" name="WeatherInfo.xml" path="/Com/"/>
<image id="tmu81i" name="766570_19.jpg" path="/参考/"/>
<component id="tmu81k" name="TextTag.xml" path="/Com/"/>
<component id="tmu81l" name="HudItem.xml" path="/Com/"/>
<component id="o0hz1m" name="Component1.xml" path="/Com/"/>
<component id="o0hz1n" name="FishingPower.xml" path="/Com/"/>
<component id="fcfg1o" name="FishingStateInfo.xml" path="/Com/"/>
<component id="fcfg1p" name="InteractiveTag.xml" path="/Com/" exported="true"/>
</resources>
<publish name="" path="../Assets/Resources/Fgui/Fishing" packageCount="2" genCode="true"/>
</packageDescription>

View File

@@ -0,0 +1 @@
{"url":"ui://682kb9n0fcfg1o","name":"FishingStateInfo","scriptType":"component","isCustomName":false,"customName":"","annotation":"","member":{}}

View File

@@ -0,0 +1 @@
{"url":"ui://682kb9n0fcfg1p","name":"InteractiveTag","scriptType":"component","isCustomName":false,"customName":"","annotation":"","member":{}}