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

  Рет қаралды 5,537

Ketra Games

Ketra Games

Күн бұрын

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

Пікірлер: 5
@Marm1803
@Marm1803 11 ай бұрын
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 11 ай бұрын
Ye same it's such a good series
@gameplayz4you519
@gameplayz4you519 10 ай бұрын
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 Ай бұрын
cant get the enemy death animation to kick in
@SeanWonder
@SeanWonder 7 ай бұрын
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 Keep Score in Unity Using Unity Events and Text Mesh Pro
9:31
Creating Simple Animations (Unity Tutorial)
6:20
Ketra Games
Рет қаралды 120 М.
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 4,6 МЛН
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 20 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 760 М.
Soft Body Physics in Unity
8:04
Drollest Prawn
Рет қаралды 6 М.
Intro to Animation Rigging & Procedural Animation in Unity
13:33
iHeartGameDev
Рет қаралды 175 М.
Learn EVERYTHING About Particles in Unity | Easy Tutorial
19:15
Sasquatch B Studios
Рет қаралды 8 М.
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,4 МЛН
How to Create 2D Sprites & Import Them into Unity - Workflow Tutorial
9:01
How to use Animation Transitions (Unity Tutorial)
9:59
Ketra Games
Рет қаралды 173 М.
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 4,6 МЛН