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
Indonesian
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
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
Play let's go ahead in a make a punch animation ok
Currently we don't have an upward punch really programmed a downward punch or anything like that
Are we need right now is just
Very simple punch ok so let's go ahead and create a new animation
How to replace folder in cod player
Punch
Hit the record button leaning forward and maybe rotate his leg like this
Here we go maybe bring him down a little bit
Bring this down just a tad
And
See
How do I wonder look
It's chemical
Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1
Nice low punch
Eureka
And just bring him down a little bit so it's feet are able to touch the ground
Awesome ok
Maybe this one's up a little bit
And
Sapphire that looks great alright
Go to animator here
And you can see now we have the player punch well when do we want the player to be able to punch
I definitely want him to be able to punch pretty much
Any time he wants to ok so this might be a great opportunity to you
Any state alright
What's go ahead
Make a transition from any state
Two player punch
There's going to be no exit time no transition duration
And we're going to set the condition to
If attack
Then touch
Say that out then we got a job to a new player script and take a look where we're going to be triggering the attack
Trigger
What's going to happen
When we press the fire
But I'm right so here we're going to enemy City animator trigger so animated that's it Trigger
And it should
Trigger this attack does
Doing a player punch
What's double click on a player punch there's a few things we can do really quickly here don't have it loop
And that's about it let's go ahead and hit play here
Great
Set the Punch occurred
Next thing you want to do is have some kind of transition back to
Are stadia I think going to play a stand is all we really need ok we're going to have no condition
An exit time is fine maybe something like point basically about how long you'd want your punch
That's ok because there's only one frame the Punch animation so
I cannot wait my points to be something like .2 seconds
We can have some kind of transition but .1 is fine let it play
Jump points jump jump jump jump punch
Great
There's a few things here that might like a little weird I know for certain that if I'm in mid air
And I'm jumping in a pint going back to the standard state is a little weird isn't it
When I'm running what about that
That's fine have you got to the state and state from Iran doesn't look that weird definitely when I'm jumping
Punching it looks weird
Going back to the stay and stay that's definitely weird what about just falling
Let me see here
If I'm falling here in a punch
Yeah it's all a weird let's go ahead and just address the first one which is the
Punch information to transition to the jump animation if we're hitting you know the various jump
Conditions so what's the first condition to hit
Well it's if grounded is false right
If Grandad is true we're going to go back
To stand
See hear
Same story exit time so
And also transition
2.2 and then
.1
Obviously matching these two transitions going to stand or going to jump depending on if you're grounded
Save it and see how this looks
Punching in my hair looks good
I don't mind it that's for sure
I think the Punch last a little bit too long so it's due
Point wine try that out
In the transition duration is a little fast in my opinion
Weather Slough so what's 2.04 and 4
That's great now we can sort of spam click see that
Awesome
Looks really good ok so get a punch so guys going to add all kinds of effects and sound
To this but for now I think this looks great what if we wanted to make it so that the player
Instead of punching in me there would kick in mid air right so it's going to click on iPlayer here
I must go to create new clip animation characters player to go to player
Check
Kerosene here click record my screen some kind of kick
Animation rate
Can I be something like this
Can I get karate kick right
Yeah we got something like that
Does that look good
Or does it need to be more like and see her
The like here we go
My VAT
That looks funny anyway that's fine
Some about right guys we have some weird
Is going on here and those can be fixed by repainting car reg memory painted or reg
What price is missing a very.co up there so I'm gonna fix that in a later episode
But for now I think this looks great
Alright go to animator and as you can see
We now have the player kick animation
Hanging out in the ether right
So
The player punch is occurring from any state right
We transition to play a punch well what if we said if a text is true
In grounded is true the play one punch
But
If grounded is false
Emma attacking
Then we do the player kick
Right
What's make sure that these transitions are very similar we have no exit time and no transition duration
We don't want to loop and then we also want to have
Transition back to stand
Right
Water jump
Well I know for certain that I'm going to be jumping right
So we can actually can it kill two birds with one stone here
We're going to go to player jump
Just like we are with this transition
So we're going to say if grounded with there going to be no condition because I know that I'm in the air from kicking
So I know the exit time is going to be 0.1 in the train transition-duration is going to be 0.04
And I got a job here
No what is this mean we don't really need this conditional transition anymore because
If a player is kicking their going to be jumping if they're punching
Well
To be on the ground so we know that the Punch is never going to go to jump
Ok
To see how we cleaned fed up
We don't need this condition anymore alright everything was good till it hit play and see what we Guy
You got a kicking me there it's terrible
But it gets the point standing punching kicking
Punching
Kicking
Do that
Alright
So see if we can get that kick working a little bit better right now it just looks
Alex really really bad and that's ok
And I think it needs to be like completely straight and I know
Let's go ahead and fix this glitch here so let's go to our
Character art here go to the spray editor and go to our skinning editor
Ennis go to await brush here and do a little testing here
Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1
Alright
What is going on there
What is that
What's the free games really Street this app
Alright yeah I think that might be what's going on
So what I mean is we need to paint that little piece
Alright
Let's try this out
Have you heard this and just paint
There we go
Ok I think that might be good
I think that might fix her problem
What's a reply
Are you ok problem solved Let's Play gameplay here and try and figure out
What will you call this a roundhouse kick certainly around house kick
Play car
The charter Inn
The Super Nintendo Game final fight his name is how he would do this is like a
Just straight kick so like if we go for a player stand
Well well well that's a good
Wigan rotating map board
What's like I pelvis rotation needs to be rotated outward
2
90 degrees
And then dislike needs to be adjusted properly yes sometimes you have to set keyframes
Certain body parts that you're manipulating in future animations so it's go to
That's our pints that's not good then we go
And now he has white tick very close
Ok
Look absolutely terrible
Alistair sellers Oliver information to make sure they look good
Ok this one needs to be rotated up to 90 degrees
Yeah
Yeah
So because we rotated pelvis we get some issues
In the head as well
Does it make sense because we rotated something in a new animation
The rotations are confused for other animations
There we go
Does set a required America ok ok I think that's
And then here's our kick animation must try this out here is his standing position and
Go to a kick
So what we can do is put this push this over just a tab like that
So it feels more natural and see how it looks
Yeah it looks really bad
I think I think you're definitely you know
Whitley learning rate and that's ok
Hilarious take again and try out some new stuff here
This might work
And maybe move that down a little bit
Trailer
Well my punches bloody now
What has happened there I think I was manipulating my punch yeah was
Go back in time that's a good
Thank goodness for
Guinness what's going on
We need to reset his powers that's for sure but I was using preview mode goodness
Say again
Cedella happens guys is getting reset the pose
Is it play your there's punch that looks really good again hit record
There we go
There's a punch
How to stay and work
Good how's around like double-checking guys
There's a punch and jump jump
He is now screwed up that's ok
All sorts of stuff
Can happen if you're not careful
Pressing the record button
So there is archaic ok
Alright so let's fix our kick now
Maybe something that so exaggerated just having his leg out like that my work
A little bit different than what we had originally which
Originally like to see more about this mate like a little bit better I tried
Almost
Ok just go to our kick it record you guys they are making mistakes or here
That's a good thing because you trying to do this online you're going to forget to select your character you can forget this
Recorder mini canopy ladies bones that manipulation is suddenly got to change other Innovations cos you just
Is the root look of your bones to be really careful person recorded typing air
So I don't know what it would be called ok
There we go that that actually works can I call
Yeah ok I see
I see
And then you put your arm out like this
Where we go OK let's try this
Ok that looks a little bit better we're getting there
Again such a character hit record
Go to play a cake there we go
And that little little weird having his arm like that
Sit here
M&M lead for a little bit yeah there we go we're getting there
I get married guys
Ok
So that Perfect that's ok I can only exit the last a little bit longer for the cake
2.3 would be really cool
Straighten out
Alright Playmobil Liskeard
Punching is can a weird now there we go it's alright
I don't mind it
Punching is one bit screwed up now
Because I must have done something without pressing the record button
We get so rotate up
Person maybe bring his legs down
A little bit like so
Lips lips area
There we go
Alright just tested out guys we getting a kick we got a
Round kick or a punch
Yeah that looks awesome
I like it a lot
What where are we go ahead and get a directional punch set up as well
I was getting up with punch designed
If I'm
On the ground or in the air
I should be able to punch up ok
30 player
Punch
That
The record
And do some kind of awkward punch
Repeat that
Yeah we get on maybe he's looking out as well that it has it
To bring his knee up a little bit like that
So there's are upward punch
Now in the animator now we have this new punch up right
So we can go ahead and put it somewhere something like right here
Now what we're going to do is we need to know the attack Direction
Why members value be created hearing without just so it's
Because the more relevant premises could we haven't done any of these yet
Attack Direction why is Curley not being set with her script
So we need a tell attack Direction why what its value is
What is the integer right
So we need to convert a float to an integer
What is that float well that's going to be our vertical-axis ok
So let's go to our new player script
In what we do is really goanimator set
Integer
Attack Direction why I think that's why it's called great and double check
Tag Direction why was going to say that too
Are horizontal or a vertical axis so that's into it that get access
Vertical
Number for vertical axis
Is going to be wrs or upper down right
Ok now we have a problem what is that well it looks like I cannot convert the float
2 an integer for vertical
So what's go ahead in type in 2 year
Not how you convert a float
2 an integer
I say that out in hip play we don't have any transitions yeah I just want to make sure that my
City Auction why is actually being set up properly here ok
Tiplee
Alright if I hold up
He gets a 21-foot Down it gets said to -1
Now notice Howard's
Not very fast rate can I take a while so it's hard to see but when I press w
I press it
It takes a while to get there the reason why is because well if you can see the last
That's
The value for a float
So an integer
Is going to wait until it hits -1 so we have to sort of wait for it to get there
So I'm actually going to do something
A little bit different here instead of a tat Direction being an integer I'm gonna delete that alarm and make it float
Here we go ok and I'm just going to remove this integer completely there we go
Then set
Float right sorry got to do really is just test whether it's greater than or less than 0
That's all you got to do
Start a play
There we go
Ok
Yep here we go alright so if attacked direction why
Is
Greater than one which is up
Then we're going to do the player punch up right
So here's what we need to do first we also need to add a condition which is
If a tap Direction is
Lesbian
.5
And also
Greater than -5
Meaning it's in between -5 and .5 meaning
We're not really holding up or down on the keyboard then just you a punch
The same is true for the cake
If
Attack Direction why is greater than negative .5
Enet less than
Positive .5
Then we're going to kick
Then we going to add another transition it's going to be very somewhere to this one here
If attacked
Direction is greater than .5 meaning up really do a player punch up
And
What we're going to do then is going to make a transition
Two player stand
So I could do it like this might be a bit cleaner
Here we go
And we're just gonna go ahead in set the proper conditions to send him back to stay at if Grandad because
And would definitely going to have an exit time just like we do here
Anything to be point wine
As well
Actually we're going to remove the condition for now we're going to see if it works
Just on its face straight down
Is pretty slow
Speed it up just a little bit we can do in play mode here
Alright we don't really want a transition at all
There we go
Here we go
Alright
Upper punches working just fine
I don't really see a reason to
Add any conditions I think it works just fine
Ok
To the Apple touch works great and now we can do a downward kick
Let's do that
Search like iPlayer Gear
I am going to create another animation
TV player
Kik
Down
And click save
The record button
And
Just you
Downward kick like this
Nothing too fancy
Just like that
Little bit over there ok sis jump over here full screen
At least fill this space here
And I can see we have a kick down as well
How many go ahead in put this right here and my credit transition just like we did here
And we just check and see if
Attack Direction
Is less than
-5 then to a kick down we're going to try and match the
Settings for the Punch up so
No exit time
Fixed duration or fixed transition duration of 0
And after that
Can you go straight back to stand
So we're going to try and match this transition for punch up to stand so
Going to have an extra time
And it's going to have
A
Is the time of 1 or .1
N0 transition Direction
Just like that
Heartless read out
Kik
Jump kick
Jump kick good ok
Turtle little buggy but overall I think we've definitely got
What we need here
Good
Very good
Looks like we can actually kick I see the college I was wondering why I was buggy it's funny because
If I hold down
I can automatically start the Kik
So we missed
The various
Conditions here we missed the condition of if
Attack
And that should do it let's take a look
Here we go
Ok
It's ok hard to tell that he's kicking down word so let's see here what what's a way that we can make it
Little bit more like a kick down word
Kick down there we go
We could probably
The probably move his Palace down a little bit honestly just like this and maybe have it come back up
Something like
This
Pushes down a little bit
Arms are out like so
And then they come inward with this
Here we go
Maybe we could have this legs or bend down a little bit too
So you like that and it could be even higher
And this could be perfectly straight there we go
Try that
A little bit baggy looking in there
And is that a good exit time either we definitely what the exit time will be a little bit longer than that so
Probably point
Five and then also a transition of light point wine down
Here we go
Alright
Stephanie not perfect in the reason why is because we can have plenty of room to add
Get some more game feel elements ok
No sexy we're going to talk about in the next section we're going to be doing sound effects were going to be doing
Halifax we're going to be doing punch blast effects so that even though the information is not perfect
This
We can at least put some effects
Like a blast of smoke coming out of his hand or a light effect or a flare to really
Kings luck
Much more alive
Ok
Last thing I do really quick is the kick
It really needs to be
Hairy cow
Dave the times are little too slow for my taste so PT 2 scenes just fine
To let you know why
We're going to make a pretty short
What can I do
The same sort of exit time
Letter punches which is one
Here we go OK save it out and it play
Yeah that looks a lot better
No that's much better OK cool and then finally guys I keep saying finally please just a few other things that we hear
Actually don't want to be kicked down while I'm just standing right so I need actually say look I need to be grounded
I'm grounded then I can take down otherwise I don't even want to allow the player to kick down I mean
The point
So now when we're actually in the ground
No use your brain Thomas
Grand Eagles for there we go
So now when we're on the ground I can't kick down
And honestly
Let's take a look and see if for some reason I cannot punch when I am
Grounded see here
There we go OK we should be able to punch
Even if we're pressing down someone remove their condition
There we go
OK good I'm glad I tried my job and left
I can kick I can punch up and I can punch down
Very good very good it feels much better now
I'm feeling much better now that's great
I cannot like that down with kick now
You know what we could probably do a couple of weeks here
I can't stop myself so what we going to do that make this like a little bit better really go to our seeing here we go to a player
You do is actually just affects your so I can add
Record van and then what I can do is
Grab the pelvis year
And just move over like that
And then go to
See hear
About there but quarter of a second almost
It is bring it over back to the sender see that I believe the same with the cake but I
We could probably get away with doing a little bit further down
That
Punch we could probably do something like
This and then bring it on over
Back to here
About 0
There we go
And punch up same sort of mortality guys remove the pelvis up just a tad
And then bring it back down to Centre
Explain something Force
The Punch that scared
Upper punch not so much looks great I love the Dam break
That looks weird
Let's take a look and see what's going on
Is Kik everytime it still just a little bit too fast
Pt-17 how's that and then we're going to do is we're going to go back to
The point of little little weird with the hair
I don't know why it does not stick look again
Yeah it's like a cake should I should be pushing a player back which is an odd thing and I'm not sure why
Physics are behind that
And in the upper punch that's just not working for me so the other times we need to fix
We don't want to me tell this position or change and also the tick
Should be here for some reason I believe I could be wrong here
He should push
Back
So I wasn't like this
Was China
Get me totally wrong but is there anything wrong with getting a checking
Feels alright
It's not the best kick and limit
But that's ok
Now the final thing I want to do is your guys is actually White 2 position the attack box to the
Locations for kicking
And I also a kind of what the animator
To control the attack box
So that we can scale and change its size and just took all things with the attack box as opposed to being in
Strip
So the first thing I do is go to new player The Script
In luck the attack box
Is being handled by this function called activate attack
Instead of using this
Commented out
Where can you use that anymore we're going to do this
Functionality
Where do it with the animator only show you how
Which can remove this completely
What's the comment save it out and I'm going to jump back into unit
And the way we had all this now is actually just go to player punch hit record
In luck you can do more than just rotate guys and change the position
You can also set things active seal that turned red
We can activate also two components and adjust component values
As well as transformed values
So now I can activate
My attack box
NN
Deactivated
So if you guys recall we actually deleted a lot of the very basic graphics that We Created for
Yes tutorial one of the graphics we did delete was the attack box Sprite within
Any more
But one of the things that I like to use as a very simple 1 pixel by 1 pixel
White box
Samuel save this in imported into unity
And it's not a white pixel I can put into my Sprite but before I do that I'm going to go into
My player variant here
Enemigo de Maya tax year
And I'm going to go ahead
Inad that wake pixel in
What's the activate the attack box in take a look ok so this is just a side note sometimes when you add
A new Sprite to something that previously has a basket lighter that is no longer going to match the
I just add that box Collider 2D again so now I can see it's matching the size but also
Now it's really really small right so let's kill it have to be pretty large
Yeah we girl ok so if we deactivate the attack box
You're not going to see the red when you activate the attack box
You're going to see the red now the red is only for you and I to see currently guys will disable this
After work done seeing everything go ahead and deactivate the attack box for now
Save it out
And let's just take a look
Add iPlayer here why working on that prefab just make sure that any changes you've made to the play
You do apply to the prefab so if you if you guys recall we've actually added
This animator here we made all these changes to the prefab so we need to make sure we
Peter player
There we go alright so now we go inside the player you'll see that the animator
Is now there that's good ok alright let's save our scene
Search start moving the hitbox in activating my hip box based on various animations
Tell the first one when I do is play a Kik
In a minute recorded
I'm going to press the
Activate button seat turned red
That means it's been recorded
Which is really really cool see you can rotate characters you can change their scale all their transformed values
But guys it's not just limited to that we can enemy all sorts of stuff we could enemy pretty much anyway
Are these values here
In his components
And that also includes
The activation
So we activate the attack box
And then deactivate it
It will stay Active and then it will deactivate
So give her some time to hit an enemy to that
So we can activate the attack box
NN
Deactivate see that
Sweet cakes
Then it goes away
And we can even move its position a little bit to be a little bit more fair
So something about like that anything that hits within the red there
Will hurt
Enemies
Do the same for Playa kick down
So we're gonna
Make sure recording
Activate the box in we'll put it like a right here
My girl
Today's the attack box there
Give us plenty of room to hit our characters in the reason why I love doing it this way see a lot of developers like
Do this with code they'll have various sizes for Barry's kicks and I think they
Think it's the most principled way to do this but I found that using the animation window
Is the best way
To twiga Attax box because we could do this manually
And it with her hair that actually move it around and if we make some changes or things don't feel fair so far
A little bit unfair I can actually move this down a little bit and that's all it takes I'll have to tweak any scripts
I was gonna punch you alright it's quick record and I'm going to activate the attack box
Anon
Deactivate hear something like this right
How we say
Be pretty generous with your tax back so I'm going to scale up the size little bit like this where we go
Because we just changed the root size of this thing we might have to go back to the cake and change the size there
That looks good
It's going to kick down here
Ok we're good but the size for kick down and also kick awesome
Right punch should be good to go yep
Beginning scale just a little bit
Really generous
Emma Gonzalez killer back later guys
Ok
Record
Activate the attack box
I'm going to be with a pier
And they go to about here so that almost a quarter of a second
Maybe I must have a second really and deactivate it here we go
Ok so what's it saved now
And let's take a look and see if everything is working properly but it play
Try and kill some enemies
Ok there's a text box in sap
There's down
That's very weird
Jeremy sure that our box Collider is a
Trigger that's always going on what's happening to play again and take a look
Good
Ok it's gonna be here
Who is that buddy
Awesome
Good garden alright something works properly
Has the downward checked work
Good alright so as you can see that's why they were showing the hitbox currently we want to
Idea of where it occurring in the animation and then we can just go into the player
Garage back box
Disable the spray render and click save
Can we have play will no longer see
The attack box
Guitar Thomas very good
I can Purge myself sometimes
Alright very good alright guys I think we're ready
To start adding some game feel
Same particles sound effects some screen Shake
Some launching of the characters when you punch them
Some hurt animations
To our game to make it really feel alive
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.