All language subtitles for lesson132

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

There are very few things that can

Drive a player more crazy

Then when they're trying to jump when maybe falling off of a lead they can't

Maybe it feels like you know it little unfair that

They pressed it when they thought they were on the lead

Maybe technically they were but that's what they think and I feel like they're being cheated right you say

Place with something called for forgiveness now it is called a lot of different terms in the industry some people call it lead

Forgiveness but I like to call it for forgiveness I guess because of the alliteration of it with

Forgiveness basically you start a timer the Mum at the player

Falls off a ledge and you give them some Grace you give them a window a max value so we can

That Max dies going to be called the for forgiveness so

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

So that means that the player can fall for a period of one second and in between

The period of one second we still give him the ability to jump out of a new player here

And you can see hear that

This is where we're out allowing the player to jump

So if the player presses jump and were grounded

Set the velocity

Tua jump hour value ok

So if these two conditions are met then jump well if the player Falls

Table Edge

Grounded it is immediately set to false and they just can't job even if there is a split second after

Going over that ledge

Ok

So what we're going to do is we're going to create those two variables that up here

The first one is going to be a serialised field

And it's going to be a private

Float in this can be called false forgiveness

How much is said this to one and that's why some comments here

This is the amount of s

The player has

After falling

From a ledge

To be able to jump

That's what that is another serializefield we might on the serialise this later but with

Call this private floating where call is for forgiveness

Counter

And this is the simple counter

That will begin the moment two player

False

From a ledge

It's go ahead

And start that counter

When will the counter begin taking up

Well it's after

Grounded becomes Fosse

Ok

I'm gonna put the right here

What's Wrexham pseudocode

Call Daddy

Here

What's writing pseudocode

If the player is no longer grounded

Is no longer grounded

Begin counting the fall

Forgiveness

Counter

So if grounded

Is set to false when we can put an exclamation mark front of the variable and that means if

Grounded = false

Then start counting

For forgiveness

Counter

Plus equals time

Die

That means I'm just going to increase

Every second ok

Now

If grounded is set to true

Well then for forgiveness counter

Is going to go back

0

Ok

Cisco head in test this out and see what it looks

So if we have play hopefully when we fall from a ledge

Before forgiveness counter

In the player

Looks like your player here

You'll see that the for forgiveness counter will start to

Kick upwards so let's fall right now there it goes

So it's slowly taking upwards

I'll try again

What's the faulty Guinness counter

So if grounded equals false it's going to start taking up

And goes back to zero there goes

Pregnancy

This allows us

To check and see how long the player has been falling for

It's been falling for 3 seconds well

At this point if they're fault they decided to fall and we should allow them to send me the other job after 3

Ridiculous

But if it's like half a second

Then we won't allow them to jump or maybe even a full second so that's what we got right here which is

A fall forgiveness value of one second

Was jumping back into a script in ensure that the conditions are correct

In

This line of code here

So if

Getbuttondown jump is true and

Grounded no we don't want that

And

Paul forgiveness

Counter is smaller than

The four forgiveness value

Then allow the player

The jump

So if the forgiveness value here is one

As long as the counter is less than 1 so as long as the player has been falling for less than 1 seconds

Then we can forgive them and allow them to jump

So what we're going to do here is simply

The moment the player does decide to jump

Within that for forgiveness window

We can be extra sure in just set grounded

Two false cuz were absolutely sure that grounded is false we're going to wait for that value in the

Physics

Objects representing just said that grounded false just the extra sure

MMA

We also want to set the for forgiveness

Counter we want to sell it

2

The forgiveness of Allah

This is to ensure that the player can double jump within that for forgiveness window

So again

If they need these conditions meaning that pressed the jump key

But they're also within that for forgiveness window of one second

Then they can jump

Wilder falling

But the moment they do jump

We're going to stay grounded the false and working a set that both forgiveness counter

3 equal to this for forgiveness values year in the reason why were doing their is so that they can

Double jump

What's this song

And Theatre works

Be sure to watch these values over here as we're playing

So if I

Fall off this ledge

I can jump

But I can't double jump that's the important thing for jump

What that far forgiveness is a little bit too forgiving in my opinion so let's make it

About half as see how that feels

Not bad

I don't mind that I really don't

Think at the speed at which the players running

Maybe making a little bit smaller actually just a tiny bit smaller

About .5 seconds

The best way to test this guys it's just pretend you're playing a game have some fun in

See it feels right

You want to play if you like to have control but it's still challenging

Good good that feels pretty good

So big jumps like this are good test

Alright it feels great

Alright 0.25 s is a perfect for forgiveness I'm going to memorise that exit play mode and then be sure

.25 seconds

And make sure I apply

Can I buy prefab

And we're going to go

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