All language subtitles for 17. Experience Tracking

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

We've got the vials being delayed

When the player

Collides with them but we actually need to increment

Some kind of experience number when the Vial is collect

So we're going to get into

Custom

Signal

And how we can use those for our purposes

So there's a problem here which is that

We need to tell

Some other note

That an experienced file has been

Was that very clear how were go

To do that

Well we are going to have is we're going to have an upgrade manager now

That will keep track of the current

Experience number

And then

Trigger the

Opera

When

And perhaps we'll call it

Experience

So let's go ahead and do that first before we get into the

Signals

So I control an

We're going to add a type of others

And use the root note

Call this

Experience manager

Go ahead and save that

Into

Res scenes

Manager

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

Garden saving in there

Perfect let's go and put that experience manager in our mate

Kia Soul right click main instantiated child no

Experience manager

Going to drag that up with the other managers

Perfect

Go back to our experience manager and what artists

So click on the Script

And and default settings are ok

What's create a variable

The top 1

Variable

Current underscore experience

Is equal to 0

And let's clear out these functions

Every creator own function

Increment

Experience

And will pass in a numbers in arguments or number

Type is a float

Cornet

And then we can say current

Plus equals

Number

This is a very simple thing very simple function that we can use to implement our

Current Xperia

Now we are going to want to enhance this with

Some kind of detection of whether we've hit the next level

Have an upgrade

That's the comely

But for now let's go ahead and

Print

Current experience and what that will do

Print

The Xperia

The value

To the

Cancel

Of course the problem

Hardwick Hall Inn

Experian

There's another ways we can do

We could if we wanted to add the experience manager to our own

Group

And then

Detected

From the Vine

I think I better way to die

Is to use a global

Event

Singleton

So this global event Singleton networking to create

Well have

Away

For the

Vials

To call

Sum function that notifies the rest of the game

That a vile has been

So let's go back to a 2D view

Hit ctrl n on the keyboard

And then we're going to create another note of

Snow time

Call this

Game events

Let's go and save it

Case were going to create a new folder and we're going to call it autoload

Create a new folder in your seems Drive called auto load and save game events in there

I know what's going on artist

Default settings

So it's clear out all of these methods you

And the first thing I'm going to do is we're going to write underneath

Extend node

Classroom

Game

Events first let's talk about

Psalm

Methods that were going to

So what's going on

Let's create a funk

And we're going to school this in May

Vile

Collect

Let's go experience van

Soham

Experience while collecting

Let's passing.on number

Tight as a flu

Have a colon at the

As usual with funk

And what were

Do is we need to admit our own custom

Remember how are using signals throughout the apple using the time out to detect when a timer is done

Reusing area entered

Collect area 2D collisions well we can create our own signal

To notify

When our own game event

Have had

And this doesn't need to go through a Singleton

Auto mode like we're creator

It can be used in any context that you want

It's the way that we define a custom signal is at the top of Arthur

What I'm going to do is use the signal keeper

And this is going to be called experience underscore Vale under

Collection

And then we're going to pass out

The number

Is a flow cell noticed that this takes the

4

Someone looking like

Of function

I'm not going the right pass in here in the

Experience

A real quick just to get rid of it

So now if I go over to my game events and note here in the sea

Dark

And I got a note you can see now that I can actually see that my custom signal is here

Experienced by alkali

It was number

As a very

In order for the signal to notify anything it's listening to it we need to know what

Are you doing this function

Is we're going to say

Get rid of the Passover just going to say

Experience

Bile collector.net

And then we're going to pass in that number

Search going to admit our signal for anything that's listening to

Before we go

Go heading to Project

Products

Go to the ardilaun hotel

And we're going to add

Using this folder button right here

Add our game events coming to steam

Download

And then attach game events make sure you attached the dad TSC

It does work with GED files

We want to use the scene just in case we make any further

The game

Seeing

We don't want it referencing the Script

So use.to see and hear

And it looks like we actually don't need this class names are going to remove the class name

From that game events right

And then let's go back to a project project settings autoload

Go ahead and load it back up and click

Ok so we don't need a class name because it's automatically going to register

The game events as a global

Script

So we don't need to do that are

So we got a game event and what another does is essentially

It puts them now

That you've specified

In the same tree at all times the moment the game start

So this is essential

Something that will always be available in your game

Unless you manually free

So it doesn't matter if you're changing scenes it doesn't matter

What's happening in the game

As long as you are not specifically freeing this note

It will exist all

What's really good for things like singletons

Another global

It's a hard going to connect to this game of

Signal what we can do as we can go back over to experience manager see

Click on back over to the inspector

Just sorry things and can't

Let's go ahead and open up the Script

Clicking on the Script

And we've got our internet experience

Function

So what we can do is let override the ready method

Funk underscore

On ready what we're going to do is ringing to say game even

Experienced by are collected dad connect Sonos how we are connect

To the experience file collect

Jamie

Or game signal ourselves in this

Ready method just like we were doing with time out in area

I'm going to write on experience

My shrink this so that it all looks good

On experience Vale

Collecting

And then we can hear

Write that function on Xperia

And don't forget we're getting the number

As a float in here

And all we can do is just call increment experience

Now we could move

This cold here just into here one and two

But the reason I don't is because I like to have

My signal handlers

As distinctive functions from anything else that might be called

It's feasible to assume that I can call increment Xperia

From elsewhere

In the app

Write in so in that case I wouldn't make sense

To call this

This method is reserved for handling the

Signalling

So now with connecting to that experience while collecting

The final piece of the equation is to Amit

Right so

We're all connected up but as of right now nothing is telling the game vents to admit that

Going to hit ctrl shift

Open up the experience vinyl

Inside an open up the experience file script

Skip the button

On area entered where curlicue fringer but before eq3 let's go ahead and do game event

Dart

Experienced by all collected and will just pass one for now

Solicitor telling the game events

Go ahead animated signal

With the value of 1

Because that's how much work

Going to add to the experience

Counter

Everything work correctly we should be able to see in our output when we Run the game

That the number is gradually increasing

As we run around and

These vile

I like it

I've got 1 2 3 4 5 6

So now we've got a number

For experience it's being tracked

That flowing through

A game of

System which we will

Probably be extending into the future

And that's basically how we can use

Kustom signals

To handle

Different event

Throughout the game

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