Тёмный

How to Create 2D Death Animations in Unity | Any State Animation Transitions and Triggers Explained 

Ketra Games
Подписаться 23 тыс.
Просмотров 5 тыс.
50% 1

In this Unity tutorial we're going to look at how to add death animations for both the Enemies and the Player.
We'll cover the creation of animation clips, and how to use 'Any State' to transition to the death animation from any state.
This is the fourteenth video in our series showing how to make a full top down 2D shooter game in Unity.
The playlist for this series can be found here
► • Unity 2D Top Down Shoo...
The project files are available to our patrons here:
► / 88654003
Want to follow along? This project is a good starting point
► / 86219705
The final script can be found here
► dotnetfiddle.net/eimVBd
The assets used in this video can be found here
► tokka.itch.io/top-down-basic-set
Help support our work:
► Patreon: / ketragames
Follow us:
► Ketra Games: www.ketra-games.com
► Patreon: / ketragames
► Twitter: / ketragames
► Facebook: / ketragames
Introduction - 0:00
Creating the Player Death Animation Clip - 00:33
Transitioning to the Player Death Animation - 03:59
Creating the Enemy Death Animation Clip - 06:24
Transitioning to the Enemy Death Animation - 08:44
Destroying the Enemy after the Animation has Finished - 12:25
Summary - 14:11
#KetraGames #LearnUnity #UnityTutorials #UnityTips

Опубликовано:

 

28 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@Marm1803
@Marm1803 10 месяцев назад
Been looking forward to your next tutorial. Hopefully, not as long a gap between this one and the next one. Though I understand we're just coming off the Summer Holidays, thank God.
@CrunchyCookiee
@CrunchyCookiee 10 месяцев назад
Ye same it's such a good series
@gameplayz4you519
@gameplayz4you519 9 месяцев назад
Is there a way i could get the old asset pack of terrain samples pack that you used in 3D series as the newer version of the terrain tools pack contain lots of extra stuff which auto installs URP and HDRP with it?
@ftrwar
@ftrwar 13 дней назад
cant get the enemy death animation to kick in
@SeanWonder
@SeanWonder 5 месяцев назад
How can I achieve this exact same thing but using a 3d object instead? I'm having trouble figuring it out as it seems the 2d physics and the 3d object are not compatible? I have my 2d sprite animation but failing to get this to work as I'm not working with the exact same assets EDIT: Alright I somehow managed the animation on the object, but since the object is different from the player(explosion fx for death animation) it's stuck to my player during gameplay. Also my game is coded for the object to be destroyed on it's final collision but since my animation is a child of the Player it's going away along with it without playing
Далее
How to Create 3D Moving Platforms (Unity Tutorial)
16:31
HOW TO KILL AND RESPAWN PLAYER-Unity Tutorial
6:43
Просмотров 56 тыс.
How to use Animation Transitions (Unity Tutorial)
9:59