Browse Source

增加开始按钮@HUD

大爷 1 year ago
parent
commit
801e431c2c
4 changed files with 14 additions and 0 deletions
  1. 1 0
      assets/HUD/HUD.xml
  2. BIN
      assets/HUD/btn.png
  3. 11 0
      assets/HUD/btn_start.xml
  4. 2 0
      assets/HUD/package.xml

+ 1 - 0
assets/HUD/HUD.xml

@@ -43,6 +43,7 @@
     <image id="n48_u5ep" name="n48" src="hp1l8x" fileName="电池.png" xy="601,76" size="80,80" aspect="true"/>
     <image id="n49_u5ep" name="n49" src="hp1l94" fileName="炸弹.png" xy="765,70" size="80,80" aspect="true"/>
     <image id="n50_u5ep" name="n50" src="hp1l8u" fileName="宝箱.png" xy="930,70" size="80,80" aspect="true"/>
+    <component id="n51_u07d" name="btn_start" src="u07d9o" fileName="btn_start.xml" xy="563,1596" pivot="0.5,0.5" anchor="true" visible="false"/>
   </displayList>
   <Button downEffect="dark" downEffectValue=".71"/>
 </component>

BIN
assets/HUD/btn.png


+ 11 - 0
assets/HUD/btn_start.xml

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="336,128" pivot="0.5,0.5" extention="Button">
+  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
+  <displayList>
+    <image id="n3_px1c" name="n3" src="u07d9p" fileName="btn.png" xy="0,64" pivot="0,0.5" anchor="true"/>
+    <text id="n2_pdjl" name="title" xy="0,0" size="332,128" font="Microsoft YaHei" fontSize="50" color="#ffffff" align="center" vAlign="middle" autoSize="none" bold="true" strokeColor="#0044cc" outlineSoftness="0.1" singleLine="true" text="Start">
+      <relation target="" sidePair="width-width,height-height"/>
+    </text>
+  </displayList>
+  <Button downEffect="scale" downEffectValue=".8"/>
+</component>

+ 2 - 0
assets/HUD/package.xml

@@ -51,6 +51,8 @@
     <component id="mqh59j" name="ProgressBar4.xml" path="/"/>
     <component id="mqh59k" name="CompMsg.xml" path="/"/>
     <image id="u5ep9l" name="能力药丸.png" path="/"/>
+    <component id="u07d9o" name="btn_start.xml" path="/"/>
+    <image id="u07d9p" name="btn.png" path="/"/>
   </resources>
   <publish name=""/>
 </packageDescription>