How to Create Dialogue Audio like in Celeste and Animal Crossing using Unity

Опубликовано: 22 Август 2022
на канале: Shaped by Rain Studios
25,633
1k

This video covers how to create dialogue audio similar to in games like Celeste and Animal Crossing using Unity.

It covers creating a versatile system for playing the audio, making the audio predictable for a given line of dialogue, and accounting for different configurations of the audio to support multiple speakers.

Just for fun, I also use the system to do a loose replication of the dialogue audio for both Celeste and Animal Crossing.

The Dialogue System we're starting with was created in some previous tutorials I've done. The playlist for those can be found here -    • Learn Ink (video game dialogue langua...  

Thank you for watching and I hope this video was helpful to you! 🙂

► TIMESTAMPS
0:00 Intro
1:25 How it's going to work
3:34 Audio clip considerations
5:31 Project overview
6:22 Playing a sound every character
7:50 Dealing with overlapping sound
9:02 Changing the frequency
11:06 Randomizing the pitch
11:59 Randomizing multiple sound clips
12:51 Making the audio predictable (how it'll work)
15:03 Generating a hashcode
16:00 Making the audio predictable (implementation)
18:10 Supporting multiple speakers (how it'll work)
19:42 Supporting multiple speakers (implementation)
25:10 Replications disclaimer
25:53 Celeste audio replication
27:33 Animal crossing audio replication
28:55 Outro

► RESOURCES (Reproducing Animal Crossing's Audio)

Recreating Animal Crossing's Dialogue by Mix and Jam (excellent resource on recreating other parts to Animal Crossing's dialogue system) -    • Recreating Animal Crossing's Dialogue...  

Recreating Animal Crossing's Talking Sounds by Blipsounds (excellent example of using a character to sound map approach) -    • I Tried Recreating the Animal Crossin...  

► RESOURCES (Reproducing Celeste's Audio)

FMOD project for Celeste - https://www.fmod.com/docs/2.02/studio...

Video walking through the FMOD project for Celeste by Power Up Audio -   / 248998904  

► RESOURCES (Software)

Audacity - https://www.audacityteam.org/

FMOD - https://www.fmod.com/

► RESOURCES (General Information)

Excellent intro to Audio in Unity with Audio Sources by Brackeys -    • Introduction to AUDIO in Unity  

Wikipedia for Hashing in Computer Science - https://en.wikipedia.org/wiki/Hash_fu...

Excellent introduction to Scriptable Objects by Samyam -    • The Ultimate Introduction to Scriptab...  

► GITHUB PROJECT
The '7-dialogue-audio-implemented' branch contains the code for this tutorial.
https://github.com/shapedbyrainstudio...

► MUSIC
The backing music is custom made by @themaykit. He also provided the synth sounds for this tutorial.
  / themaykit  

► DISCORD
Come ask questions, suggest a video topic, or just hang out!
📱Discord ➔   / discord  

► THE PATH OF REN
Wishlist 'The Path of Ren' on Steam!
🎮 Steam (The Path of Ren) ➔ https://store.steampowered.com/app/16...

► SOCIAL MEDIA LINKS
Follow my current project!
🐦 Twitter ➔   / trevermock  
📷 Instagram ➔   / trevermock  
🕑 TikTok ➔   / shapedbyrainstudios  
🌐 Website ➔ https://shapedbyrainstudios.com/

► SUPPORT
Any support is much appreciated! I may receive a commission on any assets purchased using the below Unity Asset Store link.
🛍️ Unity Asset Store Affiliate Link ➔ https://assetstore.unity.com/?aid=110...
☕ Buy me a coffee! (Ko-fi) ➔ https://ko-fi.com/shapedbyrainstudios

#gamedev #unity2d #unity