Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
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.