Browse Source

增加一个简单的loading

大爷 2 years ago
parent
commit
289649218d

+ 8 - 7
FGUIProject/assets/Loading/Loading.xml

@@ -1,12 +1,13 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="1920,1080" bgColor="#666666">
+<component size="900,1600" bgColor="#666666">
   <displayList>
-    <image id="n2_8nuw" name="n2" src="rfuv4" fileName="LobbyBck.png" xy="0,-3" size="1920,1083">
-      <relation target="" sidePair="width-width,height-height"/>
+    <image id="n6_fx9l" name="circle" src="fx9l7" fileName="UIMajorCity_48.PNG" xy="427,759">
+      <relation target="" sidePair="center-center,middle-middle"/>
     </image>
-    <component id="n3_8nuw" name="Pro_Load" src="8nuw5" fileName="Com_ProWithTip.xml" pkg="btak13q2" xy="483,950">
-      <relation target="" sidePair="center-center,bottom-bottom"/>
-    </component>
   </displayList>
-  <transition name="t0" autoPlay="true"/>
+  <transition name="t0" autoPlay="true" autoPlayRepeat="-1">
+    <item time="0" type="Pivot" target="n6_fx9l" value="0.5,0.5"/>
+    <item time="0" type="Rotation" target="n6_fx9l" tween="true" startValue="0" endValue="360" duration="12" ease="Linear"/>
+    <item time="12" type="Rotation" target="n6_fx9l" value="360"/>
+  </transition>
 </component>

BIN
FGUIProject/assets/Loading/UIMajorCity_48.PNG


+ 1 - 2
FGUIProject/assets/Loading/package.xml

@@ -2,8 +2,7 @@
 <packageDescription id="enltropw">
   <resources>
     <component id="pxxk0" name="Loading.xml" path="/" exported="true"/>
-    <image id="pxxk1" name="UIMajorCity_48.PNG" path="/"/>
-    <image id="rfuv4" name="LobbyBck.png" path="/"/>
+    <image id="fx9l7" name="UIMajorCity_48.PNG" path="/"/>
   </resources>
   <publish name=""/>
 </packageDescription>

+ 4 - 4
FGUIProject/assets/Shared/Com_ProWithTip.xml

@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="955,95">
+<component size="900,150">
   <displayList>
-    <component id="n3_8nuw" name="Pro_Load" src="8nuw2" fileName="CheckForResUpdateBar.xml" xy="0,36" size="955,27">
+    <component id="n3_8nuw" name="Pro_Load" src="8nuw2" fileName="Pro_Common.xml" xy="20,54" size="860,27">
       <ProgressBar value="50" max="100"/>
     </component>
-    <text id="n4_8nuw" name="Txt_LoadInfo" xy="24,66" size="903,29" fontSize="20" color="#ffffff" align="center" vAlign="middle" autoSize="none" bold="true" strokeColor="#000000" strokeSize="0.2" text="加载信息"/>
-    <text id="n5_8nuw" name="Txt_LoadTip" xy="24,0" size="903,29" fontSize="20" color="#ffffff" align="center" vAlign="middle" autoSize="none" bold="true" strokeColor="#000000" strokeSize="0.2" text="加载Tip"/>
+    <text id="n4_8nuw" name="Txt_LoadInfo" xy="0,82" size="900,50" fontSize="26" color="#ffffff" align="center" autoSize="none" bold="true" strokeColor="#000000" strokeSize="0.2" text="加载信息"/>
+    <text id="n5_8nuw" name="Txt_LoadTip" xy="0,0" size="900,50" fontSize="26" color="#ffffff" align="center" vAlign="bottom" autoSize="none" bold="true" strokeColor="#000000" strokeSize="0.2" text="加载Tip"/>
   </displayList>
 </component>

BIN
Unity/Assets/Res/FGUI/Loading_atlas0.png


+ 123 - 0
Unity/Assets/Res/FGUI/Loading_atlas0.png.meta

@@ -0,0 +1,123 @@
+fileFormatVersion: 2
+guid: f243152a47e81e04784f22325ec7bdc0
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 12
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 1
+    sRGBTexture: 1
+    linearTexture: 0
+    fadeOut: 0
+    borderMipMap: 0
+    mipMapsPreserveCoverage: 0
+    alphaTestReferenceValue: 0.5
+    mipMapFadeDistanceStart: 1
+    mipMapFadeDistanceEnd: 3
+  bumpmap:
+    convertToNormalMap: 0
+    externalNormalMap: 0
+    heightScale: 0.25
+    normalMapFilter: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  ignoreMasterTextureLimit: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 0
+    wrapV: 0
+    wrapW: 0
+  nPOTScale: 1
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 0
+  spriteExtrude: 1
+  spriteMeshType: 1
+  alignment: 0
+  spritePivot: {x: 0.5, y: 0.5}
+  spritePixelsToUnits: 100
+  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+  spriteGenerateFallbackPhysicsShape: 1
+  alphaUsage: 1
+  alphaIsTransparency: 0
+  spriteTessellationDetail: -1
+  textureType: 0
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  cookieLightType: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: Standalone
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: Server
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+    nameFileIdTable: {}
+  spritePackingTag: 
+  pSDRemoveMatte: 0
+  pSDShowRemoveMatteOption: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
Unity/Assets/Res/FGUI/Loading_fui.bytes


+ 7 - 0
Unity/Assets/Res/FGUI/Loading_fui.bytes.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: b181557b635803a48af616795635b236
+TextScriptImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: