2
0
Fork 0

hud调整

master
cd 2 years ago
parent 0707efb002
commit f51a3368ad

@ -10,6 +10,8 @@ namespace Game.Battle
public Controller m_showInteract; public Controller m_showInteract;
public Controller m_showMonsterInfo; public Controller m_showMonsterInfo;
public Controller m_showLevelName; public Controller m_showLevelName;
public GGraph m_n18;
public GGraph m_n19;
public Viewc_Player m_UI_Player; public Viewc_Player m_UI_Player;
public Viewc_Interact m_n13; public Viewc_Interact m_n13;
public Viewc_Monster m_UI_Monster; public Viewc_Monster m_UI_Monster;
@ -33,6 +35,8 @@ namespace Game.Battle
m_showInteract = this.GetController("showInteract"); m_showInteract = this.GetController("showInteract");
m_showMonsterInfo = this.GetController("showMonsterInfo"); m_showMonsterInfo = this.GetController("showMonsterInfo");
m_showLevelName = this.GetController("showLevelName"); m_showLevelName = this.GetController("showLevelName");
m_n18 = (GGraph)this.GetChild("n18");
m_n19 = (GGraph)this.GetChild("n19");
m_UI_Player = (Viewc_Player)this.GetChild("UI_Player"); m_UI_Player = (Viewc_Player)this.GetChild("UI_Player");
m_n13 = (Viewc_Interact)this.GetChild("n13"); m_n13 = (Viewc_Interact)this.GetChild("n13");
m_UI_Monster = (Viewc_Monster)this.GetChild("UI_Monster"); m_UI_Monster = (Viewc_Monster)this.GetChild("UI_Monster");

@ -4,7 +4,9 @@
<graph id="n0_i12r" name="n0" xy="0,0" size="200,30" type="rect" lineSize="0" lineColor="#ffa0a0a0" fillColor="#ff0f0f0f"> <graph id="n0_i12r" name="n0" xy="0,0" size="200,30" type="rect" lineSize="0" lineColor="#ffa0a0a0" fillColor="#ff0f0f0f">
<relation target="" sidePair="width-width,height-height"/> <relation target="" sidePair="width-width,height-height"/>
</graph> </graph>
<graph id="n1_i12r" name="bar" xy="0,0" size="200,30" type="rect" lineSize="0" fillColor="#ffff0000"/> <graph id="n1_i12r" name="bar" xy="0,0" size="200,30" type="rect" lineSize="0" fillColor="#ffff0000">
<relation target="" sidePair="width-width,height-height"/>
</graph>
</displayList> </displayList>
<ProgressBar/> <ProgressBar/>
</component> </component>

@ -1,21 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<component size="480,164"> <component size="480,164">
<displayList> <displayList>
<image id="n2_i12r" name="p_head" src="i12r1y" fileName="_Res/headbg.png" xy="5,54" size="102,97"/> <image id="n2_i12r" name="p_head" src="i12r1y" fileName="_Res/headbg.png" xy="6,16" size="102,97"/>
<component id="n3_i12r" name="bar_blood" src="i12r1z" fileName="Hud/Comp/bloodBarPlayer.xml" xy="121,121"> <component id="n3_i12r" name="bar_blood" src="i12r1z" fileName="Hud/Comp/bloodBarPlayer.xml" xy="126,44" size="227,16">
<relation target="n2_i12r" sidePair="left-right,bottom-bottom"/> <relation target="n2_i12r" sidePair="left-right,bottom-bottom"/>
<ProgressBar value="79" max="100"/> <ProgressBar value="79" max="100"/>
</component> </component>
<text id="n5_i12r" name="t_blood" xy="351,120" size="44,31" fontSize="24" color="#ffffff" vAlign="middle" text="800"> <text id="n5_i12r" name="t_blood" xy="363,38" size="44,31" fontSize="24" color="#ffffff" vAlign="middle" autoSize="none" text="800">
<relation target="n3_i12r" sidePair="left-right,bottom-bottom"/> <relation target="n3_i12r" sidePair="left-right,bottom-bottom"/>
</text> </text>
<text id="n6_i12r" name="t_div" xy="399,120" size="12,31" fontSize="24" color="#ffffff" text="/"> <text id="n6_i12r" name="t_div" xy="411,38" size="12,31" fontSize="24" color="#ffffff" autoSize="none" text="/">
<relation target="n5_i12r" sidePair="left-right,bottom-bottom"/> <relation target="n5_i12r" sidePair="left-right,bottom-bottom"/>
</text> </text>
<text id="n7_i12r" name="t_bloodThrough" xy="414,120" size="57,31" fontSize="24" color="#ffffff" vAlign="middle" text="1000"> <text id="n7_i12r" name="t_bloodThrough" xy="426,38" size="57,31" fontSize="24" color="#ffffff" vAlign="middle" autoSize="none" text="1000">
<relation target="n6_i12r" sidePair="left-right,bottom-bottom"/> <relation target="n6_i12r" sidePair="left-right,bottom-bottom"/>
</text> </text>
<list id="n8_n7tf" name="buff" xy="121,91" size="348,26" layout="row" selectionMode="none" overflow="scroll" colGap="4" defaultItem="ui://2qo7xpdcn7tf39" vAlign="bottom"> <list id="n8_n7tf" name="buff" xy="7,124" size="348,26" layout="row" selectionMode="none" overflow="scroll" colGap="4" defaultItem="ui://2qo7xpdcn7tf39" vAlign="bottom">
<item/> <item/>
<item/> <item/>
<item/> <item/>

@ -1,16 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<component size="1920,1080"> <component size="1920,1080">
<controller name="showInteract" pages="0,,1," selected="0"/> <controller name="showInteract" pages="0,,1," selected="0"/>
<controller name="showMonsterInfo" pages="0,,1," selected="1"/> <controller name="showMonsterInfo" pages="0,,1," selected="0"/>
<controller name="showLevelName" pages="0,,1," selected="1"/> <controller name="showLevelName" pages="0,,1," selected="0"/>
<displayList> <displayList>
<component id="n3_i12r" name="UI_Player" src="i12r1w" fileName="Hud/Comp/c_Player.xml" xy="44,848" size="436,164"> <graph id="n18_ccl2" name="n18" xy="0,0" size="1920,100" group="n20_ccl2" type="rect" lineSize="0" fillColor="#ff000000"/>
<graph id="n19_ccl2" name="n19" xy="0,980" size="1920,100" group="n20_ccl2" type="rect" lineSize="0" fillColor="#ff000000"/>
<group id="n20_ccl2" name="n20" xy="0,0" size="1920,1080"/>
<component id="n3_i12r" name="UI_Player" src="i12r1w" fileName="Hud/Comp/c_Player.xml" xy="133,16" size="436,164">
<relation target="" sidePair="left-left,bottom-bottom"/> <relation target="" sidePair="left-left,bottom-bottom"/>
</component> </component>
<component id="n13_uoqe" name="n13" src="uoqe2f" fileName="Hud/Comp/c_Interact.xml" xy="910,938" alpha="0"> <component id="n13_uoqe" name="n13" src="uoqe2f" fileName="Hud/Comp/c_Interact.xml" xy="910,938" alpha="0">
<gearLook controller="showInteract" pages="0" values="0,0,0,1" default="1,0,0,1" tween="true" duration="0.1"/> <gearLook controller="showInteract" pages="0" values="0,0,0,1" default="1,0,0,1" tween="true" duration="0.1"/>
</component> </component>
<component id="n15_n7tf" name="UI_Monster" src="n7tf38" fileName="Hud/Comp/c_Monster.xml" xy="710,29"> <component id="n15_n7tf" name="UI_Monster" src="n7tf38" fileName="Hud/Comp/c_Monster.xml" xy="710,29" alpha="0">
<gearLook controller="showMonsterInfo" pages="0" values="0,0,0,1" default="1,0,0,1" tween="true" duration="0.1"/> <gearLook controller="showMonsterInfo" pages="0" values="0,0,0,1" default="1,0,0,1" tween="true" duration="0.1"/>
</component> </component>
<component id="n17_klx9" name="UI_LevelName" src="klx943" fileName="Hud/Comp/c_LevelName.xml" xy="419,247"> <component id="n17_klx9" name="UI_LevelName" src="klx943" fileName="Hud/Comp/c_LevelName.xml" xy="419,247">

Loading…
Cancel
Save