All language subtitles for lesson094

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 have a coins you I created Wilson a hey

It's going to be a little bit different then actually just changing the text

A UI element

I'm going to do is actually create a UI Photoshop file

Is going to include a health bar in it so it's just go ahead and open up the level 1 PSB

Double click on that and would it create a very similar file

Service level 1 art file

Remember this our file is 3840 by 2160

There is going to create a new one

At 3840 x 2160

Create

Just really quick change the background

Be a little bit darker

So that we can see the UI elements that we create so we created a new layer here

Go ahead and create a rounded rectangle

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

Didn't see that just click and hold

Images rounded rectangle

Is going to have a radius of 25 pixels

No stroke going to have a white film

Just going to click and drag

And create

A white

Rounded rectangle

I'm going to leave it health

Bar

What's unlock this background layer that was created by default by clicking the log in less than name this

Background princesses reference and I just means this is for a reference in Photoshop

Use this background image inside of the unity in the assets folder

Art folder and then create new folder called you

Images called a style UI and be sure you choose the large document format that PSB

Not PSD which is the default

Say that

Image jump into unity

So it's going to import the PSD file

And again guys just like I level up here when we select our UI PSD file here

Reset the message type to fall wrecked

So that allows us to actually edit a spray

Create

Eternal individual sprites here

With bounding boxes around them

Meniscus

Is named the health bar too with the letter name was which is health bar

That looks great

So if we just drag the health bar with collapse this year

I'm not here

And drag the health bar sprite

Richest drag that in

Let's say maybe position it up towards the zero

About right there

Why is it going behind

What the reason why is because we're not actually dragging it in properly

Exactly not a u ion

If I hit play here

Note to self

It's actually

In the world it's not a UI element

That's because spriterenderer are not the component you wanna use

Creating images for UI

A Sprite renderer is going to be depending on the camera

We might something dead independent of the camera

Tesco head and just delete the health bar really quick

What I want to do is actually create an image component

On a game object in have there under the canvas game after

So just like a coins game object which has

Text component on

We want to create another game object

Has an image component on it

I just got a game object

You are an image

It's like that

Wo

Zoom out here

You can see

Ok I get it

Zoom out you can see we have a nice brownie box of 3840 by 2160

And then we have this UI on it

It's just a simple square because there's no sprite

The source image

In the image component

The first thing I want to do is just make sure this name is proper so health

Bar

And remember we also want to make sure that the

Encopresis is Settle top left

Just like we did with the coins text

Right

And then finally we can just go ahead and drag the health bar

Into the images source image slot

Alright so far

So good I guess got some weird scaling issues

We're heading clip this set native size button

Alright there we go OK cool

So we drag it over here

Now we have a health bar a bar Queen's that looks great

Basically we're going to work this to scale down and it's weird

Based on

The players health

So what happens when I just drag this down slowly

It looks like

Scaling towards the centre

We don't want that we actually wanted to go from right to left

As we adjust the width

So the way that we do that

Is simply change the pivot

Value here

In the recttransform component

The recttransform component is similar to the transform component of any game object in your game

Except the recttransform

Actually

Interact with the Candice

Right here

Directions form is unique to UI element using a standard transform component

Erect transform component is by default going to be added to UI elements

Pivot is one of the values that knew that we can change so we change the pivot value

Of the X20

And then scale it

Are we good

Right to left now

As perfect

Now all we need to do is just dragging over here

Maybe try scaling it again see outlook

That's great

There's an issue maybe some of your noticing

Rounded corners here are starting to get sharper

When is greater than the original default width and then when it gets smaller

A slowly start to shrink

We definitely don't want that

Where we fix that is simply to go back to rui here

Go to display editor

Can you use a something called slicing

Eclipse play editor

Zoom in

To our surprise here

Now the bounding box here in blue

Just basically specifies

Where were cutting this out

You think about this big image here

As almost like a transparency

With

Please images printed on

We could technically cut it out like this if you wanted to

Let's go ahead and set the blue bounding box

Toolbar right here

You may have been wondering where the Green dots

That's how we're going to Centre Parcs life

What is allows us to do if we click on the green door in drag down and then drag down here

And maybe here as well

Kinda hard to see is in it let's go ahead and click this button here

Set the background black ok now we can really see

What were looking at ok in over here as well grab this green.in dragon over

What this means that no matter how

Bigger how wide are how tall

We make this pride

The corners will not scale everything else will scale

Except for the corners

Again that's what the green dots signify

The blue Max just signifies where were cutting the spread out

So actually this dragon to that right there there we go

Alright

So this might not make sense but we're going to go ahead and apply here and I can show you exactly what's going on

Alright so let's shift the wet here

Well looks like it's not really

Changing anything we're still getting a squashed look

You know change the weight using the rat tour

Let's try that as well known as the width values as a shift using the red door

Our changing just like we were doing earlier like this

Well

Still getting a squashed look so he didn't fix it why is that

What's because you know image type it's not a symbol

Actually said it to

Sliced

So now you nearly knows that we want to take advantage of those green dots

Are there we go awesome

So no matter how far we go

Is still going to look like a nice clean rounded rectangle

Ok there's one problem here

Bring it down

Some weird artefacts of wearside make this bigger

What's going on there

So strange zoom in here

The more we zoom in the last artefact it looks

That's because we using something tipping no photos of you who have worked at 3D game you know what mething is

Mapping basically compressors a texture the further away from the actual object you are

We need mapping for you ion it's because well

I was going to be there whenever going to be a different size

Doesn't really want to use mate mapping for 2D and general so what we going to do is just go to are you I am not here

We're going to go to advanced

I'm going to change the properties

Are you a PSD file

Change the generate mipmaps to false

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

So

Reply

Now that these properties are changed

Individual PSB file

If we select this and drag back down

Perfect

Resin any mapping

It just for clarity guys we're not going to be adjusting

The scale ok

We're not going to be adjusting the scale

We're going to be adjusting the whip

There's a difference

The scale is the scale of the actual gameobject

What is the scale of this individual image

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