소스 검색

修改音效

= 4 년 전
부모
커밋
6c11af2e74

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
Assets/Plugins/TextMesh Pro/Resources/Fonts & Materials/SOURCEHANSANSCN-NORMAL SDF.asset


BIN
Assets/Resources/Audio/enemy_die.ogg


BIN
Assets/Resources/Dice/Images/die_face_lmb.png


BIN
Assets/Resources/Dice/Images/die_face_rmb.png


+ 1 - 1
Assets/Resources/Entities/EnemyBase.cs

@@ -30,7 +30,7 @@ public abstract class EnemyBase : EntityBase {
         if (currentHp == -1) currentHp = hp;
         currentHp--;
         if (currentHp <= 0) {
-            AudioM.Play("enemy_die", 0.5f);
+            AudioM.Play("enemy_die", 0.7f);
             OnHitBorder();
         }
     }

+ 2 - 2
Assets/Resources/Entities/Player.cs

@@ -92,7 +92,7 @@ public class Player : EntityBase {
         }
         // 装填
         if (InputM.GetKeyEvent(InputM.KeyType.Reload) && currentBullet < maxBullet && currentReloadDelay <= 0f) {
-            AudioM.Play("reload", 0.8f);
+            AudioM.Play("reload", 1f);
             currentReloadDelay = reloadDelay;
         } else if (currentReloadDelay > 0 && currentReloadDelay < Time.deltaTime) {
             currentReloadDelay = 0f; currentBullet = maxBullet;
@@ -101,7 +101,7 @@ public class Player : EntityBase {
         }
         // 开火
         if (InputM.GetKeyEvent(InputM.KeyType.Fire) && currentBullet > 0 && currentShootDelay <= 0f && currentReloadDelay <= 0f) {
-            AudioM.Play("fire", 0.6f);
+            AudioM.Play("fire", 0.65f);
             currentBullet--; currentShootDelay = shootDelay;
             Vector2 fromPos = transform.position + Vector3.up * ((canCrouch && isPressingCrouch()) ? 0.55f : 1.3f);
             Vector2 toPos = AspectUtility.cam.ScreenToWorldPoint(Input.mousePosition);

+ 5 - 101
Assets/Scenes/SceneMain.unity

@@ -1877,31 +1877,7 @@ CompositeCollider2D:
         Y: -30000100
       - X: -29999959
         Y: -30000100
-    - - X: 99999900
-        Y: -69999959
-      - X: 99999959
-        Y: -69999900
-      - X: 120000041
-        Y: -69999900
-      - X: 120000100
-        Y: -69999959
-      - X: 120000100
-        Y: -70000100
-      - X: 139999900
-        Y: -70000100
-      - X: 139999900
-        Y: -69999959
-      - X: 139999959
-        Y: -69999900
-      - X: 160000041
-        Y: -69999900
-      - X: 160000100
-        Y: -69999959
-      - X: 160000100
-        Y: -70000100
-      - X: 170000041
-        Y: -70000100
-      - X: 170000100
+    - - X: 170000100
         Y: -70000041
       - X: 170000100
         Y: -59999959
@@ -1915,86 +1891,14 @@ CompositeCollider2D:
         Y: -70000041
       - X: 89999959
         Y: -70000100
-      - X: 99999900
+      - X: 170000041
         Y: -70000100
     - - X: -129999900
         Y: -100000041
       - X: -129999900
-        Y: -90000100
-      - X: -130000041
-        Y: -90000100
-      - X: -130000100
-        Y: -90000041
-      - X: -130000100
-        Y: -79999959
-      - X: -130000041
-        Y: -79999900
-      - X: -129999900
-        Y: -79999900
-      - X: -129999900
-        Y: -70000100
-      - X: -110000100
-        Y: -70000100
-      - X: -110000100
-        Y: -69999959
-      - X: -110000041
-        Y: -69999900
-      - X: -99999959
-        Y: -69999900
-      - X: -99999900
-        Y: -69999959
-      - X: -99999900
-        Y: -70000100
-      - X: -70000100
-        Y: -70000100
-      - X: -70000100
-        Y: -69999959
-      - X: -70000041
-        Y: -69999900
-      - X: -59999959
-        Y: -69999900
-      - X: -59999900
-        Y: -69999959
-      - X: -59999900
-        Y: -70000100
-      - X: -20000100
-        Y: -70000100
-      - X: -20000100
-        Y: -69999959
-      - X: -20000041
-        Y: -69999900
-      - X: -9999959
-        Y: -69999900
-      - X: -9999900
-        Y: -69999959
-      - X: -9999900
-        Y: -70000100
-      - X: 9999900
-        Y: -70000100
-      - X: 9999900
-        Y: -69999959
-      - X: 9999959
-        Y: -69999900
-      - X: 20000041
-        Y: -69999900
-      - X: 20000100
-        Y: -69999959
-      - X: 20000100
         Y: -70000100
       - X: 39999900
         Y: -70000100
-      - X: 39999900
-        Y: -79999900
-      - X: 40000041
-        Y: -79999900
-      - X: 40000100
-        Y: -79999959
-      - X: 40000100
-        Y: -90000041
-      - X: 40000041
-        Y: -90000100
-      - X: 39999900
-        Y: -90000100
       - X: 39999900
         Y: -100000041
       - X: 39999959
@@ -2063,10 +1967,10 @@ CompositeCollider2D:
       - {x: -15.999974, y: -7.0000095}
       - {x: -14.00001, y: -7.000039}
       - {x: -13.999974, y: -10.00001}
-    - - {x: 16.99998, y: -7.0000043}
+    - - {x: 16.999975, y: -7.0000095}
       - {x: 16.999975, y: -5.99999}
       - {x: 8.99999, y: -6.0000253}
-      - {x: 9.000019, y: -7.0000043}
+      - {x: 9.000026, y: -7.0000095}
   m_VertexDistance: 0.0005
   m_OffsetDistance: 0.00005
 --- !u!19719996 &558216836
@@ -10538,7 +10442,7 @@ AudioSource:
   OutputAudioMixerGroup: {fileID: 0}
   m_audioClip: {fileID: 8300000, guid: fad5f40108e03ec4dbe42eb884f842c1, type: 3}
   m_PlayOnAwake: 1
-  m_Volume: 0.2
+  m_Volume: 0.787
   m_Pitch: 1
   Loop: 1
   Mute: 0

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.