All language subtitles for 54. Creating a Player Move Speed Upgrade

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

What's take a break from rui filming and our general

Visual clean

And let's add some new car

So one thing I'm noticing with the game is that a little bit easy because the player is very fast

So what I'm thinking of doing is

Reduce the player speed

And then

Give the player the opportunity to upgrade

So the first thing let's go ahead and open up our player scene

Open up that script

Can we go max speed of 120

5 know what I'm going to do before we go any further is this is a good opportunity to refactor to use the velocity

That way

Created

So I'm going to go and do that something instance of child scene

Velocity component

And I'm going to put that

Play first note here

And I'm going to put the acceleration to BH25

And the max speed 2

125 for an hour change

Because that will copying board

Alright and I'm going to get rid of confidence at the top

And I'm not doing already

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

Velocity

And I'm going to do that

Dragging the Blaster component over into the Elder

And then holding control

And that would generate an already variable for

Ok and then I'm going to do is just above this target the last

I'm going to call velocity component

Accelerate

Direction

And then we'll put in Direction right there

And I'm going to call the last new component

Dart move

Self

And we're going to remove these lines the target velocity and velocity

Assignment lines will get rid of those and also get rid of the move

So if we did everything correctly if we Run the game

We should still be moving at the same exact speed

So that's the beauty of using something like a velocity component is

We can add

Generic movement capabilities to everything with very little

So now we got the players max speed to something

90

And let's go and play that and see all that

Anord you should still be fast enough to OutRun everything

Not so fast that

It's TUI

I think 90 is a good

Yes this is feeling much now

Ok let's go ahead and start working on an upgrade to upgrade the playlist

So we're going to go to a file system over here let's go to resources folder

And then go to upgrade

What's duplicate any up Radio 1

Duplicate the sword right here

And Wolverine here before I do that

HR AXA damage

The wrong script

So we got the axe and let's just change is working right here to ask

So increases x x

Ok

Now duplicate

Any

331 or duplicate the Sword and I'm going to call

Claire's

Supplier under score

Is double click it open that player speed and let's give it an ID Coldplay Spain

And Max quantity

Let's say IMAX quality is going to be

2

And let's call it move speed for the name

Say increase

Increases player movement speed

I had to keep using the number

Sent by 10% is a good

Is a good number

So what you say 10% again you can feel free to play with these numbers however you see fit

What do you think that we want to do now

Is regard that player speed

So

Let's go to upgrade manager so control shift upgrade manager

Open up that script and we need a preload at

I'm here so let's go ahead

Copy one of these lines

And then paste

And this will be called upgrade player speed

I will change this path so that it's Claire speed that try

Just like so

And then for upgradable let's do upgrade pool.in are ready method.and item

Upgrade

Where's Spain

I must give it a small

Giving away of 5

Little less common

It was God that chill so that should all be all that we need to do to show that

As a potential option

So now let's go ahead and go back to our player

Open up the play script and we need a connect to that game events

So we actually have that already game event

Ability upgrade Adam connect to that

We already have some

Kodi

Which we're going to need a change so

Before we were checking to see if the upgrade is in ability and if not return

But we actually don't want to do this anymore

Invert this

So we're going to change this

Ability upgrade is ability

Get rid of a knot

What's remove that return an indent both of these lines

Is that so now you're saying only run these lines

If the ability upgrade is in a bit

Let's do an LS

At the bottom

And that means Elsa

We're going to say ability upgrade

Dad

ID is equal to in

Claire speed

Can we are going to want to increase her

Let's do a pass

Right there for now

And what we want to do is we want to store

H

Start

Right so we have our Velocity

Velocity component

Has max speed of 9

So I'm going to store

Dad

By calling a variable base speed

Is it good to

0

Then in the ready method in the first line I'm going to say base speed is equal to

Elastic component dark max speed

And then

Scrolling down here

To where we went our pass we can remove this now and we can save velocity component

Darts

Is equal to

Our base speed

X

Well actually this

Been based

Plus

And then base Beat Again

X

And then now we need a calculator

The percentage so this will be

Current upgrade

Claire Spain

And then we're going to index

Quantity

X

So again were so

Take the base speed x 10%

So that means

Every upgrade we have increases the

Percent and so we're taking the

The base speed in adding 10% or 20% of the base

Depending on how

How much coins do you

And the way that we can test this is I'm actually going to test this bye

Instead changing this number to something like

One here

To make it really a

And then I'm going to go to my upgrade manager

And I'm just going

Make the

Opera playlist I'm going to give it a way of life

$10

And that was pretty much guarantee that it will be chosen

And that way we can't

What's the make sure that that are

How old is

Titleist tour speed

And look at

Very fast now

So let's go ahead and undo always changes after verifying at work so change the way back

25 and then go back to the player and change this back to point

Alright and that's the player move speed upgrade

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