All language subtitles for 002 Organizing Variables[UdemyIran.Com]

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
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
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

This video will just be a very short lesson on how we can clean up the variables on the left side.

For the health system.

I already talked about how we don't want to create too many variables because things can get unorganized,

and we created this nice component where you can put everything inside.

But a lot of the things that we created now aren't really big enough to warrant having a component that

makes sense, and it would actually complicate certain things.

But there is another way in which we can make things more organized that is very simple.

We can simply create categories here on the left side.

So we have the shooting here for example is shooting and you can see category default.

So here I can just write shooting.

And it can create this new like header here.

Right.

So then we can also get the pseudonym.

And here for the category I can just pick the shooting shot energy.

Same pick the shooting.

And now we can just collapse all of this.

And this just easily makes things more organized without having to go through the trouble of making

components for some things where it, quite frankly, wouldn't really make sense.

Let's just continue doing this now.

Right.

So is there anything else for the shooting?

Well, the shot energy, for example, is also shooting.

Right.

So we can do this.

The charge time is also related to the shooting.

So we can put this to shooting full charge time.

The same put this into shooting was hit during charge.

Well it is related to the charge of the shot.

So yes this is also related to shooting.

A projectile to energy is also related to shooting.

Anything else.

I don't think anything else.

Right.

So this is all the shooting stuff.

Just collapse it.

And it is so much easier to see what's going on here.

Next we want to look at the overlap damage.

And this is related to let's just say vitality as the vitality component.

Right.

So overlap damage invincibility duration is also vitality.

The sprite flicker interval is related to the invincibility.

So yes vitality.

The flicker handle as well is related to this.

Next we have the knockback power.

So here we can just create a knockback.

Category.

Put the knockback power both in here.

And what else do we have here?

So the base lateral friction is something very basic I don't think we need a category for this is stunned

and stunned duration.

Well we can create a stun category here.

Stun and put the stunned and the stun duration in here.

Stun right.

So now we cleaned all of this up.

It's going to make it a lot easier to work with this.

And we can do the same thing for functions actually.

So here for not just the variables but for the functions.

We can also go to let's say restore shot energy.

And here we also have category.

We can actually use the same categories which we created for the variables and can just reuse them here.

So restore shot energy is shooting.

Sprite flicker is a vitality update.

Rotation is just general spawn projectile again is shooting.

And try charged shot is also shooting right.

And again now we just cleaned all of this up a little bit.

And if we're inside of here right we can still just look for a try shot.

Wait, what is it called?

Restore short energy, for example.

Right?

We can just call our functions the same way.

The category here doesn't have anything to do with this.

This is just for organization, and this is just a good habit to build, to organize your blueprints

over time, because otherwise it will become quite unruly.

In the next video, we're going to make the charge flash material.

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