diff --git a/GGJ17/Assets/Prefab/Dialog/Dialog Left.prefab b/GGJ17/Assets/Prefab/Dialog/Dialog Left.prefab index 2e0e0f9..bc67243 100644 Binary files a/GGJ17/Assets/Prefab/Dialog/Dialog Left.prefab and b/GGJ17/Assets/Prefab/Dialog/Dialog Left.prefab differ diff --git a/GGJ17/Assets/Prefab/Dialog/Dialog Right.prefab b/GGJ17/Assets/Prefab/Dialog/Dialog Right.prefab index 5fce198..f3c584f 100644 Binary files a/GGJ17/Assets/Prefab/Dialog/Dialog Right.prefab and b/GGJ17/Assets/Prefab/Dialog/Dialog Right.prefab differ diff --git a/GGJ17/Assets/Prefab/Dialog/Dialog.prefab b/GGJ17/Assets/Prefab/Dialog/Dialog.prefab index 13e08d4..cdf0b28 100644 Binary files a/GGJ17/Assets/Prefab/Dialog/Dialog.prefab and b/GGJ17/Assets/Prefab/Dialog/Dialog.prefab differ diff --git a/GGJ17/Assets/Script/Dialog/DialogBox.cs b/GGJ17/Assets/Script/Dialog/DialogBox.cs index 1f900bd..5c6cbc3 100644 --- a/GGJ17/Assets/Script/Dialog/DialogBox.cs +++ b/GGJ17/Assets/Script/Dialog/DialogBox.cs @@ -24,12 +24,15 @@ public IEnumerator Speak() { int i = 0; textbox.text = ""; - + AudioSource a = GetComponent(); + a.loop = true; + a.Play(); while(i < text.Length) { textbox.text += text[i]; ++i; yield return new WaitForSeconds(.07f); } + a.Stop(); } } diff --git a/GGJ17/Assets/Script/WorldControl.meta b/GGJ17/Assets/Script/WorldControl.meta deleted file mode 100644 index a651a32..0000000 --- a/GGJ17/Assets/Script/WorldControl.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 026ecd435f5e8484da51e65011b7b01b -folderAsset: yes -timeCreated: 1485043945 -licenseType: Free -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/GGJ17/Assets/Sounds/intro_text.wav b/GGJ17/Assets/Sounds/intro_text.wav new file mode 100644 index 0000000..aff7382 Binary files /dev/null and b/GGJ17/Assets/Sounds/intro_text.wav differ diff --git a/GGJ17/Assets/Sounds/intro_text.wav.meta b/GGJ17/Assets/Sounds/intro_text.wav.meta new file mode 100644 index 0000000..e363332 --- /dev/null +++ b/GGJ17/Assets/Sounds/intro_text.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 163307774574a914da4b1a9bf201afe1 +timeCreated: 1485091615 +licenseType: Free +AudioImporter: + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: