All language subtitles for lesson123

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

We can also make the

Animate is well so what I'm going to do as I'm going to go into my enemy prefab

I'm going to create

In animation

A new folder

And we'll call this enemies

And this first enemy type is going to be a walker

I'm going to call this Walker

Lock

So what I'm going to do is just have him sort of squish right so you click the record button here

And all he's going to do it squish up and down up and down so I can simply

Have him start about here

Go to 1 seconds and squished down like this as his wishes down

I'm also going to squish

Horizontally so it's almost like he's compressing see that

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

How many copies of the first frame based at 2 seconds

Ian is a little extreme

Bring him up a little

And I do something like

This is here

There we go

Alright

That looks great

When you can see the attack box

Is squishing as well which is totally fine

Alright so that is

Simple walking state in let's go ahead in create

A hurt state

Remember you only use the same sort of naming conventions in your game whenever you're creating a new animation or a new character

The Script are we speaking at naming conventions and syntax so with the player

It's cold player hurt

Just go ahead into the enemy

Create a new animation called Walker

Hurt

Emily use the same sort of mentality here we're going to disable the sprite

For a brief second

Come back and see her after half a second and that's a little too slow

So something like this maybe

Yeah that would be great so

The Sprite renderer is disabled in the Pops back on

Such as a symbol indication that he has been hurt

And because you and I know

Slightly what we want to do here with this in American dollar

When you slept on the enemy you can see now we have a new in American troller just like we had with the player right

Well let's take a look here

If for example we won in the

Walker for some reason to start out as hurt the moment

Press play gashi right click and save set as layer default state

And Hill start as Walker hurt

But we definitely want to start as Walker walk I just wanted to show that that's what you can do it you can

Change which one is orange which means that the default state that's what we start at

Ok so it creates a minute here what do a trigger and it's going to be

Hurt right now please be careful here

Do we want our premises to be uppercase

Remember guys if you're working with the team or if you just working with yourself for the long-term you when I have proper syntax

I think I may have been a mistake here

I think it might need to be a lowercase w double check your let's go to a player

And look at his premises

Those are all lowercase just like a variable so always be careful with your parameters in Odyssey

Is your premises they should be lowercase all the time

Because the basically variables variables are always lowercase

Functions in classes are always uppercase

Ok just go back to it enemy here

Change this to lowercase

Hurt

Then we're going to create a new transition

Make transition

And do we want

Hurt to be looped

Note so I can double click on the animation

Turn off the time

Go back to a transition here

Nsp condition if hurt

Then go to The Hurt animation

Do we want to wait

4

The Walker walk in a mission to complete meaning do we want exit time no turn it off

We're having an immediate transition very fast and snappy when we get hurt

Or when the water gets hurt then we're going to get another train station back to Walker walk do we

An exit I'm sure something like .3

Transition duration

I don't think we need one

That's fine

Any snow conditions for that

And also guys

We want to make sure that there is an interaction right so if were transitioning back to walk and you punch the Walker again

Do you want to immediately

Cancel this transition and go to this

Absolutely

Does turn on in Russian tortoise is going to be the next date

Alright save it out here and then finally

We're going to go to the enemy script

Here we go we have this heart function here so what we need to do first is go up to you are references in the enemy script

I'm going to do is alphabetically we gonna start of the top tier of the references section

I'm going to go serializefield

It's going to be private

It's going to be an animator class

Animator is the name

Abacus and then lowercase

For the name then we go down to our hurt function

I'm going to type animator set

Trigger

What's the trigger

Say that out in the back in the Unity

N1 final thing guys

We want to make sure that are animator

Is define right so let's go to our enemy script here

Dental references

Looks like animator is not defined so we argue just drag in a meter and again guys just to review

Technically we can also

We defined it in the start here we could do a animator equals

Getcomponent

Animator

Something like that too but I seen a reason why we can't just drag and drop it

Selco hip play here

And see what happens

For some reason error

Enemy disappear

Why is that well is down here

This is actually a common problem and I wanted to addressed in these tutorials basically what's happening

Look at that his position is being set why is that

What is because in a walker walk in a nation look we didn't just adjust the scale looks like we all

For some reason

Adjusted the position

So his position is constantly being set to this value here

If I turn off the animator go actually go about his business

So what's really happening to jump into the enemy

Emily show you what happened

When do you use the right tool

2 scale things

Well

Are falcons at the centre so unity is doing some kind of mafia to keep his position at the rights but you can't even

Jittery right here

It's actually moving

The object isn't that weird look at the Y position

As a skillet

My position is changing

So what happens if I delete the enemy position properties from the animation

This is what he actually looks like

When we scale him

We don't really want this because like his legs are rising up he's not actually stuck to the ground

So how do we address this how do we make the fulcrum at the bottom

Well

Where could do is actually go

Select my enemy Sprite here

City graphics hearing quick spray editor

How many go to this

I'm going to go find my enemy here

Where are you and he's somewhere

Is somewhere to go ahead and selectors enemy here

Address Lee drag

Fulcrum or the pivot

To that right here to that

Basically app .5 let's move it out here and then 0

And then I'm going to apply

Alright what exit out of spray editor here

And luck

Now he's centrepoint

Is actually

Hear insides pushing him up

What's go ahead

And make a scale

Just a perfect one

And look I want to make sure that were not in preview mode

Ok exit preview mode going to say his scale to one by one by one that is default original scale

Ok

So

Now his Attax boxes down there so it's actually just move it up just like that

So now when you look at the scale look

He still squishing but we're not changing the position that's what I want ok good if I did make sense

As I totally get it it's one of those things can a weird with unity when you change the pitch of a spray then it does

What's a shift

The exposition if that makes sense I would recommend just watching that portion over in really trying to understand what's

Ok

So now hopefully when we have play here

So he's kind of working but for some reason covering why is that well you want to be careful guys

When you go on and change the pitch of a Sprite

It's going to change other things as well like the rigid body

And a capsule Collider so let's take a look at the castle I see

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

So we really need to position the wire up to about right here

Ok

I say that out

And hopefully your fault of the ground now

Barry goes

There's nobody

So

Again I told you any any minor tweak to the right

Is it a whole lot of the weirdest shoes take a look

Now our raycasts are at his feet so he's barely touching this in heaters

Ring stuck

Amies pieces of ground

So what we need to do is we need to tweak

Is raycast offset right member of the raycast offset

We can see here checking

We can see here checking for the right and left wall

He needs to be

Also adding

The rake S2 offset

Ok so we need a

We need AD

Raycast

Offset why

How many do the same for this one here

Ok

And that's for checking for the right in the left wall

And also just make sure you do it for the debug as well

Alright say that

Alright you're back in the universe here

And

Win a set of raycast are set to .5

If this is working for us

Till the tiger anime is

Sort of salary moving

As he walks around

What about punching him

Looks good there's also an effect when he gets punched

Great

The next video we're gonna talk about it is particle effects for destroying enemies for footprints

Punch effects

And I'll see you guys in the next video

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