top of page
Zdjęcie autoraFireRaccoon

Kill enemy in unity | Hit enemy in unity (Unity Tutorial)

lets damage enemies like in hack'n'slash games with melee and firball. Easy scripts


►Hit the link to all Tutorials


lets damage enemy (enemies) in unity using skill shots or melee attack!:) 3 minutes guide will help you implement that into your game:) you can leave comment for other tutorials you want to see:)


►Contents of This Video:


00:00 - intro

00:22 - Create IdamageTaken interface script

00:49 - Refactor EnemyHealth script to get damage from Player

01:21 - Add collider2D to enemy

01:42 - Test if FireBall skill shot damages enemy

02:02 - Creating Melee Attack Script

02:41 - Add Enemy layer mask to enemy

02:51 - Add EnemyDamage method to animation

03:01 - Test is melee attack works


►Don't forget to Subscribe for NEW game dev videos

►I know many things may be done better not as good as Brackeys, CodeMonkeyUnity, SasquatchBgames but good as well: "if something is working cannot be bad" :)


cheers FireRaccoon Games


















0 wyświetleń0 komentarzy

Comments


bottom of page