video thumbnail 23:14
INTEGRATION 03 - Making an RPG in Unity (E12)

2018-03-26

[public] 93.3K views, 1.24K likes, 34.0 dislikes audio only

In this episode we hook up the attack animations to the combat system.

Download files here (start/end Unity project, updated player.blend, and sword/shield icons):

https://www.dropbox.com/s/lh5i549jwln0h41/RPG%20Integration%2003.zip?dl=1

Brackeys' channel:

https://www.youtube.com/user/Brackeys

Support the creation of more gamedev tutorials:

https://www.patreon.com/SebastianLague


adding the combat animations to our game
/youtube/video/yhPRkihs-Yg?t=1.39
delete all of the equipment except for the sword
/youtube/video/yhPRkihs-Yg?t=62.619999
setting the weight of layer two to one
/youtube/video/yhPRkihs-Yg?t=411.69901
set the weight of the right hand layer to one
/youtube/video/yhPRkihs-Yg?t=492.39899
set the layer weight to zero
/youtube/video/yhPRkihs-Yg?t=537.31
create a protected character combat variable
/youtube/video/yhPRkihs-Yg?t=731.46002
activate the animators attack
/youtube/video/yhPRkihs-Yg?t=1060.24
swap out the default attack animation for a random animation
/youtube/video/yhPRkihs-Yg?t=1068.51
make a public array of these weapon animations
/youtube/video/yhPRkihs-Yg?t=1165.72
loop through all of the weapon animations
/youtube/video/yhPRkihs-Yg?t=1201.09
set back to the default attack animation set
/youtube/video/yhPRkihs-Yg?t=1262.619
drag the punch clip into the replaceable attack animation slot
/youtube/video/yhPRkihs-Yg?t=1284.999
Sebastian Lague Hello, on this channel I explore how to create stuff out of code. I hope you find some of it interesting!
/youtube/channel/UCmtyQOKKmrMVaKuRXz02jbQ
Support these videos on Patreon patreon.com
https://www.patreon.com/SebastianLague
How to make an RPG in Unity by Brackeys
youtube.com/watch?v=nu5nyrB9U_o
RPG Graphics by Sebastian Lague
/youtube/video/NGn_gSfYwVw