Skip to content

Commit

Permalink
Merge pull request #91 from Team-QSS/BackgroundMusic
Browse files Browse the repository at this point in the history
update bgm
  • Loading branch information
minding2796 authored Dec 2, 2024
2 parents c1681f5 + 0a7d08e commit 59b0d9d
Show file tree
Hide file tree
Showing 25 changed files with 384 additions and 20 deletions.
41 changes: 41 additions & 0 deletions Assets/Enemy/crow/BossAppeare.playable
Original file line number Diff line number Diff line change
Expand Up @@ -13122,6 +13122,7 @@ MonoBehaviour:
- {fileID: 2071551457135041266}
- {fileID: -8021664221193793846}
- {fileID: -2451502508535460984}
- {fileID: 5577503254438046790}
m_FixedDuration: 0
m_EditorSettings:
m_Framerate: 60
Expand Down Expand Up @@ -13169,6 +13170,22 @@ MonoBehaviour:
m_OpenClipOffsetRotation: {x: 0, y: 0, z: 0, w: 1}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_ApplyOffsets: 0
--- !u!114 &1584845256456350972
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 15c38f6fa1940124db1ab7f6fe7268d1, type: 3}
m_Name: Signal Emitter
m_EditorClassIdentifier:
m_Time: 0
m_Retroactive: 0
m_EmitOnce: 0
m_Asset: {fileID: 11400000, guid: b608a15fd09b1dc46a315b6fb479da36, type: 2}
--- !u!114 &2071551457135041266
MonoBehaviour:
m_ObjectHideFlags: 1
Expand Down Expand Up @@ -13401,6 +13418,30 @@ MonoBehaviour:
m_OpenClipOffsetRotation: {x: 0, y: 0, z: 0, w: 1}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_ApplyOffsets: 0
--- !u!114 &5577503254438046790
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b46e36075dd1c124a8422c228e75e1fb, type: 3}
m_Name: Signal Track
m_EditorClassIdentifier:
m_Version: 3
m_AnimClip: {fileID: 0}
m_Locked: 0
m_Muted: 0
m_CustomPlayableFullTypename:
m_Curves: {fileID: 0}
m_Parent: {fileID: 11400000}
m_Children: []
m_Clips: []
m_Markers:
m_Objects:
- {fileID: 1584845256456350972}
--- !u!74 &7476065184256242031
AnimationClip:
m_ObjectHideFlags: 0
Expand Down
25 changes: 25 additions & 0 deletions Assets/FadeOut.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using System.Collections;
using UnityEngine;
using UnityEngine.UI;

public class FadeOut : MonoBehaviour
{
private Image image;
private void Start()
{
image = GetComponent<Image>();
StartCoroutine(FadeOutFlow());
}

private IEnumerator FadeOutFlow()
{
var time = 0f;
while (time < 1.5f)
{
time += Time.deltaTime;
image.color = new Color(0, 0, 0, Mathf.Lerp(1f, 0f, time / 1.5f));
yield return null;
}
gameObject.SetActive(false);
}
}
11 changes: 11 additions & 0 deletions Assets/FadeOut.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Assets/NextText1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ public void NextTag()

public void ChangeBackgroundMusic()
{
AudioManager.SetAsBackgroundMusicInstance("Audio/MAIN_THEME", true);
AudioManager.SetAsBackgroundMusicInstance("Audio/The_Moonless_Forest", true);
}
}
Binary file added Assets/Resources/2DGraphic/Radience Intro.mp4
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified Assets/Resources/2DGraphic/Radience.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Assets/Resources/2DGraphic/game_intro.mp4
Binary file not shown.
Binary file modified Assets/Resources/Audio/MAIN_THEME.wav
Binary file not shown.
Binary file added Assets/Resources/Audio/Radience.mp3
Binary file not shown.
23 changes: 23 additions & 0 deletions Assets/Resources/Audio/Radience.mp3.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Assets/Resources/Audio/The_Moonless_Forest.wav
Binary file not shown.
23 changes: 23 additions & 0 deletions Assets/Resources/Audio/The_Moonless_Forest.wav.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Assets/SaveAndLoad/SaveData.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.IO;
using Managers;
using Unity.VisualScripting;
using UnityEngine;
using UnityEngine.SceneManagement;
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scenes/FinalScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -3819,7 +3819,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "-\uC0B0\uB098\uBC29 \uD074\uB9AC\uC5B4-"
m_text: "-\uB798\uB514\uC5B8\uC2A4 \uD074\uB9AC\uC5B4-"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 139440ff7fcbe2f40aae85a4f16adc13, type: 2}
m_sharedMaterial: {fileID: -1033877242123928219, guid: 139440ff7fcbe2f40aae85a4f16adc13, type: 2}
Expand Down
72 changes: 71 additions & 1 deletion Assets/Scenes/IntroScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ VideoPlayer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 929644301}
m_Enabled: 1
m_VideoClip: {fileID: 32900000, guid: 55204dc76692f624897a96324703bd24, type: 3}
m_VideoClip: {fileID: 32900000, guid: d559bf958a94aeb468b699c4d176e495, type: 3}
m_TargetCameraAlpha: 1
m_TargetCamera3DLayout: 0
m_TargetCamera: {fileID: 1135844104}
Expand Down Expand Up @@ -341,9 +341,79 @@ MonoBehaviour:
mipBias: 0
varianceClampScale: 0.9
contrastAdaptiveSharpening: 0
--- !u!1001 &1773297707
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 7271465512265952315, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_Name
value: AudioManager
objectReference: {fileID: 0}
- target: {fileID: 7959082137206510154, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_LocalPosition.x
value: -10.214267
objectReference: {fileID: 0}
- target: {fileID: 7959082137206510154, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_LocalPosition.y
value: 7.618173
objectReference: {fileID: 0}
- target: {fileID: 7959082137206510154, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_LocalPosition.z
value: -2.7666085
objectReference: {fileID: 0}
- target: {fileID: 7959082137206510154, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7959082137206510154, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7959082137206510154, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7959082137206510154, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7959082137206510154, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7959082137206510154, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7959082137206510154, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9140698619840300227, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: Loop
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9140698619840300227, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_audioClip
value:
objectReference: {fileID: 8300000, guid: 09f555e4ac92a074ebc84a676cd30525, type: 3}
- target: {fileID: 9140698619840300227, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_PlayOnAwake
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- {fileID: 1135844105}
- {fileID: 929644303}
- {fileID: 1773297707}
83 changes: 81 additions & 2 deletions Assets/Scenes/LastScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,81 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &977234788
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 977234791}
- component: {fileID: 977234789}
- component: {fileID: 977234792}
m_Layer: 0
m_Name: NextText
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &977234789
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 977234788}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8f4f4dd4b5a5dcd4797afc9063eb8db8, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &977234791
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 977234788}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.091181636, y: 3.204327, z: -10.027191}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &977234792
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 977234788}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e52de21a22b6dd44c9cc19f810c65059, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Events:
m_Signals:
- {fileID: 11400000, guid: b608a15fd09b1dc46a315b6fb479da36, type: 2}
m_Events:
- m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 977234789}
m_TargetAssemblyTypeName: NextText, Assembly-CSharp
m_MethodName: ChangeBackgroundMusic
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!1 &1071664161
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -757,8 +832,11 @@ PlayableDirector:
value: {fileID: 1563876558}
- key: {fileID: -2451502508535460984, guid: e42680a6d1b779941becd836ea4eafb3, type: 2}
value: {fileID: 0}
- key: {fileID: 5577503254438046790, guid: e42680a6d1b779941becd836ea4eafb3, type: 2}
value: {fileID: 977234792}
m_ExposedReferences:
m_References: []
m_References:
- f417d12ebd055fe4e919fdd17a5f22bb: {fileID: 977234788}
--- !u!4 &1071664163
Transform:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1251,7 +1329,7 @@ MonoBehaviour:
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
rgba: 16777215
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
Expand Down Expand Up @@ -1952,3 +2030,4 @@ SceneRoots:
- {fileID: 712230542}
- {fileID: 1941279377}
- {fileID: 1563876560}
- {fileID: 977234791}
4 changes: 2 additions & 2 deletions Assets/Scenes/Stage1-1.unity
Original file line number Diff line number Diff line change
Expand Up @@ -105271,7 +105271,7 @@ Camera:
far clip plane: 1000
field of view: 64
orthographic: 0
orthographic size: 11
orthographic size: 0.9
m_Depth: -1
m_CullingMask:
serializedVersion: 2
Expand Down Expand Up @@ -111043,7 +111043,7 @@ PrefabInstance:
- target: {fileID: 9140698619840300227, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_audioClip
value:
objectReference: {fileID: 8300000, guid: 653c7d13630d5da498c5f01ddc5e0383, type: 3}
objectReference: {fileID: 8300000, guid: 157eb8407962c1547bba01202cf3eefa, type: 3}
- target: {fileID: 9140698619840300227, guid: 5c2d1b431516d174b85fb4c77453f471, type: 3}
propertyPath: m_PlayOnAwake
value: 1
Expand Down
Loading

0 comments on commit 59b0d9d

Please sign in to comment.