Attacking Enemies (with Animation and Cooldown): Action RPG in Unity Tutorial #12

  Рет қаралды 1,230

Night Run Studio

Night Run Studio

Күн бұрын

Пікірлер: 24
@Kveg-y6k
@Kveg-y6k 7 күн бұрын
Hey guy having the videos be only like 10 minutes long makes this way more manageable and I am not overwhelmed by the endless sea of game dev knowledge there is to learn out there. As a beginner, thank you so much for this.
@NightRunStudio
@NightRunStudio 7 күн бұрын
Thanks for that! It’s so good to hear that the videos are finding an audience who appreciate their format. Good luck with your project!
@c4bleturn438
@c4bleturn438 4 ай бұрын
this is the only youtube channel that teaches very clearly
@NightRunStudio
@NightRunStudio 4 ай бұрын
Wow... that's high praise. Thanks!
@kamm3021
@kamm3021 4 ай бұрын
*Hell Yeah* another episode Thanks for the continuous work on this series it's very helpful 🙏🏻
@NightRunStudio
@NightRunStudio 4 ай бұрын
You bet! I'm hoping to resume regular uploads again now that the summer is coming to a close. More to come!
@kamm3021
@kamm3021 4 ай бұрын
*Awesome* 😃
@PaalAas
@PaalAas 3 ай бұрын
This vid is well made and concise like usual. Your channel really is a gold mine! Keep up the good work!
@NightRunStudio
@NightRunStudio 3 ай бұрын
Thanks for that! After a break this summer it feels good to get back to some tutorial videos-glad to hear I’m not too out of practice!
@totojatiwijayanto4501
@totojatiwijayanto4501 4 ай бұрын
Omg i got new insight about the animation panel😂 thank you, very clear and amazing video
@NightRunStudio
@NightRunStudio 4 ай бұрын
Happy to hear that! Cheers!
@10706BND
@10706BND 4 ай бұрын
Awesome keep them coming!
@NightRunStudio
@NightRunStudio 4 ай бұрын
Working on the next one! Thanks for the comment.
@m7w121
@m7w121 2 ай бұрын
Thank you soo much you made me love Game Dev
@NightRunStudio
@NightRunStudio 2 ай бұрын
We’ll that’s about the best compliment I could hope to get! Thanks for sharing this.
@depavanmeijr
@depavanmeijr 4 ай бұрын
Yeyyy 🎉
@Mccev_Roric
@Mccev_Roric 4 ай бұрын
Nice video! After another break from the game, I decided to restart, but this time with a more roguelike take, instead of the open world / dungeon idea based on The Legend of Zelda! (Totally did not accidentally delete all the scripts or anything.) Don't worry, I was probably going to restart anyways lol.
@NightRunStudio
@NightRunStudio 4 ай бұрын
Starting over can be a good way to learn-so long as you eventually stick with it! I totally understand what that’s like! I’m planning to get back to regularly weekly releases in the series again. So, another vid is on the way later this week!
@Mccev_Roric
@Mccev_Roric 4 ай бұрын
Nice!
@appleanime7003
@appleanime7003 18 күн бұрын
Hey I´m midway into this series and I noticed, that if I turn my character, so that he does not face the enemy, I can still damage him and I dont really know what causes this. Great series tho ^^
@NightRunStudio
@NightRunStudio 18 күн бұрын
Most likely, this issue has to do with your enemy's detection trigger for chasing the player. Because it's attached to the enemy, the player thinks that it's in range of the enemy when it's actually only in range of the enemy's chase trigger (I hope that makes sense). Fortunately, it's easy to fix. You would just need to place this: if (enemies[0].isTrigger) { return; } immediately after the line: if (enemies.Length > 0) In the DealDamage() method. That way, it wont mistake the trigger for the enemy itself. Instead, when you detect the trigger it will realize it's not the enemy and return (ie., not execute the rest of the method). Hope that helps!
@appleanime7003
@appleanime7003 17 күн бұрын
@@NightRunStudio so it looks like this now : if (enemies.Length > 0) { if (enemies[0].isTrigger) { return; } enemies[0].GetComponent().ChangeHealth(-damage); enemies[0].GetComponent().Knockback(transform, knockbackForce, knockbackTime, stunTime); } but now i can only attack the enemy at a certain place on my map, which makes no sense xd
@NightRunStudio
@NightRunStudio 17 күн бұрын
@@appleanime7003 Hmmn... that sounds like something deeper might be going on. So... if the enemy follows you and you attack it up close, it's only working in one part of you map, but not everywhere? That makes me wonder if you aren't detecting the colliders or layers properly. I would try adding a debug under if(enemies.Length >0) Debug.Log(enemies[0].gameObject.name); That should let you know what gameobject your code things you are hitting. I would also double check that your colliders are behaving properly (ie., pause the game during play test, and make sure the enemy's colliders look right), and that the enemy is on the correct layer. I hope that points you in the right direciton.
@appleanime7003
@appleanime7003 17 күн бұрын
@@NightRunStudioIt debugs that I certainly do hit the enemy and all the colliders seem to be correct, as well as the layers. Anyway thank for trying to help :D
Damaging Enemies: Action RPG in Unity Tutorial #13
8:26
Night Run Studio
Рет қаралды 851
Animating and Improving Ranged Attacks in Unity (Tutorial)
19:58
Night Run Studio
Рет қаралды 1,2 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Game Dev Bits - EP03 - Flamethrower VFX in unity
9:59
RobertoGattoArt
Рет қаралды 7 М.
This Mod fixes Minecarts
8:20
ShalzLIVE
Рет қаралды 157 М.
Ranged Attack: Firing Arrows in Unity (Tutorial)
15:33
Night Run Studio
Рет қаралды 1 М.
Unity's New Input System:  The Definitive Guide
32:07
DmanGames
Рет қаралды 34 М.
Walk, Idle, and Turn Around: Action RPG in Unity Tutorial #2
9:31
Night Run Studio
Рет қаралды 2,5 М.
So I made every block act differently..
11:41
Element X
Рет қаралды 162 М.
Enemy Attack State: Action RPG in Unity Tutorial #10
15:42
Night Run Studio
Рет қаралды 1,8 М.
Unity Input System Overview (GetKey, GetButton) - An Animated Guide
5:10
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН