ok to start as usual let's open our terminal cmd and
Let's go to the desktop granted by stop vinuesa and we write
new and we put audio will ask us for the name of the audio game and
facer auto with 500 and 400 pixelar true and without physical and in the description will be
the download links for those who do not can use the clip
ready here has already put our folder I'm going to close I'm going to close the
cmb and I have copied an audio that the description will be the download link
of that audio that youtube free and I'm going to do and hit it here up here in
the description will be the link for can download it
the folder of the audiovisual studio code and I open it
once it is open we can start the go live at the beginning and we
You have loaded this game and I will put it this to the left and especially to the
right I go to the bootloader
and this is where we are going to charge everything The first thing we have to do is go
here in the village he has to write this sees it
audio inside lakic let's call test and the address where it's located that
as here it is clear of assets it would be in assets and sandwich so simply
we would have to write point sandwich mp3 we save and with that it loads in the
memory now let's create and down here
we have to load the audio to a variable to use the play stop of
all the audio properties so I write audio led this name now
can be anybody will be equal to this song because we're going to access the
sound module and at to add and here we write proof that it would be the one that
I have to go here the next parameter that receives the
add method would be the look of the audio that can be true if we want it
repeat infinitely or false if we want it to be repeated only once
are going to lead me to create a kind of interaction with arrows so that when
press the arrow happen something to give this play of the audio and so
I write this input keyboard and point to listen to an event and
it will have to be qaidaun wright and this will execute a function and when it
press the right arrow the audio goes to have to be play
now I copy this and put it down and in place on the right that is the left
and instead of play stop we go to our browser and try
Lamar play and then stop
and we check that it works and it stops
the next thing we're going to do is copy this is going to stick it down instead of
go to the right and to the left
and instead of going to the right and the left we're going to put it up and
down
now audio play let's put pause audio stop here down reflection
to pause and continue the audio let's try
paused and let's summarize
worth the following properties is audio rate how are we going to copy it and paste it
down also and in the down we're going to put it 11
would be the speed of the audio in the time that is running ie
the current speed of music and here we're going to increase it to 0.1 and we're going to
check that what happens we're going to press king first then up and
then down well above to see how the audio increases and then down
now up
and we return to normal audio increases the speed of music
now let's see another property that is tuna tuna flame which is what goes to
do is that if we give it increase here in order of 100 will increase a tone
so we put tuna and here what we will leave 1 which is the current moment
what are we going to try play and then up and down
let's change the tone again
and then we see the normal
they set changes the tone a consequence of changing the tone is
that the speed varies a bit it's a matter of playing everything
be with all these tools wrong another one that we have would be audio
minute if this troupe is to mutate audio newt if this falls will sound like this
what are we going to try let's replay we press newt and let's go
to restore with down and it works
good another one that we have would be volume that if we subtract it 0.1 will go
going down and here volume
to a good one let's try let's give play and I will go down volume
If it's already a lot, I'll go back to one and that's it stop
the problem that mozilla does not seem to be that does not respond to volume but hey there's
other sound libraries that maybe in the future I use them and we could see the
bad another own that I have would be that will jump to the second of the music that
check here I put three jump to the second 3 I give him play
pressed up for the sic and jumped to the second 3
now we will see how to make fate out that we were going to erase this I write this wings
you have seen that the team are important
with a law and within the jayson targets and we aim
towards audio then the volume that we're going to which is what we're going to vary to 0
you see and we are going to put power 1 and the duration duration two seconds
I keep replay
and we are going to listen to the fei down
ok now let's see another property let's continue up here looking for this
space let's give play to music and if we look if we remove the context
the music is removed as we do so that the music to hold is worth here there is a
property that is this sound pause on blood equal to force and so if I give him play
and I remove the music is not going to continue reproducing
the other property is that we'll see that way over would be how to stop the sound
globally we wrote dyson stop old stop all sounds
if I copy this for the moment here in the stop let's see what happens
I delete this
pressures the state and it stops
in the global sound properties what is dyson stop
we also have pause would be pause all and region
and well that was all with this video so we want more in the sounds and
in a simple game we simply give it play stop and we increase the speed there
another way to load the sounds that we will see in the next video and we
we see until the next you remember comment subscribe and until next time
Không có nhận xét nào:
Đăng nhận xét