All language subtitles for 77. Creating an Anvil Ability

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 create another ability for the player and what I want to do as I want to create an ability that makes it rain

Girls on top of enemies I think that is going to be really fun so we're going to use this envelope

Sprite to do that so

I'm gonna go ahead and going to my tiles and find that Anvil

And it looks like that style 0074

So I'm just going to go and drag that into

Into there

Now where's my abilities at ok so I have all of these folders I'm going to create a new folder

Cold and availability

And again just to reiterate I am going to be going quickly through these sort of Port postcode

Lessons again this is mostly just to illustrate the process of adding even more

But fundamentally will not doing anything different here

So this is mostly just extra reinforcement

Alright so many creates a new scene with in that folder after moving my image and when I call it ends

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

Ability up now I want to create a new scene

Anvil ability

Ok that work fine

Can I use a tween for this

Add another sprite

Basically they're going to rain down out of the sky

Yeah perfect I'm going to do an offset though

Like so

Yeah that's fine

And we're going to need a

Hitbox component

Like so

Audi child node of collision shape 2D

And this is going to need to be a

Circle shape like cell

And centred around I guess the bottom here

I'm going to make this circle shape probably

Ab24 it does damaging quite a large radius alright then and then

It's going to be disabled by default because we don't want to date so basically was going to happen as the Sprite is

Going to start up here and slam down

Like cell

In actually maybe I'll just do this with an animation player it'll be easier

So I'm going to add an animation player

And I'm going to create

New

Default

Autoplay

And then I'm going to

You the Golden .4 seconds

Alright let's keyframe the Sprite position

Like so

And I'm going to set the initial position up

Something like

Maybe 96

I think that seems good so it's going to hit the ground

Maybe after

Change the snap 2.05 maybe after .15 seconds it's going to hit the ground so it's

And we want this to have some sort of eating

Perfect and maybe we'll do .2 seconds

Awesome ok and then after it hits the ground it's going to bounce up a little bit

And then hit the ground again

So

Remind me when need to make this -6 or something

Alright so that gives a lot of impact thereby

Bouncing a little bit

Change that easing Curve of this 12 1.74 just to give it all the

Put more into space because you have to imagine gravity is an acceleration right so if you haven't falling at a constant rate in a look

That's why I'm using is eating here because it starts off slower and then it speeds up and then gives it

A lot more feeling of weight here

Ok and we're going to want to keyframe the disabled as well

So that should start off as disabled when it hits the ground it should hit

So that it becomes enabled

And then at .3 seconds will turn it back on to disable soap

It'll be enabled for .1 seconds so about 6 physics creams as well when it

Will be able to damage enemies

Ok

So with the other way now we actually need to make this animation longer and I'm gonna try changing this to cubic

I actually think I prefer the linear interpolation mode

For that yeah I think that's much better

And then it doesn't matter for this for bullying so it doesn't really matter what the interpolation is ok

Now I do want a change the scale of the Sprite 2D as well

Solas change the scale

And it's going to start at 0 and feed into one

So that it's not just appearing I don't know where it actually has some sort of

Phaidon

And actually without realising is we probably want

The Sprite here

To be centred

Which means that our position needs to be different so I'm going to create a new child visuals

No time to die

Yeah I know to you

My creative visuals note

I'm going to put the Sprite as a child of the visuals and then

The position and I'm going to animate is going to be the visuals position said the Sprite 2D position

How to change the reset track as well

The reason I'm doing this because it's just easier than trying to offset I like having my position be zero-based about

So 0 means it on the ground but if my spray texture is scented then

It's like below the point where I want it to be right but if I say ok with the visuals is the

Sorry the feet of the item or where touches the ground that I can freely move the Sprite to these position

To be up to I want it to be

And now I still do I don't have to change any of this position innovation everything is still zero based

And

It looks nice

Ok and then so after the .6 seconds we wanted to feed out again so I'm gonna add h

Neil here of one and then

Scale down to zero at the end

Perfect

Ok and then we'll also want to call Q3 so I'm going to call method on the end of the Builder at .6

Q3

I love free things at the end of the animation because then I don't have to worry about waiting for it in code

Alright

So that's essentially our Enville setup

And

Maybe I'll make this collision shape 32 instead of 24 just was a little bit larger because the plan is to

Random

Ok so let's take a look at her sword ability controller

And

Let's see here

So it looks like you had a thought about you control is basically just responsible for spawning it on interval so

Let's just create

And you seen in the end of the build ESO new scene

Anvil ability

Do I have a different yeah ok so I have a different folder

For the controller so Enville ability

Controller

Calyx krater new scene of type node

And then I'm gonna call this Enville ability

Controller are getting save that in scenes

Game object or sorry rather scenes ability

Angel ability controller save it in there

Perfect at a timer that's give it a timer of 2 seconds auto start

Do you want to do one shot will leave it at a start for now

Create a script for it

Alright and then hear what we're going to do is we need

Export variable

Angel ability

Seem is Evil 2 well it's just a type of packed seem like so and then in

Ready method we want to take the timer and

Wait for the time out and then dart connect

On timer timeout

And then Funk on timer timeout

What we're going to do is now we have to think about the educators what happens so we're doing a stew

Random position in the radius to drop the Anvil but what happens if the player is up against the wall

Series about right

We probably need to do some sort of Ray cast

But let's go ahead and say

Constant variable here in call

Base

Range animal set it to 100 maybe we'll see how that feels but what's a base Rangers 100

Let's say

Direction is equal to Vector to write

Rotated

And then we're going to do

Rand f range

02

Tell

Ok what save our position is equal to Direction

X

Rand f range 02 base range

I know we do need to do a collision Jack so if we got or enemy manager

We have this basically already done for us I'm just going to copy these

Two lines the query parameters line in the result line

And then

I'll go to my

Enville ability controller

And Peace does lines in there

And this could be extracted into

Like an Oral in Singleton maybe but

Ok so we do need to get the player so it's save our pleasure is equal to get 3

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

Get first node in group

Player in an eight players equals in lol

Then we're going to return at that

Ok this is as no 2D

And then our was called a spawn position

Ok so that will give us

Our results here

It will say if not result is empty

Then

Let's see what does Returns it returns a position which is the intersection point

So what we can do as we can

Go back to our envelope building we can say

Spawn position is equal to result

Position

So I'm just going to re assign a spawn position if there's a collision like so

And it should be easy and then we can simply do

Denzel ability

Is equal to

Enderal abilities seen that instantiated

We're going to do get 3

Snowdon group

Foreground underscore layer

Dot and child angel ability

And then Enville ability that global position

Is equal to

Spine position

Alright so that should be all that we need to do

No just a test it really quick

I'm going to go to my player and instantiated the Anvil ability controller in my abilities

No there

Let's see if it works

And I forgot to set up my

Export variable here so

Welsh dragon over the end of the building there

Something is going wrong way it is not

Working

And why is that

Who's going to print the Anvil ability global position in just make sure the dad is working as I expected to

Ok sorry invalid builder global position is like completely wrong if I go to the top left corner I can see that it's morning here

So there's something wrong with this

Alright my spawn position

Needs to be

Right ok I'm gonna move that player block up

It's because my spawn position is not based on the player position so I can say

Player that global position

Class

Direction X random range

Ok so now we should be good girl

Is actually not doing any damage so it's going to make it do damage

Summoner create a

Variable base damage and I'm using Constance now I think I use variables before it doesn't really matter but

No base damage is equal to 15 give it a high damage

Because it's a random

And then we need to take that and availability

And we need to make the hitbox component accessible something to add a script to the Anvil ability

And then just drag on over

That hitbox component so that way we can set the damage

So Angela bullied at hitbox

Component

That damage is equal to

Face

Damage

Alright so let's see if that works now

Ok still no damage happening why is that

Because my hip pops component does not have the proper players said

I do not instantiate a hitbox component

So I need to

I did the wrong thing so you have a custom class name and I like search box hitbox component here

Actually instituting the scene that is just creating a note of area2d with the Script attached to it but not

We want instantiate the scene

Hitbox component like so make sure you have this open in editor icon because that comes with all the

Settings that we've set up as well

So now with all those issues resolved now it should work

So that appears to be working just fine

Ok so not at working I'm going to remove that engility controller from the player

And then it needs to be coming up green so it's got a resources upgrades

I'm going to duplicate the

Trys so duplicate Enville

And this idea is going to be Enville

Next one please can be one

Anvil

Drops anvils randomly on enemies that's going to be a description and then we need to

I think the ability controller scene

So Angela Billy controller drop ride in there

Perfect

And let's go open our upgrade manager

I had an open it up and we need to preload that resource so far

Upgrade anvil is equal to preload

Anvil

Trys

And

Let's see

What is added below the axe here upgrade pool.at item

Upgrade Anvil

Also 10

Out again that will filter out because the max quantity is 1

Alright so I just make sure that this is working and Bump this up to 10000 basically guaranteed to be chosen

And now I've got her angel dropping on enemies

Alright so that's it for the ability I'm going to set this back to 10 and I'll see you in

Adolescent

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