All language subtitles for lesson082

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 we don't need any scripts currently if you have any scripts written

Especially if you're working on the

Unity basics tutorial

In the previous section

I mean that you can go home delete all of your scripts that are in the scripts folder here

The first script

That we need to you

The foundation

For this

2D game kit script that is on unities website

Image tutorial section

And the reason why we're going to take this and copy and paste it is because

They're certainly dozens of scripts that work in array

From scratch disk from scratch is because quite honestly after a decade of making games

I have never been able to write a precise

Queen

Smooth physics object script

A script that allows you to move the player smoothly across various surfaces across slopes

And not getting certain bugs and glitches

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

It's a really difficult script

I don't understand it and I don't expect you guys to know how to do it from scratch

Either

Go to Unity 2D controller

Tutorial

LEGO stuff here but all we need is the physics object script

And there's an entire package you can download but I just recommend simply

Copying this physics object script here

And then creating a new C Sharp

We're going to call it exactly what

Unity tutorial sets physics

Opening up in Visual Studio

Delete

And paste

That script

Yeah

Are we going to get back into unity

It looks like everything is good to go

So this is the only script work in a copy and paste

Entire 2D game kit

Everything else is going to be from scratch

This is going to be the Foundation of the player moves

It's a great Script I'm really grateful to Unity for their tutorial

On this if you wanted to dig into this you can certainly do that

But for now guys I'm just going to copy and paste it and we're going to move forward

Really quick guys we just want to add a minor change to the physics objects

This change

Is it going to make a lot of sense to you and I'll be honest it doesn't make a lot of sense to me either

Again that's something you learn as you're making games

Codeine

You'll find a solution and lining you don't really understand it that's ok

When working on the physics object script

It's important that there is so much complicated stuff

When it comes to platforming in physics

And I honestly I don't see the point in breaking down this

Kind of stuff

So all you ask you to do right now

Is just look at the next section there is a line of code

How much is a copy that line of code

I just want you to paste it over top

Of this for Loop

This is called a for loop talk about for Loops in this course

In the future sex

Now I just want you to

Paste over this

With that line of code

So just control the over top of it

And now we have a new line of code inside of a positive outlook scripting again it's inside of the movement

Function

And inside of the ear

Distance is greater than minimum

Just paste over that first for loop it's below the hip bottle

I don't know what the Script means I'll be honest with you it's been 10 years

Of making games and I don't even know what this means and I don't care I just tell it's going to work

So we're just going to say that out

In all this is going to allow us to do

Is Joe

Through

Platforms

Do something in unity called a platform effector 2D

And it's a component you can add to there is platforms in your game

And if the Script finds this platform effector component

On a platform

The player will be able to jump through the bottom of

That way we don't bother head on platform

So just go ahead and Pace that

Again to be absolutely sure

YouTube replacing this line of code

I just copy that code

And paste it over top of this

It's inside the physics lab

Inside of the movie

Funk

Inside of the Earth distance is greater than minimum distance

And just blow

The hit buffalo stack

So just highlight this and paste that new car

Now we'll be able to jump through platforms

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