Skip to content

Commit

Permalink
BETA
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDX committed Dec 4, 2015
1 parent 40dd6c2 commit b3c1868
Show file tree
Hide file tree
Showing 51 changed files with 96,400 additions and 8 deletions.
Binary file modified .vs/Playground2015_Project2/v14/.suo
Binary file not shown.
8 changes: 4 additions & 4 deletions Assets/Resources/dusts.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="Windows-1252"?>
<?xml version="1.0" encoding="utf-8"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<poussieres>
<poussiere>
<Dustcollected>false</Dustcollected>
<Dustcollected>true</Dustcollected>
</poussiere>
<poussiere>
<Dustcollected>false</Dustcollected>
<Dustcollected>true</Dustcollected>
</poussiere>
<poussiere>
<Dustcollected>false</Dustcollected>
<Dustcollected>true</Dustcollected>
</poussiere>
<poussiere>
<Dustcollected>true</Dustcollected>
Expand Down
2 changes: 1 addition & 1 deletion Assets/Resources/dusts.xml.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/Resources/gramophone.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="Windows-1252"?>
<?xml version="1.0" encoding="utf-8"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<gramophones>
<gramophone>
Expand Down
2 changes: 1 addition & 1 deletion Assets/Resources/gramophone.xml.meta

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

Binary file modified Assets/Scenes/Menu/Menu.unity
Binary file not shown.
13 changes: 12 additions & 1 deletion Assets/Scripts/Sound/SoundLevelController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ public class SoundLevelController : MonoBehaviour

void Start ()
{
m_gameManag = GameObject.FindGameObjectWithTag("GameManager");

m_gramoManag = m_gameManag.GetComponent<GramoManager>();
Debug.Log(m_gramoManag);
m_dustManag = m_gameManag.GetComponent<DustManager>();
Debug.Log(m_dustManag);

m_HighPassFilter = m_AudioSource1.GetComponent<AudioHighPassFilter>();
m_HighPassFilter.cutoffFrequency = 600;

Expand All @@ -33,7 +40,6 @@ void FixedUpdate ()

void Balance()
{

// Calcul percentage of items found
float BalancePercent = m_GrabbedCount / m_TotalCount;

Expand All @@ -55,6 +61,8 @@ void SetTotalItemsCount()
float MaxDustNb = m_dustManag.getDustTotal();

m_TotalCount = MaxGramoNb + MaxDustNb;

Debug.Log(m_TotalCount);
}

void SetGrabbedCount()
Expand All @@ -63,9 +71,12 @@ void SetGrabbedCount()
float GrabbedDustNb = m_dustManag.getTotalCollectedDust();

m_GrabbedCount = GrabbedDustNb + GrabbedGramoNb;

Debug.Log(m_GrabbedCount);
}

#region Private properties
GameObject m_gameManag;
GramoManager m_gramoManag;
DustManager m_dustManag;
AudioHighPassFilter m_HighPassFilter;
Expand Down
Binary file added Build/DustNGroove_Beta.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Build/DustNGroove_Beta_Data/Managed/System.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit b3c1868

Please sign in to comment.