View by Component
Physics , Physics 2D , Audio , UI , Tilemap , Cinemachine , Timeline , Network , Animation , Animator , Sprites , Scripting , Tips , Colliders , 2D Colliders , Rigidbody , Rigidbody 2D , Interaction , Editor , Game Mechanics , In-App Purchase , Material , General , Prefab , ProGrids , Light , Rendering , Ads , Scriptable Objects , Events , Level Design , Making Of , Assets , Procedural , ProBuilder , Particles , Machine Learning , News & Announcements , Conference , Enemy & NPC , PlayerPrefs , Post Processing , Interview , Shader , VFX , TextMeshPro , InputSystem , XR
How to Create Dialogue Audio like in Celeste and Animal Crossing using Unity
Uploaded by Trever MockShare: Twitter Facebook
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 - https://www.youtube.com/watch?v=KSRpcftVyKg&list=PL3viUl9h9k78KsDxXoAzgQ1yRjhm7p8kl
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) - https://www.youtube.com/watch?v=ta_L_qoMaqc&t=240s
Recreating Animal Crossing's Talking Sounds by Blipsounds (excellent example of using a character to sound map approach) - https://www.youtube.com/watch?v=4W57Wy6veUM&t=179s
► RESOURCES (Reproducing Celeste's Audio)
FMOD project for Celeste - https://www.fmod.com/docs/2.02/studio/appendix-a-celeste.html
Video walking through the FMOD project for Celeste by Power Up Audio - https://www.twitch.tv/videos/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 - https://www.youtube.com/watch?v=6OT43pvUyfY
Wikipedia for Hashing in Computer Science - https://en.wikipedia.org/wiki/Hash_function
Excellent introduction to Scriptable Objects by Samyam - https://www.youtube.com/watch?v=cy49zMBZvhg&t
► GITHUB PROJECT
The '7-dialogue-audio-implemented' branch contains the code for this tutorial.
https://github.com/trevermock/ink-dialogue-system/tree/7-dialogue-audio-implemented
► MUSIC
The backing music is custom made by @themaykit. He also provided the synth sounds for this tutorial.
https://www.instagram.com/themaykit/
► DISCORD
Come ask questions, suggest a video topic, or just hang out!
?Discord ➔ https://discord.gg/99gcnaHFf9
► THE PATH OF REN
Wishlist 'The Path of Ren' on Steam!
? Steam (The Path of Ren) ➔ https://store.steampowered.com/app/1619920
► SOCIAL MEDIA LINKS
Follow my current project!
? Twitter ➔ https://twitter.com/trevermock
? Instagram ➔ https://instagram.com/trevermock/
? TikTok ➔ https://tiktok.com/@trevermock
? Website ➔ https://shapedbyrainstudios.com/
► SUPPORT
Any support is much appreciated! I'll receive a commission on any assets purchased using the below Unity Asset Store link.
?️ Unity Asset Store Affiliate Link ➔ https://assetstore.unity.com/?aid=1100lrxm5
☕ Buy me a coffee! (Ko-fi) ➔ https://ko-fi.com/trevermock
#gamedev #unity2d #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 - https://www.youtube.com/watch?v=KSRpcftVyKg&list=PL3viUl9h9k78KsDxXoAzgQ1yRjhm7p8kl
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) - https://www.youtube.com/watch?v=ta_L_qoMaqc&t=240s
Recreating Animal Crossing's Talking Sounds by Blipsounds (excellent example of using a character to sound map approach) - https://www.youtube.com/watch?v=4W57Wy6veUM&t=179s
► RESOURCES (Reproducing Celeste's Audio)
FMOD project for Celeste - https://www.fmod.com/docs/2.02/studio/appendix-a-celeste.html
Video walking through the FMOD project for Celeste by Power Up Audio - https://www.twitch.tv/videos/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 - https://www.youtube.com/watch?v=6OT43pvUyfY
Wikipedia for Hashing in Computer Science - https://en.wikipedia.org/wiki/Hash_function
Excellent introduction to Scriptable Objects by Samyam - https://www.youtube.com/watch?v=cy49zMBZvhg&t
► GITHUB PROJECT
The '7-dialogue-audio-implemented' branch contains the code for this tutorial.
https://github.com/trevermock/ink-dialogue-system/tree/7-dialogue-audio-implemented
► MUSIC
The backing music is custom made by @themaykit. He also provided the synth sounds for this tutorial.
https://www.instagram.com/themaykit/
► DISCORD
Come ask questions, suggest a video topic, or just hang out!
?Discord ➔ https://discord.gg/99gcnaHFf9
► THE PATH OF REN
Wishlist 'The Path of Ren' on Steam!
? Steam (The Path of Ren) ➔ https://store.steampowered.com/app/1619920
► SOCIAL MEDIA LINKS
Follow my current project!
? Twitter ➔ https://twitter.com/trevermock
? Instagram ➔ https://instagram.com/trevermock/
? TikTok ➔ https://tiktok.com/@trevermock
? Website ➔ https://shapedbyrainstudios.com/
► SUPPORT
Any support is much appreciated! I'll receive a commission on any assets purchased using the below Unity Asset Store link.
?️ Unity Asset Store Affiliate Link ➔ https://assetstore.unity.com/?aid=1100lrxm5
☕ Buy me a coffee! (Ko-fi) ➔ https://ko-fi.com/trevermock
#gamedev #unity2d #unity