Detecting the player - Complex Enemy Behavior - 2D Platformer - Part 14 [unity]

Discord Server:
/ discord
All assets:
drive.google.com/open?id=1X_B...
Git Hub Repo for this project:
github.com/Bardent/Platformer...
If you wish to support me more:
/ bardent
---------------------------------------------------------------------------------------------------------------
Now that we have the basic FSM framework in place, let's make out first new state :D
---------------------------------------------------------------------------------------------------------------
Thumbnail art by my good friend:
ian.schober...
Ignore this:
qwerxskjbljsdfpowuidxjksfgvksjhdhkfh

Пікірлер: 58

  • @konstantinsuvorov2570
    @konstantinsuvorov25704 жыл бұрын

    NANI?!?! xD Heinrich, I love these small jokes. Keep them coming.

  • @toddschmersal798

    @toddschmersal798

    3 жыл бұрын

    I laughed so hard. For a relatively cut and dry tutorial series, that caught me very off guard.

  • @NightRunStudio
    @NightRunStudio9 ай бұрын

    Best error warning ever @ 15:38!

  • @MBernhardt03
    @MBernhardt034 жыл бұрын

    I scream like a little girl every time a new video pops up!! Keep up the great work!

  • @Bardent

    @Bardent

    4 жыл бұрын

    You're the best! :D

  • @selectivevisions
    @selectivevisions2 жыл бұрын

    im doing an open uni degre in the UK and have learnt more from these videos in this series than i have from that and ive been doing this series about 3 months less than that

  • @losfouad2014
    @losfouad20143 жыл бұрын

    it was a bit hard for me but when i advance more my brain start to understand ;D thanks for the great work !

  • @syyy2168
    @syyy21682 жыл бұрын

    I never comment on anything but I want you to know that these series are a diamond my dude. Have been looking for something like this for years

  • @rato5611
    @rato5611 Жыл бұрын

    How could I know this channel just now? your content is simply gold

  • @jiwoongjeon7894
    @jiwoongjeon78944 жыл бұрын

    You definitely deserve more subscribers. Appreciate your tutorials!

  • @Bardent

    @Bardent

    4 жыл бұрын

    I appreciate that!

  • @PixelOtter0813
    @PixelOtter08133 жыл бұрын

    Even tho this is advanced stuff you make it so easy to understand and a huge thanks for making this free man , you are awesome

  • @flamingpenny
    @flamingpenny4 жыл бұрын

    Yeah, there's a reason your videos have zero dislikes. Subscribed immediately

  • @Bardent

    @Bardent

    4 жыл бұрын

    Damn this makes me very proud! Thank you :D

  • @joejones8533
    @joejones85332 жыл бұрын

    "moving my feet in frustration" I felt that in my soul, I do the same thing

  • @TulioSerraArq
    @TulioSerraArq4 жыл бұрын

    Best unity tutorials in youtube. Period! You explain advanced material in a tottally understandable way and pace. The basic enemy controller you used before was a revolution to my game, and now this inheritance state machine is a {revolution *= revolution;}!! And a new video is already released!? Oh boy! Keep up the good work, thank you for this amazing material!

  • @Bardent

    @Bardent

    4 жыл бұрын

    Wow, thanks! I definitely will :D

  • @Gatitasecsii
    @Gatitasecsii Жыл бұрын

    Excellent work. This is without a doubt the best collection of tutorials in all of youtube.

  • @neozoid7009

    @neozoid7009

    Жыл бұрын

    yes you are right

  • @landzi7666
    @landzi76666 ай бұрын

    Also you can make another a playercheck to flip enemy when your character is behind of enemy. I do that and its work perfectly, and thx for the tutorial btw 🙌

  • @daedrablast8085
    @daedrablast80854 жыл бұрын

    Hey man, i really really appreciate your videos, they help me so much getting better and better, just by following your guides. Recently I made huge progress and am highly motivated again. Thanks a lot!!!

  • @Bardent

    @Bardent

    4 жыл бұрын

    That is awesome dude!It feels really good being able to help :D I've been there too. Stay strong you got this!

  • @FonkyGoose
    @FonkyGoose4 жыл бұрын

    Unity error: Omae wa mou, shinderu Bardent: Oops

  • @Bardent

    @Bardent

    4 жыл бұрын

    Nani

  • @TheHumanGibbon
    @TheHumanGibbon4 жыл бұрын

    Awesome. My weekend is now full!

  • @Bardent

    @Bardent

    4 жыл бұрын

    Mine too! :D

  • @Charlie-ks1ss
    @Charlie-ks1ss4 жыл бұрын

    Ur tutorial are Awesome ☺️

  • @Bardent

    @Bardent

    4 жыл бұрын

    Glad you think so!

  • @hongdur
    @hongdur4 жыл бұрын

    I am a student studying in republic of Korea. Your video is really the best. I'm so curious about the monster's attack pattern. I also want to know about the damage exchange between players and Monsta. I'm looking forward to every day. Thank you for uploading the video continuously!!

  • @Bardent

    @Bardent

    4 жыл бұрын

    Thanks man! I'm excited to get into it as well and see what we can do! If you have any questions or need any help feel free to ask here or on discord :D

  • @adampower9757

    @adampower9757

    4 жыл бұрын

    @@Bardent Hey , can you give unity file for this?

  • @AMVWORLDYT
    @AMVWORLDYT4 жыл бұрын

    Hi, i did all of the tutorial, but when the enemy is in the State DetectPlayer, my enemy move whit velocity 0.1 or 0.2 , i don't know why he is moving, i did "setVelocity(0)" at start the State, i need help, sorry for my english. Thanks for the tutorial

  • @ramzhamsi9762
    @ramzhamsi97624 жыл бұрын

    thank you man, love you

  • @Bardent

    @Bardent

    4 жыл бұрын

    You're welcome!

  • @vedun9715
    @vedun97154 жыл бұрын

    Урааа!)))

  • @Wolf-dz4fn
    @Wolf-dz4fn3 жыл бұрын

    Great videos to follow along when you dont know what youre doing like me :D just wondering how could i also make the enemy detect the player when he is behind him?

  • @neozoid7009
    @neozoid7009 Жыл бұрын

    these system is very complex for me now, just following the tutorials but I know slowly slowly I wil understand them and have to to make this type of awesome and complex behaviour. Also I have a question is there a easy way to implement this logic but with same flexibility ??? and by the way I love your videos and this channel deserves more than what it is now . one Suggestion if your videos were little shot and short deep explanation will be more awesome.

  • @cristiancarrazana3131
    @cristiancarrazana313120 күн бұрын

    he revidado y no se por que el enemigo detecta al player pero cuando lo detecta y salgo de su visión no se mueve.

  • @saifgames2468
    @saifgames24684 жыл бұрын

    Awesome game :D

  • @Bardent

    @Bardent

    4 жыл бұрын

    Thank you :D

  • @user-jq6hj8dg2e
    @user-jq6hj8dg2e4 жыл бұрын

    Wow! 2 videos in 3 days! You are brilliant! When will be the next video?)

  • @Bardent

    @Bardent

    4 жыл бұрын

    Thank you. I have some more recorded. Going to try and finish up recording now that way I can just edit when classes start back up :D

  • @nathanllimoge

    @nathanllimoge

    4 жыл бұрын

    @@Bardent what are you studying?

  • @ivicaskrobo1896
    @ivicaskrobo18963 жыл бұрын

    Wouldn't it feel better if all the data for one enemy is in one object as you did for the player later on? Or is there a reason you like it separated with data for idle and data for move?

  • @Bardent

    @Bardent

    3 жыл бұрын

    Yeah it's really not the best system. The thought was not all enemies are going to have the same states so how do I put data for a state that it does not have. I will think of a better system and revamp the enemies once the combat revamp is done :D

  • @ivicaskrobo1896

    @ivicaskrobo1896

    3 жыл бұрын

    ​@@Bardent Perhaps a base enemy data scriptable object (that holds everything each enemy will have) and then for each enemy you create a scriptable object that inherits from the base data + its specific data. Or base data + what you already have a scriptable object for each new state. Anyway, good job looking forward to more videos from you on this series. :)

  • @glassystudio
    @glassystudio4 жыл бұрын

    oG brother.... ಥ‿ಥ

  • @moonstonestudios8719
    @moonstonestudios87194 жыл бұрын

    Do an undertale like dialogue system for the platformer

  • @zacharystanaford5466
    @zacharystanaford54662 жыл бұрын

    u beautiful being

  • @Bardent

    @Bardent

    2 жыл бұрын

    No u

  • @erlandfaturrahman8675
    @erlandfaturrahman8675 Жыл бұрын

    idk why my enemy always in idle mode, before setting a player detected is fine. :'')

  • @Peter_Siri
    @Peter_Siri Жыл бұрын

    15:28 ❗NANI?

  • @Bardent

    @Bardent

    Жыл бұрын

    lol forgot I did that XD

  • @shushard
    @shushard3 жыл бұрын

    3:23

  • @mezorai4866
    @mezorai48663 жыл бұрын

    So complicated i cant handle this. :(

  • @vincentdcn
    @vincentdcn Жыл бұрын

    no... YOUR player detected state works... I fucked up mine somewhere...

  • @vincentdcn

    @vincentdcn

    Жыл бұрын

    FIXED. giving you a HUGE thanks when I release my game. and on Discord, we can figure out later how much I'll pay you. be keeping in touch!