diff --git a/Assets/Audio/Transcendent (Prod. AY Collective) (192kbps).mp3 b/Assets/Audio/Transcendent (Prod. AY Collective) (192kbps).mp3 new file mode 100644 index 0000000..51a9d1f Binary files /dev/null and b/Assets/Audio/Transcendent (Prod. AY Collective) (192kbps).mp3 differ diff --git a/Assets/Audio/Transcendent (Prod. AY Collective) (192kbps).mp3.meta b/Assets/Audio/Transcendent (Prod. AY Collective) (192kbps).mp3.meta new file mode 100644 index 0000000..7100e41 --- /dev/null +++ b/Assets/Audio/Transcendent (Prod. AY Collective) (192kbps).mp3.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 4e0b667881d10014ca11b46abdf05db6 +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Canvas.prefab b/Assets/Prefabs/Canvas.prefab index 8774c35..996870e 100644 --- a/Assets/Prefabs/Canvas.prefab +++ b/Assets/Prefabs/Canvas.prefab @@ -1,5 +1,42 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!1 &84608831065228809 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5715325649932937506} + m_Layer: 5 + m_Name: Handle Slide Area + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5715325649932937506 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 84608831065228809} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 9148812110294212001} + m_Father: {fileID: 692482453630110461} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &142829786516285488 GameObject: m_ObjectHideFlags: 0 @@ -208,6 +245,43 @@ MonoBehaviour: m_OnValueChanged: m_PersistentCalls: m_Calls: [] +--- !u!1 &1324566456996762241 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8511640214283027035} + m_Layer: 5 + m_Name: Fill Area + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8511640214283027035 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1324566456996762241} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1123736787420962005} + m_Father: {fileID: 692482453630110461} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.25} + m_AnchorMax: {x: 1, y: 0.75} + m_AnchoredPosition: {x: -5, y: 0} + m_SizeDelta: {x: -20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1356514794151477988 GameObject: m_ObjectHideFlags: 0 @@ -419,6 +493,82 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!1 &2746404949867682628 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9148812110294212001} + - component: {fileID: 86834539900592660} + - component: {fileID: 1680495963637520562} + m_Layer: 5 + m_Name: Handle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &9148812110294212001 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2746404949867682628} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5715325649932937506} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &86834539900592660 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2746404949867682628} + m_CullTransparentMesh: 1 +--- !u!114 &1680495963637520562 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2746404949867682628} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 --- !u!1 &2932101238006215579 GameObject: m_ObjectHideFlags: 0 @@ -743,6 +893,7 @@ RectTransform: m_Children: - {fileID: 2932101239167418444} - {fileID: 8328372036407898164} + - {fileID: 4397832738383298175} m_Father: {fileID: 2932101238877707446} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -2488,6 +2639,86 @@ RectTransform: m_AnchoredPosition: {x: 0, y: 200} m_SizeDelta: {x: -400, y: 100} m_Pivot: {x: 0.5, y: 0} +--- !u!1 &3586500544584112127 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5523964585346393644} + - component: {fileID: 8271837635017365641} + - component: {fileID: 5099153851876905499} + m_Layer: 5 + m_Name: Label + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5523964585346393644 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3586500544584112127} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4397832738383298175} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -27.000626, y: 0} + m_SizeDelta: {x: -118.00125, y: -32} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &8271837635017365641 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3586500544584112127} + m_CullTransparentMesh: 1 +--- !u!114 &5099153851876905499 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3586500544584112127} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 12800000, guid: 72d56ca93a1a2a54ba0e054a26292b04, type: 3} + m_FontSize: 28 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 45 + m_Alignment: 3 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: "Volume da m\xFAsica" --- !u!1 &3823942607652848131 GameObject: m_ObjectHideFlags: 0 @@ -2623,6 +2854,308 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &4091986802336272723 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1123736787420962005} + - component: {fileID: 8556108994225810881} + - component: {fileID: 111131510466285589} + m_Layer: 5 + m_Name: Fill + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1123736787420962005 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4091986802336272723} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 8511640214283027035} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 10, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &8556108994225810881 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4091986802336272723} + m_CullTransparentMesh: 1 +--- !u!114 &111131510466285589 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4091986802336272723} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &5014310019486502606 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 692482453630110461} + - component: {fileID: 1401696327508571516} + m_Layer: 5 + m_Name: Slider + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &692482453630110461 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5014310019486502606} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 2767460029476346462} + - {fileID: 8511640214283027035} + - {fileID: 5715325649932937506} + m_Father: {fileID: 4397832738383298175} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: 357, y: -0.0000076293945} + m_SizeDelta: {x: -886, y: 20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1401696327508571516 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5014310019486502606} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 67db9e8f0e2ae9c40bc1e2b64352a6b4, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1680495963637520562} + m_FillRect: {fileID: 1123736787420962005} + m_HandleRect: {fileID: 9148812110294212001} + m_Direction: 0 + m_MinValue: 0 + m_MaxValue: 1 + m_WholeNumbers: 0 + m_Value: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &5239896495502999075 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4397832738383298175} + - component: {fileID: 6807769632156256163} + m_Layer: 5 + m_Name: MusicVolume + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4397832738383298175 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5239896495502999075} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 5523964585346393644} + - {fileID: 692482453630110461} + m_Father: {fileID: 2932101238397256823} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 1} +--- !u!114 &6807769632156256163 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5239896495502999075} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: 90.3 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!1 &5504221358307066106 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2767460029476346462} + - component: {fileID: 2909083136378217298} + - component: {fileID: 894125002175164234} + m_Layer: 5 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2767460029476346462 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5504221358307066106} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 692482453630110461} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.25} + m_AnchorMax: {x: 1, y: 0.75} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &2909083136378217298 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5504221358307066106} + m_CullTransparentMesh: 1 +--- !u!114 &894125002175164234 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5504221358307066106} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 --- !u!1 &5941958435114552132 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/MainScene.unity b/Assets/Scenes/MainScene.unity index b8dda0e..8f84228 100644 --- a/Assets/Scenes/MainScene.unity +++ b/Assets/Scenes/MainScene.unity @@ -630,6 +630,7 @@ GameObject: - component: {fileID: 1524951597} - component: {fileID: 1524951598} - component: {fileID: 1524951599} + - component: {fileID: 1524951600} m_Layer: 0 m_Name: GameManager m_TagString: Untagged @@ -749,6 +750,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: b5546645dc638c74aaf287dacd7741e3, type: 3} m_Name: m_EditorClassIdentifier: + musicAudioSource: {fileID: 1524951600} audioSettings: npcDeathAudioClips: - {fileID: 8300000, guid: a31a2fe54b0256647b35682b2de79aac, type: 3} @@ -764,6 +766,102 @@ MonoBehaviour: - {fileID: 8300000, guid: 5d2b2681961e9d3458485a0047dd7d84, type: 3} - {fileID: 8300000, guid: 0963a713e8dbe2a478e05784c04d9479, type: 3} - {fileID: 8300000, guid: c0bd3b8634d388f448235f15db2073c7, type: 3} +--- !u!82 &1524951600 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1524951594} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 8300000, guid: 4e0b667881d10014ca11b46abdf05db6, type: 3} + m_PlayOnAwake: 1 + m_Volume: 0.5 + m_Pitch: 1 + Loop: 1 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 --- !u!4 &1628458363 stripped Transform: m_CorrespondingSourceObject: {fileID: 6685588177341926650, guid: d4dc611587d24a44c99d071d6c7295b7, type: 3} @@ -1225,6 +1323,10 @@ PrefabInstance: propertyPath: inventoryHolder value: objectReference: {fileID: 1631352652} + - target: {fileID: 1123736787420962005, guid: 3b586217a958dcd42976ca69ca9e3ed3, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} - target: {fileID: 1832579120476031141, guid: 3b586217a958dcd42976ca69ca9e3ed3, type: 3} propertyPath: m_AnchorMax.y value: 0 @@ -1569,6 +1671,30 @@ PrefabInstance: propertyPath: m_AnchoredPosition.y value: 0 objectReference: {fileID: 0} + - target: {fileID: 4397832738383298175, guid: 3b586217a958dcd42976ca69ca9e3ed3, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4397832738383298175, guid: 3b586217a958dcd42976ca69ca9e3ed3, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4397832738383298175, guid: 3b586217a958dcd42976ca69ca9e3ed3, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4397832738383298175, guid: 3b586217a958dcd42976ca69ca9e3ed3, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4397832738383298175, guid: 3b586217a958dcd42976ca69ca9e3ed3, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4397832738383298175, guid: 3b586217a958dcd42976ca69ca9e3ed3, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4743514869961975980, guid: 3b586217a958dcd42976ca69ca9e3ed3, type: 3} propertyPath: m_AnchorMax.y value: 0 @@ -1665,5 +1791,9 @@ PrefabInstance: propertyPath: m_SizeDelta.y value: 0 objectReference: {fileID: 0} + - target: {fileID: 9148812110294212001, guid: 3b586217a958dcd42976ca69ca9e3ed3, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 3b586217a958dcd42976ca69ca9e3ed3, type: 3} diff --git a/Assets/Scripts/MenuScript.cs b/Assets/Scripts/MenuScript.cs index 60038c0..8197df6 100644 --- a/Assets/Scripts/MenuScript.cs +++ b/Assets/Scripts/MenuScript.cs @@ -7,6 +7,7 @@ public class MenuScript : MonoBehaviour { Toggle? gamepadDisabledToggle; Slider? sFXVolumeSlider; + Slider? musicVolumeSlider; void SetGamepadDisabled(bool value, Toggle gamepadDisabledToggle) { @@ -27,6 +28,13 @@ void SetSFXVolume(float value, Slider sFXVolumeSlider) sFXVolumeSlider.value = value; } + void SetMusicVolume(float value, Slider musicVolumeSlider) + { + musicVolumeSlider.value = value; + + SoundManagerScript.instance.SetMusicAudioSourceVolume(value); + } + void Awake() { gamepadDisabledToggle = @@ -37,6 +45,10 @@ void Awake() transform.Find( "MenuPanel/Body/ScrollArea/Column/SFXVolume/Slider" ).GetComponent(); + musicVolumeSlider = + transform.Find( + "MenuPanel/Body/ScrollArea/Column/MusicVolume/Slider" + ).GetComponent(); } void Start() @@ -68,5 +80,19 @@ void Start() LocalPrefs.SetSFXVolume(value); }); } + + var musicVolume = LocalPrefs.GetMusicVolume(); + + if (musicVolumeSlider != null) + { + SetMusicVolume(musicVolume, musicVolumeSlider); + + musicVolumeSlider.onValueChanged.AddListener((value) => + { + SetMusicVolume(value, musicVolumeSlider); + + LocalPrefs.SetMusicVolume(value); + }); + } } } diff --git a/Assets/Scripts/SoundManagerScript.cs b/Assets/Scripts/SoundManagerScript.cs index 3e722c4..1e3e195 100644 --- a/Assets/Scripts/SoundManagerScript.cs +++ b/Assets/Scripts/SoundManagerScript.cs @@ -6,6 +6,9 @@ public class SoundManagerScript : MonoBehaviour { public static SoundManagerScript instance = default!; + [SerializeField] + AudioSource musicAudioSource = default!; + [SerializeField] AudioSettings audioSettings = default!; @@ -50,6 +53,14 @@ public void PlaySwordSwing() } } + public void SetMusicAudioSourceVolume(float volume) + { + if (musicAudioSource != null) + { + musicAudioSource.volume = volume; + } + } + void Awake() { instance = this; diff --git a/Assets/Scripts/Utils/LocalPrefs.cs b/Assets/Scripts/Utils/LocalPrefs.cs index 33b9105..d4a14d3 100644 --- a/Assets/Scripts/Utils/LocalPrefs.cs +++ b/Assets/Scripts/Utils/LocalPrefs.cs @@ -5,6 +5,7 @@ public enum LocalPrefKeys { gamepadDisabled, + musicVolume, sFXVolume, } @@ -40,4 +41,20 @@ public static void SetSFXVolume(float sFXVolume) sFXVolume ); } + + public static float GetMusicVolume() + { + return PlayerPrefs.GetFloat( + LocalPrefKeys.musicVolume.ToString(), + .5f + ); + } + + public static void SetMusicVolume(float musicVolume) + { + PlayerPrefs.SetFloat( + LocalPrefKeys.musicVolume.ToString(), + musicVolume + ); + } } diff --git a/README.md b/README.md index b4c0c4e..706306a 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,17 @@ -- [About](#about) -- [Built With](#built-with) -- [Getting Started](#getting-started) - - [Prerequisites](#prerequisites) -- [Resources](#resources) -- [License](#license) -- [Members](#members) +* [About](#about) +* [Built With](#built-with) +* [Getting Started](#getting-started) + + [Prerequisites](#prerequisites) +* [Resources](#resources) +* [License](#license) +* [Credits](#credits) + + [Music](#music) + + [SFX](#sfx) + + [Background](#background) +* [Members](#members) ## About @@ -55,6 +59,34 @@ TODO: Getting started Distributed under the MIT License. See [LICENSE](https://github.com/Slashlust/slashlust/blob/main/LICENSE.md) for more information. +## Credits + +### Music + +Special thanks to [prod. ayc](https://www.youtube.com/channel/UC06oKQ_VOHjSXtXnUIbFoLg) for letting us use their music. + +* [Transcendent (Prod. AY Collective)](https://www.youtube.com/watch?v=KwJTS5eCFZA) + +### SFX + +[Freesound](https://freesound.org/) is a huge collaborative database of audio snippets, samples, recordings and bleeps released under Creative Commons licenses that allow their reuse. + +* https://freesound.org/people/Merrick079/sounds/568169/ +* https://freesound.org/people/qubodup/sounds/60013/ +* https://freesound.org/people/InspectorJ/sounds/394419/ +* https://freesound.org/people/Glaneur%20de%20sons/sounds/420618/ +* https://freesound.org/people/Nightflame/sounds/422512/ +* https://freesound.org/people/lmbubec/sounds/118792/ +* https://freesound.org/people/el_boss/sounds/625658/ +* https://freesound.org/people/TheBuilder15/sounds/434896/ +* https://freesound.org/people/tonsil5/sounds/555411/ +* https://freesound.org/people/scorpion67890/sounds/614315/ +* https://freesound.org/people/spookymodem/sounds/249813/ + +### Background + +The animated background footage was recorded using [Space Engine](https://spaceengine.org/). + ## Members * **[Breno Lopes](https://github.com/zTrolly/)**