Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
The last bit of our sound journey involves implementing
Music
And this is going to be a lot of fun
It's going to be slightly
We need to get our music
Download
So
The website that I'm using for music is called free pdf
The licence for all these songs
Creative Commons zero
Just public domain which is the same licence as the Kenney assets
We've been using
So that means that you can use
The music
However you want
Without any promotion or address
Required so what I did was I clicked on this
Chronic sex
Here and that brings up this page
And I found this
Bit of music here what they say
Which I think matches the game really
Sam is going to play this for a sec
You can feel free to download whatever track you want
This song will be attached as a resource
Subtitled by online-courses.club We compress knowledge for you!
To this lesson so you can download from
Or you can go to 3 PD and shoes a music file that you
Fits better
And that you can just click on the menu here
Download
Once you've got that downloaded go ahead and dragged that into your Google file system
Again sometimes it doesn't put it in the
So you just have to make sure that
That's going where you wanted to
I actually don't know how it went
Ok
You again concert so if I said here it shows me where it is
So there is my hair what they say
What we're going to do for the music it's gonna make it in autoload know in the reason that we want to make the music and all alone
Is because that means that no matter what scene were in in the current game
The music will continue
Play and that's the way that you want
Right I'm going to create a scene
News
And I'm going to make
The scene
A root type of audio stream player
And I'm going to call
Music player
I'm going to save this
And I'm going to say this in seems Auto
So seems an alert save it now
Go ahead and drag over your song that you chose onto the stream property
And make sure to change the bus to Muse
Ok no music tends to be very very loud
By default and so I'm going to turn down
The volume here by 5
Now I worry about volume so if we open up our busses again with the audio tab
You have a bunch of different bites
There's a volume slider on SFX bus a volume slider on the music by Santa volume slider on the master
But there's also a volume
The music player or the audio stream player
Where you can set
And basically
What this volume DB represents
Is Dad
This changes sort of a natural volume of the sound another word
Is everything is set to zero
This sound will be -5 DB from what in
This
Sound file
Install if I up the music volume here with this later
They're still going to be a -5 DB offset
Right so basically I'm saying take down the natural volume of the street
By 5 DB
And then
You know the other additional volume changes will be applied
To that so there's basically multiple levels of volume setting
Assuming everything is set to zero this means that the volume of this sound will be at -5
In other words you can think of this as like a relative offset this is basically saying
Set it to 5 DB
In addition to all of the other volume change
Ride the bus
How tall is all additive and cumulative
So you've got a music
What we're going to do is going to select auto play So turn that on
And
One thing that we want to do is
This is not a looping
It was a living track we were just
Settle loop
Anyway that we can do that
Is there is a loop option here if you open up the stream where you can select
So if you wanted to make
You have to click on your hear what they say or whatever your song is called
On the left-hand side
And then
Go to the import tab
How do you have to sort out the loop
Here
To change the file to loop automatically
And then play Cream
And now you open up that stream you can do that loop is
Set 2 on
I don't want my name Luke but that is how you get it to
If you want it to
To do
But since this is not a song I can smoothly I don't want to just keep playing it over and over
So when I typically
Is I like to add a little gap
In-between the Replays of something like
Santa at a timer
Underneath this music player
Wait I'm going to turn up to 15 seconds and I'm gonna turn on One Shot that's very
Ok
So I'm going to add a script to this music player
So click and drop and click
And then in the ready override
All we want to do is we want to connect to the finish
If I go to my new tab
Where's my music player selector
There is a fee
Signal
So I'm going to say finish
Dartconnect
On
Finished
And then
I'm going to
Create that method on fine
And then I'm going to rest
The timer
And I'm gonna tell the timer to stop
Now we need to connect to the time
But now I need to connect to the timer timeouts
I'm going to say in my ready method timer
Time out
On a timer
Time out
Let's Create that on timer timeout function
And here we're going to tell the music player which is our route now to
Play so sexy what's happening is
It's going to autoplay cos we have auto plates
2
Truly
Start playing as soon as the game starts
When the when the I was done playing
Is going to
Call this on fine
Method which is going to start the timer which is set to 15
Then when the timer is done
It's going to start playing the sound
Essentially what we done if we have written code
To introduce a 15-second delay
Between Loops of the
Ok
So order lose all set up now the final thing is we need to add the auto load to our
Configuration
So I'm going to go after Project
Project settings go to the auto load tab
And I'm go
Do you click the
Open file button right
And I'm going to go to scene
Autoload
And open up make sure it's like the music player dat tscm
Not the dart GT so.gs
Can opener
And then
Add
And now we have our autoloading
And every Run the game you should hear them
Ok so I've got a couple of problems with your notice if you're playing a game for a little bit
The music is still
Really loud compared to the sound effects
At least in my cases
I'm going to turn down the volume even more to -10 DP
And the other thing
To do is we need to change the process mode down here on the musical
To all
Why because for parsing the seem tree when the upgrade screen is available
And that is also parsing the music player
The start of the scene
But we can override that by telling it to ignore the past
Bye
Lightning process
Always
Sonos Run the game
Ok I think that's much more reasonable I might even turn down my music to -12
Just give it a little bit more
More room for the sound of
And I'm going to play the game and now when I get my upgrade I should be able to see
That the music still plays
Ok so how can we test that the music is
Repeating
When it is
Well one way we can do that is we can just wait for
To be done and
Loops
What's the weather I like to do that is I just
To introduce
Another sound effects I'll just drag over 4 instances impact mining here
And then I'm just going to turn the volume up temporary
Like 10 DB just annoyingly loud
And then I should be able to hear this and then 15 seconds later hear it again
Ok so it played on star
And now I'm just going to wait
15 seconds to see if it plays
And it
So that means it's working so I'm going to hit on do a couple times to undo
All those changes
And I verify that my music player will read
Alright that's music implemented in our game
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.