mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-09-11 08:17:01 +00:00
Nya
This commit is contained in:
1 parent
9233999432
commit
4360d8b2b8
37 files changed
+6587
-775
No files matched your search
@@ -14,6 +14,7 @@ public class Dialogue : MonoBehaviour
|
||||
public List<int> emotes = new List<int>();
|
||||
int curPage = 0;
|
||||
public bool isOpen = false;
|
||||
public bool isDream = false;
|
||||
//used to activate/deactivate test object
|
||||
//activate through outside means probably
|
||||
public GameObject textTest;
|
||||
@@ -100,16 +101,34 @@ public class Dialogue : MonoBehaviour
|
||||
++cCount;
|
||||
textbox.text = pages[curPage].Substring(0, cCount);
|
||||
elapsed = 0;
|
||||
if(isTalking){
|
||||
if (isTalking)
|
||||
{
|
||||
int RNGSound = Random.Range(0, 2);
|
||||
if (RNGSound == 0) {
|
||||
audioManager.Play("blip");
|
||||
Debug.Log("blip");
|
||||
if (isDream = true)
|
||||
{
|
||||
if (RNGSound == 0)
|
||||
{
|
||||
audioManager.Play("dreamblip");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
audioManager.Play("dreamblop");
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
audioManager.Play("blop");
|
||||
Debug.Log("blop");
|
||||
if (RNGSound == 0)
|
||||
{
|
||||
audioManager.Play("blip");
|
||||
Debug.Log("blip");
|
||||
}
|
||||
else
|
||||
{
|
||||
audioManager.Play("blop");
|
||||
Debug.Log("blop");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6afaf2ffe4b5c9e43b75652c528778a9
|
||||
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:
|
||||
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71f0874ca3bacec4196bc4d3d9019060
|
||||
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:
|
||||
Reference in new issue
Block a user