Browse Source

开发:击中1个靶子不播放音效,Great UI逻辑,整理图集,图集设置

XuJJ 1 week ago
parent
commit
83c35c3074

+ 3 - 0
snipershooting/ShootSniper/Assets/NewSprite/Resources_moved/General.spriteatlas

@@ -110,6 +110,7 @@ SpriteAtlas:
     - c26bf1f61b52c42c6a0fae97a4573098: 21300000
     - 372fbff64fb454b17b0550628c04b8de: 21300000
     - 1bfb5e17b5dd8459c9d2426ff0aae9ce: 21300000
+    - d5fd2727f01ca4deea165bb412c2977c: 21300000
     - 9cefdb47387aa4f32b7373ff80e16e96: 21300000
     - 63159d471765044b7afe063fdbcd4335: 21300000
     - 29887157e8b4e4a268065f80dd88c00a: 21300000
@@ -252,6 +253,7 @@ SpriteAtlas:
   - {fileID: 21300000, guid: c26bf1f61b52c42c6a0fae97a4573098, type: 3}
   - {fileID: 21300000, guid: 372fbff64fb454b17b0550628c04b8de, type: 3}
   - {fileID: 21300000, guid: 1bfb5e17b5dd8459c9d2426ff0aae9ce, type: 3}
+  - {fileID: 21300000, guid: d5fd2727f01ca4deea165bb412c2977c, type: 3}
   - {fileID: 21300000, guid: 9cefdb47387aa4f32b7373ff80e16e96, type: 3}
   - {fileID: 21300000, guid: 63159d471765044b7afe063fdbcd4335, type: 3}
   - {fileID: 21300000, guid: 29887157e8b4e4a268065f80dd88c00a, type: 3}
@@ -393,6 +395,7 @@ SpriteAtlas:
   - LevelProgressBar
   - BgPopup2
   - LotteryCellSelect
+  - TextGreat
   - BgStar
   - Gold coins1
   - ProgressShieldBg

BIN
snipershooting/ShootSniper/Assets/NewSprite/Sprites/InGame/TextGreat.png


+ 153 - 0
snipershooting/ShootSniper/Assets/NewSprite/Sprites/InGame/TextGreat.png.meta

@@ -0,0 +1,153 @@
+fileFormatVersion: 2
+guid: d5fd2727f01ca4deea165bb412c2977c
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 12
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 0
+    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
+    flipGreenChannel: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  ignoreMipmapLimit: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 1
+    wrapV: 1
+    wrapW: 0
+  nPOTScale: 0
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 1
+  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: 1
+  spriteTessellationDetail: -1
+  textureType: 8
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  swizzle: 50462976
+  cookieLightType: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 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
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: iPhone
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: Android
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 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
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 5e97eb03825dee720800000000000000
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+    nameFileIdTable: {}
+  mipmapLimitGroupName: 
+  pSDRemoveMatte: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
snipershooting/ShootSniper/Assets/NewSprite/Sprites/LevelProgress/BG.png


+ 1 - 1
snipershooting/ShootSniper/Assets/Scripts/GamePlay/Shoot/Shooter/ShootResult.cs

@@ -208,7 +208,7 @@ public class ShootResultSound
                     //int val = Random.Range(0, 2);
                     //sound = val == 0 ? CommonDefines.SOUND_POINTSCORE_SE[score] : CommonDefines.SOUND_SCORE_SE[score];
                     //sound = CommonDefines.SOUND_POINTSCORE_SE[score];
-                    sound = SoundEnum.Score_PERFECT;
+                    // sound = SoundEnum.Score_PERFECT;
                 }
                 break;
             case 2:

+ 1 - 1
snipershooting/ShootSniper/Assets/Scripts/UIScript/Model/BattleDataSource.cs

@@ -102,7 +102,7 @@ public class BattleDataSource : SingletonObject<BattleDataSource>
                 break;
             case 2:
                 //great
-                attShowSprite = battleAtlas.GetSprite("TextWonderful");
+                attShowSprite = battleAtlas.GetSprite("TextGreat");
                 break;
             case 3:
                 //wonderful

+ 23 - 6
snipershooting/ShootSniper/ProjectSettings/EditorSettings.asset

@@ -3,28 +3,45 @@
 --- !u!159 &1
 EditorSettings:
   m_ObjectHideFlags: 0
-  serializedVersion: 11
-  m_ExternalVersionControlSupport: Visible Meta Files
+  serializedVersion: 12
   m_SerializationMode: 2
   m_LineEndingsForNewScripts: 0
   m_DefaultBehaviorMode: 0
   m_PrefabRegularEnvironment: {fileID: 0}
   m_PrefabUIEnvironment: {fileID: 0}
-  m_SpritePackerMode: 0
+  m_SpritePackerMode: 4
+  m_SpritePackerCacheSize: 10
   m_SpritePackerPaddingPower: 1
+  m_Bc7TextureCompressor: 0
   m_EtcTextureCompressorBehavior: 1
   m_EtcTextureFastCompressor: 1
   m_EtcTextureNormalCompressor: 2
   m_EtcTextureBestCompressor: 4
   m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref
   m_ProjectGenerationRootNamespace: 
-  m_CollabEditorSettings:
-    inProgressEnabled: 1
   m_EnableTextureStreamingInEditMode: 1
   m_EnableTextureStreamingInPlayMode: 1
+  m_EnableEditorAsyncCPUTextureLoading: 0
   m_AsyncShaderCompilation: 1
+  m_PrefabModeAllowAutoSave: 1
   m_EnterPlayModeOptionsEnabled: 0
   m_EnterPlayModeOptions: 3
-  m_ShowLightmapResolutionOverlay: 1
+  m_GameObjectNamingDigits: 1
+  m_GameObjectNamingScheme: 0
+  m_AssetNamingUsesSpace: 1
+  m_InspectorUseIMGUIDefaultInspector: 0
   m_UseLegacyProbeSampleCount: 0
   m_SerializeInlineMappingsOnOneLine: 1
+  m_DisableCookiesInLightmapper: 0
+  m_AssetPipelineMode: 1
+  m_RefreshImportMode: 0
+  m_CacheServerMode: 0
+  m_CacheServerEndpoint: 
+  m_CacheServerNamespacePrefix: default
+  m_CacheServerEnableDownload: 1
+  m_CacheServerEnableUpload: 1
+  m_CacheServerEnableAuth: 0
+  m_CacheServerEnableTls: 0
+  m_CacheServerValidationMode: 2
+  m_CacheServerDownloadBatchSize: 128
+  m_EnableEnlightenBakedGI: 0