All language subtitles for lesson076

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian Download
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

So what if I wanted to allow the player

Actually use the keyboard to move

The Block

I'm back in the unity and clean up a little bit so it's delete these here

So now all we have is a player I'm going to save our scene

And what we can do is actually go to our unity

Input 2-litre project settings here you can actually go to the input manager

And it says your this is where you can configure the controls to use with the unity engine that input

So all this really does

Is it allows us to basically map which keys are part of which category security we have

Fire to fire shooting maybe that's reloading is a jump

Mouse x Direction y Direction

Is all sorts of various what they called axes

Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1

So we can go to the horizontal one this is where the player is going to move left and right and you'll see it's name is horizontal

And the negative button is the last key

The positive button is the right key

The alternative negative button is a that's what I usually like to use when I'm playing game for the keyboard

An alternative positive bunnies

You guessed it die

The same sort of logic applies for vertical as well

Down key up key

S in double

And Paisley what happens when I press any of these keys

You basically smooth

The value of the flow values in the case of horizontal when I press the d key it's moves to pass

1 or

Another way of putting it

Lyrics

And eases towards positive one when I let it go it eases back 20

Anyway press left

The negative button it goes to -1

Can I could show you

How is works in our scrap

Search a script here

In all going to do is type input

Dad get access

An end

Quotes horizontal

X speed

X x delta time

So

To review here

Our position is going to

Increase along the x-axis

This is the x axis equation basically so my current horizontal value which is

Going to be one if I'm pressing d or negative one of them putting a or left to right on the keyboard

X the speed value

And we could actually rename this to be a little bit more

I guess into it

So let's do a speed multiplier make sure we take that and copy down here

So what are Speed multiplier

NN x

Our time that delta time to insure it

Not dependant on the frame rate of each computer that's playing the game

Can we get say that out

And what's my car speed multiplier just a value of 1

Fell in save r script

Will we go back into unity we wait for it to compile looks like we have no ears

Go ahead and hit play and see if it actually works

So when I'm pressing the right key at the ride on a personal f key

I can go to the left

Very cool

And guys we can use the same sort of logic

In the Y Direction as well so it's jump back in or scripture

And just simply copy this

Entire equation here

Empire Cinema y axis Museum at here

Tell some sort of

Logical exactly just copy the speed multiplier and the Delta time

In remove it completely

And I just multiply it here

Can we do I have to do it multiple times

Say that out

And what I also want to do is just go ahead and serialise this private speed multiplier value

So that we can go and tell immunity in twechar

Twilighting

Go ahead and hit play here

As you can see we have a bit of a bug and pressing left and right here but for some reason it

Putting us up and down

Why is that

What's go back into r script

You can see it didn't actually fire and air

Not all bugs are simply glitches or errors sometimes there but you intentionally put another code in you didn't realise

Solihull planning notice

I have two horizontal values

My field here

I'm at the second value in the vector3 is y

Play music vertical

Don't save it out

And let it play

Set looks like I move left and right

Up and down very good

Alright

Telescope hinges selespeed x 5

Save it

And

This will probably be a great way to explain what's happening

Do you know this How I slowly decelerate

That actually because when I release the left key

In this case I'm pressing

A and releasing it

The left input value is actually lerping or smoothing or easing back towards

Slowly goes back to zero

Now it's one

And then I'll let go and it slowly

Goes back to zero

Just to clarify that let's go ahead and just debugger

Debug

That log

And you'll use this one I like I said memorise debug.log

Let's check the horizontal

Value and see what it is

Play here

And take a look in the console window

What the value is

If you ever see them stacking like this it's certainly annoying so all we have to do is click collapse

And now that shop in one

Field hearing you can see that

This is the amount

Earth x

That this message has been communicated and right here is the actual value

So if I press left here

You see the value is 1

-1 almost -1

Got the right almost positive one in it goes back to zero

So that is what's happening

When we use input that get access

So that is how we move the player

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.