0:42 Explanation of Sound in Godot 2:00 Overview of AudioStreamPlayer2D Properties 3:04 Using Loops for Background Music 4:28 Sending Audio Streams to Different Buses 6:06 Adding Sound Effects to Player 7:47 Setting Up Walking Sound Loop 9:49 Playing Jump Sound 10:35 Stopping Walking Sound When Player Isn't Moving 13:25 Changing Sound Effects Based on Terrain (Advanced) 16:23 Adding Background Music 18:24 Updating Music Status with Code 19:38 Checking if Music Should Play or Stop 21:56 Godot Sound Controls and Functions 23:58 Creating On/Off Button Animations in Sprite Sheet 25:12 Making Buttons Transparent 26:43 Getting Audio Bus IDs in Code 29:09 Connecting Button Press Signals 29:43 Muting/Unmuting Audio Buses on Button Press 31:49 Fixing Audio Buses for Sound Effects and Music
dude this saved me, i'm doing a project on game audio for university and have never worked with game engines before (only ever worked on student short films) and this explained everything perfectly!
Few more video ideas will be Composition and Inheritance and also I think for standalone tutorials (other then the everything to know about series) you should start a new project and apply everything to it like for example start a top down game project (roguelike maybe) and use Resources,Composition,Inheritance and more stuff like these in it this way we can know how these practices or these uhh whatever they are called are used what are their best use how they stack etc....
There is a very good plug in for this.. I'm uploading a video tomorrow covering it and maybe going to make a separate video going over topdown procedural generation
No i noticed the problem. It’s because right after I write .play() in the function I write queue_free() which I’m pretty sure causes the sound to immediately stop playing. You know how to fix it?
Uhh are your nodes connected? If you're jumping while walking but no animation plays (Say a default walking animation) you'll have to adjust the code to basically say "HEY!! IM WALKING AND JUMPING!" Or you could just set the jumping animation a special series of animation and set it like that. Think of Sonic or Geometry dash, they go up in one solid frame of animation and don't require anything fancy.
The Code of your state machine is missing instructions to never not have anything to do, I spent months and months learning this and i still dont know😂. What I did in my Game was to divide my Code into "if is_on_floor" and there i would play the animation "jump", or "jump-attack", and then, "elif not is_on_floor" with all the other animation like "idle", "run" etc etc
yes I'm sorry that should be above the physic_process... just did it quickly because I was trying to explain how youd load different sound files into the same audio player
yes I'm sorry that should be above the physic_process... just did it quickly because I was trying to explain how youd load different sound files into the same audio player
0:42 Explanation of Sound in Godot
2:00 Overview of AudioStreamPlayer2D Properties
3:04 Using Loops for Background Music
4:28 Sending Audio Streams to Different Buses
6:06 Adding Sound Effects to Player
7:47 Setting Up Walking Sound Loop
9:49 Playing Jump Sound
10:35 Stopping Walking Sound When Player Isn't Moving
13:25 Changing Sound Effects Based on Terrain (Advanced)
16:23 Adding Background Music
18:24 Updating Music Status with Code
19:38 Checking if Music Should Play or Stop
21:56 Godot Sound Controls and Functions
23:58 Creating On/Off Button Animations in Sprite Sheet
25:12 Making Buttons Transparent
26:43 Getting Audio Bus IDs in Code
29:09 Connecting Button Press Signals
29:43 Muting/Unmuting Audio Buses on Button Press
31:49 Fixing Audio Buses for Sound Effects and Music
wow thanks! pinned for others to see! thanks for taking the time to do that!
Just learning audio before the game jam end !! 😁
haha hope it helped in some way! goodluck in the game jam!
Thank you 🙏
dude this saved me, i'm doing a project on game audio for university and have never worked with game engines before (only ever worked on student short films) and this explained everything perfectly!
so happy to hear that!! goodluck!
Ура! Спасибо за новый урок!!
thank you!
This series must take 100k likes❤
And congratulations about 19k 🎉
completely agree!
Man you should make new playlist and name it every thing about
thank yall so much!! @jeremiah I'm on it now! thank you!
Love your work helped me a lot so far
so happy to hear!! thank you!
Your videos are so good, keep up the good work!
thanks you so much!
Thank you. Very clear.
perfect!! so happy to hear!
man, if godot did have a VST support in his audio this will be amazing so i can use in game code and VST FX
This help me lot thank you very much
glad to hear! thank you very much!
hell yeah brother, thankyou
thank you!! glad it helped! if you ever need anything then please let me know!
love you videos :)
thank you so much!! It means the world!
Good Work Thanks!
thank you so much!!! if you ever need anything then please let me know!
thanks works fine👍
Can you make a tutorial on Resources next pls?🥺
looking into it!! anything specific that you need?
@@dev-worm modular weapon system
Please you can Asoi educational video On chimera there are rooms like Celeste
Few more video ideas will be Composition and Inheritance and also I think for standalone tutorials (other then the everything to know about series) you should start a new project and apply everything to it like for example start a top down game project (roguelike maybe) and use Resources,Composition,Inheritance and more stuff like these in it this way we can know how these practices or these uhh whatever they are called are used what are their best use how they stack etc....
very good idea! thank you very much!
Could you do a video on implementing Steam in-game purchases?
Any tips on how to set up objects that emit sound? Reacting to distance from player, obstacles that dampen sound, echoes, etc.
WOW
IS vidéo legendary sory me English me Bad im Arab
Pls can you make a video on crafring mechanics unlocking recepies making a crafting table etc
Can you make a Tutorial about random dungeon generation like soulknighth?
There is a very good plug in for this.. I'm uploading a video tomorrow covering it and maybe going to make a separate video going over topdown procedural generation
thanks i was really struggling to find a good tutorial on this!
👍
GOOD IS HELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
how do you make it so that it doesnt stop right after you walk, cuz i would tap a walk button then it will play a little bit then stop how do i fix
it isnt working. I make the sound and is using the .Play() but no sound is playing. please help
do you have a sound file loaded in?? and are you getting any sort of error in the debugger?
No i noticed the problem. It’s because right after I write .play() in the function I write queue_free() which I’m pretty sure causes the sound to immediately stop playing. You know how to fix it?
Is this video about mic input at some point?
not this tutorial but I am working on an updated audio tutorial for godot 4.3 and ill be sure to mention mic input within it!
Can you put your sound effects that used in video in description 7:43
I want to use it in my game 😅 especially the walking 😅
just did!
@@dev-wormthanks ❤
I need help!!! 😣😩 My jump animations are working but it's not working if I move while jumping, what do I do?
Uhh are your nodes connected? If you're jumping while walking but no animation plays (Say a default walking animation) you'll have to adjust the code to basically say "HEY!! IM WALKING AND JUMPING!" Or you could just set the jumping animation a special series of animation and set it like that. Think of Sonic or Geometry dash, they go up in one solid frame of animation and don't require anything fancy.
@@Mari-hi4hg I guess I'll have to make the code say that I'm jumping and walking because what I am doing requires that
The Code of your state machine is missing instructions to never not have anything to do, I spent months and months learning this and i still dont know😂.
What I did in my Game was to divide my Code into "if is_on_floor" and there i would play the animation "jump", or "jump-attack", and then, "elif not is_on_floor" with all the other animation like "idle", "run" etc etc
14:38 their is no need to put in process function
yes I'm sorry that should be above the physic_process... just did it quickly because I was trying to explain how youd load different sound files into the same audio player
@@dev-worm ya that right i understand but this anyways very useful video
Also you change the pitch to simulate footstep sounds differently
why are you using load to load sounds in physics_process?? 14:39
Isnt that loading them every frame?
yes I'm sorry that should be above the physic_process... just did it quickly because I was trying to explain how youd load different sound files into the same audio player