top of page
Zdjęcie autoraFireRaccoon

How to kill enemy in unity using collisions (Unity Tutorial)

How to kill enemy in right way and implement unity collisions.


►Hit the link to all Tutorials


Trigger collisions and simple collisions. You will learn how to combine them and how to trigger them. Also you will learn how to make nice visual effect after enemy death or kill using collision or trigger. This works also for unity3d.


►Contents of This Video:


00:00 - intro

00:26 - Setup scene

00:58 - Import Player and Enemy

01:20 - Creating Player Sprite in Unity

02:38 - Creating Enemy

03:08 - Adding Object Components to Enemy

03:36 - Script for Player Behaviour

03:55 - Creating Hit effect using partickle system

06:17 - Player Behaviour continuation

06:50 - Script for Enemy Behaviour

07:49 - Idle State for Player using Animation

08:39 - Setup Enemy Behaviour script

09:16 - Test with only Sprite Change during hit

09:31 - Test with all Hit and death effects


►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

コメント


bottom of page