All language subtitles for 25. Improving the Scene Tree Structure

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
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
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

Before we add any new content to our game we should address some problems that we have

With RC

In the problems that I'm talking about by the fact that ability

Vials and enum

Are all just kind of Ronin

Is children under 9

This may note

And well that someone works we have a number of Prague

My instance and enum

For demonstrate

Purposes

You can see them

The enemy or render on top of the player always

Because it's lower on the tree

Then the player

And this is not exactly correct

It will look like the players always behind the enemy even when the enemy

Is supposed to be behind the player

And that will also be a problem for hr

Abilities so if I take a sort of building

This will just render on top of everything that is below it in the sea

And so we can have a situation which enemies are obscuring

The ability

That's not good because we want to be able to see what our abilities are doing

Subtitled by online-courses.club We compress knowledge for you!

And so we can resolve

Problem

By creating a couple of new now

So I'm going to go ahead and create a node 2D under me

Something hit control 8 open up the add no dialogue

Recall this one entities

And then I'm going to create another note to

And I'm going to call this one

And foreground would just be used for anything that we want to render above the

I'm going to take my player in drag

Into the

Make sure you've got this order with a tilemap

Is first an any entities in it

So get the player as a child of

Now watch me whip

I'm going to go to the inspector here in the entities layer

And I'm going to go to the ordering sex

And turn on Wi-Fi

Enabled

So where do I sort in a

I can

For demonstration purposes you don't have to do this

Instance of basic enemy Hero

And I can drag this

And you can see that does not rendering behind the player despite the fact that it is

Lower than the player on the team

If I move it past the players by position

It now renders on top of the

My sword does it controls the drawer or

I've known to

Based on

Why

Position

So when

An entity's y position

Is greater than others it will render

On top of

This gives the impression of Dad

When were

Working with 2D top-down games

Which we

I'm going to delete that anime

And so we want to put entities and vials on this level we need to know how to access

Is this later and what we're going to do is just simply going to

A group against all this is later I'm gonna go click on

And then go to the new tab

Stencil

Groups

And then I'm just going to add this to

The entities group

And I'm actually going to call this entities layer

Just to be extra sure that this is referring to a notice single note

And not to a group of

That can be a little

Recall that entities layer

In the group there

And then we're going to go into our enemy manage

Open up

Script and in here what we're doing is her simply just adding the child to the main

By getting the parent in an element

What we're going to do instead is ringing to say

Bar Anthony's lair

Is equal to

Tree

Get

First node in

And then we need to use that name their entities layer

Now we could do some defensive programming here

And you're checked to make sure that this entity's layer exist

I'm not going to do that in this instance because

I feel pretty confident that entities layer is going to always eggs

In the context

Having an enemy man

We're gonna keep this entities later here

An hour just going to replace this get parent

Entered

Leia

And I just got a spell that correctly ok

Fabulous and diesel Ireland

And then let's hit ctrl shift l and search for the vile

Component in open that

And I'm here again we're just kind

Spawning

Under the owners parent which again is the main theme

So we're going

Spine the Vial instead

To the edge

So I'm going to pierce that line that we copied

Entities layer Eagles get 3D

Get first node in group

And then just replace this line owner get parent with

Entities

In the final one we need to do is we need to handle the Sword of

Something to go back to my main

I'm going to click on the foreground

Then I'm going to go to now

Dislike groups again

And I'm going to add it to

Foreground

Leia

And an addict

Ok then I'm going to open the sword ability controller so again control shift order quick open

The Sword of bilty controller

And in here again

We are just adding the sword ability to the player

Instead what we want to do as we want to grab the foreground layer so we're going to save our

Foreground layer

Putting a straight under

Play The instantiate Light

For the sort of

Is it good to get tree

Dart get first noting

4 g

Leia

And then we can replace this player get parent

Foreground layer

Ok now let's go ahead and Run the game

And make sure everything is working as we

Ok and we can pause the game

By clicking the pause

1 appear in the towbar

We can look at the remote scenery

And see if everything's were

So we should see no free-floating nodes in our remote scene three here

And if we open up the end diesel Air Wick

Steve Isles and enemies as well

What's the player

And in the foreground if you passed it while sword ability was happy

You should see a sword

So now we got a match

Clean

Scene

And we've got proper why sorting and place so everything

Ok so I'm going to unpause it and just verify that the wise sorting is

Yes you can see as you run into enemies

It makes a lot more sense in terms of the

Draw order of

Every

So now we've got a proper scene structure in place

For building Moreton

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