Skip to content

Commit

Permalink
Merge pull request #220 from hackerspace-ntnu/feature/bidding-music
Browse files Browse the repository at this point in the history
Add bidding music
  • Loading branch information
toberge authored Aug 29, 2023
2 parents bd40072 + d8cff6c commit 769de4d
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 4 deletions.
22 changes: 22 additions & 0 deletions Assets/Audio/Music/Bidding.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: 8fad0418b333e0b94a4b4eb019cac08d, type: 3}
m_Name: Bidding
m_EditorClassIdentifier:
title: Wild Metal Band
composer: Tore Bergebakken
beatsPerMinute: 140
beatsPerBar: 2
enabledLayers: 01
layers:
- {fileID: 8300000, guid: 37b9ba439f66ed3cf8a113903384bcea, type: 3}
loopLayers: []
8 changes: 8 additions & 0 deletions Assets/Audio/Music/Bidding.asset.meta

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

Binary file added Assets/Audio/Music/Bidding.wav
Binary file not shown.

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

2 changes: 1 addition & 1 deletion Assets/Audio/Music/Menu.asset
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ MonoBehaviour:
beatsPerBar: 2
enabledLayers: 01
layers:
- {fileID: 8300000, guid: 82c7696f3b67979898d946bcdf923397, type: 3}
- {fileID: 8300000, guid: 2f85079be3912590bbc086516900a702, type: 3}
loopLayers: []
Binary file removed Assets/Audio/Music/Menu.ogg
Binary file not shown.
Binary file added Assets/Audio/Music/Menu.wav
Binary file not shown.
23 changes: 23 additions & 0 deletions Assets/Audio/Music/Menu.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/Scenes/Menu.unity
Original file line number Diff line number Diff line change
Expand Up @@ -13306,6 +13306,7 @@ MonoBehaviour:
- {fileID: 354233070}
fadeDuration: 0.5
menuTheme: {fileID: 11400000, guid: 7bc5a13b503b2a9149e95a0359797daf, type: 2}
biddingTheme: {fileID: 11400000, guid: 676847501606a274bb5d1cfc0171fae6, type: 2}
battleThemes:
- {fileID: 11400000, guid: d74c51a03904428dfb3801da4e52bf35, type: 2}
- {fileID: 11400000, guid: 9f533fc2716d2b33fb9f7e297ae4dcae, type: 2}
Expand Down
4 changes: 4 additions & 0 deletions Assets/Scripts/Audio/MusicTrackManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public class MusicTrackManager : MonoBehaviour
[SerializeField]
private MusicTrack menuTheme;

[SerializeField]
private MusicTrack biddingTheme;

[SerializeField]
private MusicTrack[] battleThemes;

Expand Down Expand Up @@ -76,6 +79,7 @@ private MusicTrack GetTrack(MusicType type)
case MusicType.CONSTRUCTION_FANFARE:
return constructionFanfare;
case MusicType.BIDDING:
return biddingTheme;
case MusicType.MENU:
default:
return menuTheme;
Expand Down

0 comments on commit 769de4d

Please sign in to comment.