Construct 3 Tutorial - Advanced Enemy Ai [ 01 ]

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 73

  • @sassafrasofficial3695
    @sassafrasofficial3695 2 года назад +1

    6:50
    I've been making a game the past week (at least 30 hours of work) for my AP Human Geography class. I've consistently had a problem with booleans being toggled and detoggled in rapid succession and I have to use really round about methods to fix it. Never thought of this as a way to trigger it once. Thank you!

  • @TheAirgunmaker
    @TheAirgunmaker 5 лет назад +8

    using construct 2 and this video has been really useful to me thanks man

    • @joshkearns988
      @joshkearns988 4 года назад +1

      I don't have a state machine in 2. How did you get past this?

  • @momchilbalev6062
    @momchilbalev6062 7 лет назад +29

    Come on man give us [ 02] :)

  • @froky6228
    @froky6228 7 лет назад +1

    I was just watching your old vids and omg its so good

  • @scottmclennan9231
    @scottmclennan9231 3 года назад +3

    State machine? You would benefit from using a string array. It is simply a table of indexed instant variables. You have the options to call on and manipulate the data as you see fit. They are an amazing tool and I can I assure you that you'd find many ways to apply them. It will clean up your code and make your life a lot easier... well, at first it will make your life harder. once you learn what arrays are about then you're on Easy Street.

    • @mtastics
      @mtastics 3 года назад +1

      omg, Then I need to learn this ASAP

    • @guilhermeleao2752
      @guilhermeleao2752 Год назад

      Man, please, why this huge comment? Every state machine is a bunch of if and else hahah

  • @ARKitectGaming
    @ARKitectGaming Месяц назад

    How do I keep grunty a few pixels away from my character instead of directly on it

  • @HaddytheCreator
    @HaddytheCreator 5 лет назад +2

    its not working for me- followed step by step - ugh any chance u can upload the C3 file so I can compare?

    • @HaddytheCreator
      @HaddytheCreator 5 лет назад

      it has to do with line of sight- i cant get it to work at all...

    • @HaddytheCreator
      @HaddytheCreator 5 лет назад +1

      so to get it to work I had to have Line of sight settings to: Custom, & Use Collision Cells turned Off. very strange!

    • @HaddytheCreator
      @HaddytheCreator 5 лет назад

      Also it only works for 1 or 2 enemies- once I add a 3rd they stop chasing- anyways thanks for the tutorial a great starting point to writing my own AI- appreciate you taking the time to put it together!

  • @Taka-cm3rc
    @Taka-cm3rc 6 лет назад +2

    why u use grunt.x on distance? but u use grunty?

  • @claudiofuentes9774
    @claudiofuentes9774 6 лет назад +7

    I used C2. It was everything going awesome until the end, the Grunty Attack Group did not fix the problem of the continuous attacking so i tried several things. What did work was to erased the Grunt(enemy) Attack Group and taking out all the (state ≠ "atk") fron the state machine group. Doing that i got the same result into C2. Any ideas why?

    • @mrwolf2985
      @mrwolf2985 5 лет назад

      use text for state its work, and use standing animation for "idol", and remove (state ≠ "atk") and other , just dont do his mistake , its work on C2 (sorry for my english )

  • @MertSu66
    @MertSu66 7 лет назад +4

    mate, great tutorial, but if i make multiple enemies like this, their animations are set to how only ONE of them moves, while their behaviours are fine. (I made their animations a different object and used mask for behaviours and collision)
    any ideas?

    • @iShop_Desnogorsk
      @iShop_Desnogorsk 5 лет назад

      Yes. I fix this.

    • @iShop_Desnogorsk
      @iShop_Desnogorsk 5 лет назад +2

      Add another condition in event "For each" and this prombem will be fixed.

    • @mason3872
      @mason3872 4 года назад +1

      KilloTeam Ignat thank you so much I’ve been trying to make a top down shooter and my ai keep doing the same exact things and it’s extremely jarring.

  • @FPS31
    @FPS31 5 лет назад +1

    how do you replace the string?? im in construct 2 and string is not there it says text

    • @Jeff_Ghosty
      @Jeff_Ghosty 5 лет назад

      AlexFPS use the text , is similar

    • @Jeff_Ghosty
      @Jeff_Ghosty 5 лет назад

      AlexFPS when I tried to do this method, the enemy was over the character and did not maintain the correct distance ,worked for you?

  • @redlinetr903
    @redlinetr903 5 лет назад +3

    I use C2 and I dont have "string" IV . That dont work for me .

    • @EdzelMutas
      @EdzelMutas 5 лет назад

      String and Text are similar. :)

  • @pandikdoner1489
    @pandikdoner1489 Год назад

    Im using construct 2 and i couldnt make the "state" (instance variables) into "String" because i dont have this option. What can i do instead?

  • @HasAudomMoy-Angel-Neko-X
    @HasAudomMoy-Angel-Neko-X 3 года назад

    Subbed for your tutorials, please keep going, I'm ready to eat more lessons as a Ramen Bowl

  • @muadmz
    @muadmz 2 года назад +1

    For some reason, for me the enemy does not detect the player and does not go after the player. I added all the variables and events to your tutorial. Took some time, but not pro enough to dare re-doing it again and end up not working again. Most likely I did something wrong, but when I went through my existing Layout 1 sheet events and all the enemy variables/behaviour, does not look like I missed anything.

  • @ericwang4359
    @ericwang4359 2 года назад

    Hello, lets say i make a platformer. how would i make it jump over (or on)
    objects?

  • @cococamo191
    @cococamo191 3 года назад

    I am having problems my enemy are linked to character somehow and are jumping when she dose.

  • @jtacua7822
    @jtacua7822 5 лет назад +2

    why do i have text variable type instead of string, thank you

    • @igsx5252
      @igsx5252 5 лет назад +3

      same thing mate , "text" is defined as "String" in programming languages so yeah =)

  • @cervantesdeleon5743
    @cervantesdeleon5743 5 лет назад +1

    i was able to make the object(enemy) follow me but how can i make him jump aswell?

    • @fgdx
      @fgdx 4 года назад +1

      I might have an idea for you pal

    • @doc6188
      @doc6188 4 года назад +1

      @@fgdx whats the idea "pal"

    • @naveedahamed3593
      @naveedahamed3593 4 года назад

      you can do it by comparing player y and enemy y

  • @theindiegamedude
    @theindiegamedude 2 года назад

    If you ever become active in game design again, feel free to hit me up. Maybe we can team up on a project in Construct 3. You had me laughing a few times, in a good way. You've got good personality. Take Care!

  • @JoshuaEworo
    @JoshuaEworo 7 лет назад +2

    I really need this, thanks!

  • @nurhariyanto5438
    @nurhariyanto5438 5 лет назад +2

    : dude.. relax, yo'u're doing fine..

  • @ufg_
    @ufg_ 4 года назад

    I need help on how to make lava rise. for my floor is lava game

  • @mrwildcard3639
    @mrwildcard3639 4 года назад

    I tried it and it didn't work am I doing something wrong

  • @laio5706
    @laio5706 6 лет назад +1

    This tutorial work in construct 2 ???

    • @ovr_dave
      @ovr_dave 6 лет назад

      Yes, it works fine for Construct 2.

  • @AgentSmith13
    @AgentSmith13 5 лет назад

    Where’s the rest? Collisions, damage, hit box etc? Not much of an attack if nothing is making contact with the player

  • @FadeAwaye
    @FadeAwaye 6 лет назад

    can someone tell what is wrong? prnt.sc/ja7kw0
    ps: i paused the video at 16:00

  • @Microbex
    @Microbex 7 лет назад +2

    Great tutorial! thanks!

  • @ColburnClassroom
    @ColburnClassroom 3 года назад

    Nintendo wants royalties for your use of the Super Mario theme at 7:14

  • @Gui-Nogueira
    @Gui-Nogueira 6 лет назад

    This not work in construct 2?

  • @pizzahouse_hotnready
    @pizzahouse_hotnready 4 года назад

    my enemy literally refuses to move.
    I figured out that told it to make the player simulate movement and fixed that
    but it didnt help

  • @VinceKirkVang
    @VinceKirkVang 7 лет назад +1

    Informative. Thank you.

  • @typerakalamies6237
    @typerakalamies6237 4 года назад

    I cant get it working

  • @matahariterbit1954
    @matahariterbit1954 6 лет назад

    Please make tutorial player attack with sword

  • @anhhoang5236
    @anhhoang5236 6 лет назад

    Great !, thank you very much

  • @starguy3777
    @starguy3777 4 года назад

    my thing's move for a sec and stop

  • @ibemad62
    @ibemad62 4 года назад

    Please bro ! part 2 ? :D

  • @alec4728
    @alec4728 4 года назад

    bel tutorial puoi farlo col giocatore che usa la spada e usa i poteri? please make tutorial player sword and power

  • @MagicalAlpaca
    @MagicalAlpaca Год назад

    doesnt work

  • @schi2989
    @schi2989 4 года назад

    19:19

  • @beangames6679
    @beangames6679 5 лет назад

    amazing thx bro

  • @Seauxz_
    @Seauxz_ 4 года назад

    17:22

  • @momchilbalev6062
    @momchilbalev6062 7 лет назад

    More :)

  • @ZAPANIMATIONS
    @ZAPANIMATIONS 6 лет назад +3

    11:20 😂

  • @alexanperformancefit7578
    @alexanperformancefit7578 5 лет назад

    THAK YOUU !!! YOU ARE A GOD!!!!

  • @georgegvelukashvili6097
    @georgegvelukashvili6097 3 года назад

    it doesn't work at all. literally same code.

  • @zinanims8877
    @zinanims8877 3 года назад

    He actually made this thing but he is telling that we have to figure out about him and .bla, bla, bla.

  • @kuysjess7821
    @kuysjess7821 4 года назад

    new sub

  • @scrapsandtools8842
    @scrapsandtools8842 6 лет назад

    not bad

  • @nikolazagorach1092
    @nikolazagorach1092 3 года назад

    4,69 subs