Create Enemy AI For Your Game - With GDevelop

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 187

  • @GDevelopApp
    @GDevelopApp  2 ปีที่แล้ว +13

    Be sure to check out the next video, on "how to make a boss fight": th-cam.com/video/emkqM9I8sQU/w-d-xo.html

    • @watermaster5154
      @watermaster5154 ปีที่แล้ว

      Is there a way to include mouse key 3? (The one on the side of the mouse?) Would that potentially be like key pressed, or is that different? 🤔

    • @mrallexkhan6137
      @mrallexkhan6137 หลายเดือนก่อน +1

      My back and forth movement is not very smooth like you

  • @FlorianRival
    @FlorianRival 2 ปีที่แล้ว +39

    Amazing results, I love how it's easy to make new enemies and alter their behaviors. This gives a lot of ideas to build more video games 👀💡

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +6

      You can make so many different kinds of video game enemies just with the square movement extension, but of course you can do a lot more than just that with GDevelop. 👍
      -Wesley

    • @alexisortizlopez9152
      @alexisortizlopez9152 2 ปีที่แล้ว +2

      Wow, Florian Rival is here 🥳

    • @muhammetislambedirbeyoglu3135
      @muhammetislambedirbeyoglu3135 2 ปีที่แล้ว +3

      @@alexisortizlopez9152 For real man, isn't he the founder of gdevelop?

    • @alexisortizlopez9152
      @alexisortizlopez9152 2 ปีที่แล้ว +3

      @@muhammetislambedirbeyoglu3135 Yes, he is the creator of Gdevelop

    • @TL4546b
      @TL4546b 5 หลายเดือนก่อน

      2:47 Can you give a tutorial on this?

  • @VictrisGames
    @VictrisGames 2 ปีที่แล้ว +18

    Great stuff! I love that you include both basic enemy AI and more advanced strategies (which are still easy to do!).
    One request: Can you make the bees say "Ya like jazz?"

  • @Mine-laugh
    @Mine-laugh 25 วันที่ผ่านมา +1

    I don't know how but develop is really improving I've seen a video from 2015 and its interface is not that good but now it's very easy. really appreciate it

  • @LuniGDev
    @LuniGDev 2 ปีที่แล้ว +2

    Allright.
    The Boids Movement extension is by far my favorite. I've just discovered it!!
    It gave me the idea of making my main character approach the enemy to attack them.

  • @Hey_ImEvil
    @Hey_ImEvil 2 ปีที่แล้ว +5

    both boss and enemies tutorial, I am truly grateful for the gift of blessing (cuz I am having hard time with enemies AI 😅)

  • @davidmendezmartinez8053
    @davidmendezmartinez8053 2 ปีที่แล้ว +4

    As always this is really helpful for every level of game maker who's using GDevelop.
    Please add an else function, sometimes there's one condition that I don't find intended to do, as checking if the sprite is flip or not, that something that l can use the else case to avoid redundant conditions

  • @simpleserpent1337
    @simpleserpent1337 2 ปีที่แล้ว +2

    Damn thats useful! Thanks Wesley! It solves problem with overlapping enemies too (those fishes movements looks incredible). And also with distance chek you dont have to create enemy's vision hitbox manually. Oh it so much simpler with this information!

  • @EnriEllo
    @EnriEllo 2 ปีที่แล้ว +2

    Thanks a lot!
    This made me discover the Boids Movement and it just became so much easier to make things follow the player, not just enemies but power-ups as well!

  • @paulomello5145
    @paulomello5145 11 หลายเดือนก่อน +2

    Isso não é um tutorial e sim um vídeo de demonstração. É muito rápido e tem muitos detalhes ocultos. Seria muito interessante se fosse disponibilizado o Json do exemplo.🤔

  • @Atenvardo
    @Atenvardo 2 ปีที่แล้ว +2

    Love this video! I would love to see even more advanced ai or more weighted logic. Awesome video as usual

  • @alexandre_1883
    @alexandre_1883 2 ปีที่แล้ว +5

    The rectangular movement extension update changes so much things for enemy movements! Way easier to animate them

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +1

      It does make it a lot easier to make interesting enemies, traps, and even platforms. 👍
      -Wesley

  • @teacupanimates
    @teacupanimates 2 ปีที่แล้ว +1

    the fact that you made a primal aspid might spark the idea for someone to make a hornet from silksong and some hollowknight silksong enemies in gdevelop, maybe ill do it, but anyway, this vid is very useful as the idea for my first ever game is a cat with a gun who protects a cardboard box from slimes, except i didnt know how to make enemy slimes, thanks!

  • @Eveyevy
    @Eveyevy ปีที่แล้ว +1

    lol i needed this for a hollow knight inspired metroidvania and then you come in with a hollow knight reference

  • @JrKhan-nr7cj
    @JrKhan-nr7cj 2 ปีที่แล้ว +2

    Love the new extensions 🧡

  • @EduardoJReyes
    @EduardoJReyes 2 ปีที่แล้ว +2

    This is amazing! Thank you for the tutorial🙏

  • @jason1605
    @jason1605 8 หลายเดือนก่อน +1

    You should post this game on gdevelop build, so that newbies can see the entire coding and follow it easily.

  • @aurel3117
    @aurel3117 2 ปีที่แล้ว +2

    Why it's so easy to implement? => Because Wesley is a great teacher and GDevelop is easy to use :)

  • @louiixo
    @louiixo 3 หลายเดือนก่อน +1

    really amazing! just one issue, when enemy is turning it has to wait for one of them to do it then both enemies will turn. idk how to explain it but its only working for one enemy

  • @MarcosCodas
    @MarcosCodas 2 ปีที่แล้ว +2

    This is going the be really useful for the enemies I'm making for my endless vertical shooter.

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว

      Definitely, making enemies for a game like that wouldn't be hard at all with the square or ellipsis movement extensions. 👍
      -Wesley

  • @RareFilesMusic
    @RareFilesMusic 5 หลายเดือนก่อน +1

    Wish you'd show how to properly apply the PlatformerObject to an enemy and disable the controls, that would have saved me an hour of frustration

  • @brabes76
    @brabes76 2 ปีที่แล้ว +1

    Thsnk you for explaining how to use raycasting. Very nice. All the other explanantions were nicely done as well

    • @brabes76
      @brabes76 2 ปีที่แล้ว

      Can there be a video on how best set up conditions and actions that control animations based wether a button is held, pressed, or released.
      I often run into a problem where animations that don't finish playing, play in an instant, or dont play at all unless those actions are accompanied by a bunch of variable that are set as booliens.
      I feel like i am approaching this process the wrong way.

  • @akbarhlubis
    @akbarhlubis 2 ปีที่แล้ว +2

    This is Great Tutorial what we looking for, thanks!

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +1

      I hope this helps people create more interesting enemies for their games! 👍
      -Wesley

  • @geargamerjonezy
    @geargamerjonezy 2 ปีที่แล้ว +2

    Awesome video can you guys make a part two of the enemies like some beat em up enemies or rpg enemies

  • @ed5142
    @ed5142 3 วันที่ผ่านมา +1

    Gdevelop is so great

  • @corpuschaos
    @corpuschaos ปีที่แล้ว +2

    Hello..i try to use this inside my project but when theres 2 enemy at different places it will follow the 1st enemy movement, when 1 enemy attacking, other enemy when collide with wall didnt turn untill the 1st enemy start walk again. How i can fix this..?

    • @GDevelopApp
      @GDevelopApp  ปีที่แล้ว

      You need to use a "repeat for each instance" event type.
      Check out our video on the event sheet if you don't know how to add different types of events. 👍
      -Wesley

  • @ENSANElol
    @ENSANElol 2 ปีที่แล้ว +2

    Gdevelop needs an Android port it's definitely possible looking at max2d

  •  2 ปีที่แล้ว +3

    Great tutorial! It's very interesting to see simple behaviors combined to make complex enemies movement.

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +1

      That's one of the great things about GDevelop! Making enemies in your game with these extensions is super easy! 👍
      -Wesley

  • @imtired3018
    @imtired3018 4 หลายเดือนก่อน

    this is sick but how do you made the enemy designs and animations?

  • @lynxeditx
    @lynxeditx ปีที่แล้ว +2

    Thank you very much i am very happy you made my day thanks wesely

  • @Bamboopandaboy
    @Bamboopandaboy 2 หลายเดือนก่อน +1

    hi i was watching the bee attack stuff but what is the event i need to use for the bee to folow me?

  • @animalkingsraw
    @animalkingsraw 2 ปีที่แล้ว +1

    Good stuff! cute characters

  • @bclikesyou
    @bclikesyou ปีที่แล้ว +1

    Is the patrolling enemy turnaround example (wallCheck point inside of Wood) less costly on the engine than a "On collision" event?

    • @GDevelopApp
      @GDevelopApp  ปีที่แล้ว +1

      Collision events are very costly, better to avoid them where you can. 👍
      -Wesley

    • @bclikesyou
      @bclikesyou ปีที่แล้ว

      @@GDevelopApp Sorry I think you misunderstood my question. Is the turnaround example less costly than a collision event? or is it the same as a collision event?

  • @TrEeBLaZe
    @TrEeBLaZe 10 หลายเดือนก่อน

    Curious but why were the raycast conditions inverted? To make sure the Enemy only fires at the player when they're inside the distance of the raycast and not outside of it?

  • @muhammetislambedirbeyoglu3135
    @muhammetislambedirbeyoglu3135 2 ปีที่แล้ว +1

    Very useful video again tyvm :)

  • @lucasdesouza9674
    @lucasdesouza9674 2 ปีที่แล้ว +1

    Thank you! Love this videos

  • @ALisgoofy
    @ALisgoofy ปีที่แล้ว +1

    Hi, for the walking part in the patrolling enemy, it doesn't work. Please help.....

    • @GDevelopApp
      @GDevelopApp  ปีที่แล้ว +1

      It's best to reach out to the GDevelop Discord/Reddit/Forums and ask community members there. You'll be able to share screenshots of your work so they can see what's wrong. 👍
      -Wesley

  • @zenoviano1668
    @zenoviano1668 5 หลายเดือนก่อน

    how do you make so that when a player is within enemy range, it stopped walking?

  • @Nocz_GD
    @Nocz_GD 2 ปีที่แล้ว +1

    a great game engine

  • @qmerk2661
    @qmerk2661 2 ปีที่แล้ว +1

    im having a issue with everything being blurry when im using 16x16 stuff, and then i maximize the window. what am i doing wrong? i just want my game full screen

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +1

      The default settings aren't set up for pixel art games. So in your project manager tab, go to settings, and change the scale mode to "nearest" instead of "linear". And you can check the box for "round pixels when rendering", but that depends on the game and what exactly you're trying to achieve.
      If you've already added images to your game, before changing it to nearest, you'll need to go to resources and uncheck "smooth" image.
      We have a short on it on this channel that shows this issue.
      th-cam.com/video/w0Ll7FYhRbA/w-d-xo.html
      -Wesley

    • @qmerk2661
      @qmerk2661 2 ปีที่แล้ว +1

      @@GDevelopApp thank you! always appreciated wesley.

  • @misk-ivus2990
    @misk-ivus2990 หลายเดือนก่อน

    How would you make a stationary enemy always face the player?

  • @gandolphin96
    @gandolphin96 ปีที่แล้ว +1

    I tried to imitate the code for turning but it asks for me to use X and Y positions of the point. In your code it just says "wallcheck" ?

    • @GDevelopApp
      @GDevelopApp  ปีที่แล้ว

      I added a point on the object, in the sprite object's "point" section, and called that point "wallcheck". That's why I'm able to use it when looking for the X and Y of the point. 👍
      Hopefully that helps.
      -Wesley

    • @gandolphin96
      @gandolphin96 ปีที่แล้ว +1

      @@GDevelopApp I figured out later but it took me a long time 😅 thank you for the reply

  • @simonegnaccarini4238
    @simonegnaccarini4238 2 ปีที่แล้ว +1

    Hi, How to restore suggested videos in behavior window? I accidentally clicked on X to close the link to the videos. Sorry, another question (I hope it's not stupid), if trunks have PlatformerObject behavior like the main character, how to avoid to make it move together with tha main character? Because if I assign both the PlatformerObject behavior they move the same way.

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +1

      I'm not sure there is a way to restore them. 🤔
      But all of those videos are here on this channel, so hopefully you can find what you need here. 👍
      For the trunk enemy, there's a toggle in the platformer behavior for "default controls". Make sure to switch that off, so the arrow keys won't effect the trunk enemies. 👍
      -Wesley

    • @simonegnaccarini4238
      @simonegnaccarini4238 2 ปีที่แล้ว +1

      @@GDevelopApp Oh sure! The default controls! Thanks! About the videos I tried to delete all preferences in MacOS but nothing. Maybe reinstalling the app will work again. Well, it's not a big problem, as you mentioned all videos are here in the channel.

  • @ipostscienceandstuff
    @ipostscienceandstuff 5 หลายเดือนก่อน

    how did you make the orb(?) follow the character?

  • @galalviat
    @galalviat 2 ปีที่แล้ว +1

    Great tutorial!!

  • @juniorartist7271
    @juniorartist7271 ปีที่แล้ว +1

    Was a very helpful tutorial... But there's this problem with the patrolling enemies that when giving them the platformer behaviour they too act like the player whenever pressing the left, right or jump keys...
    Is it possible to make the enemies independent of the platformer keys??

    • @GDevelopApp
      @GDevelopApp  ปีที่แล้ว +2

      You can. In their behavior, turn off the toggle for default controls. So your keys don't control them anymore. 👍
      -Wesley

  • @simonebaraldi9440
    @simonebaraldi9440 8 หลายเดือนก่อน

    Nice video, but i would like to make a turn based game with a grid, and i cant figure out how to program the enemy movement

  • @ncplushshow5078
    @ncplushshow5078 ปีที่แล้ว +1

    How do you make enemies that patrol in a top-down game

    • @GDevelopApp
      @GDevelopApp  ปีที่แล้ว +1

      The mechanics is similar to the enemy movement explained in this video: th-cam.com/video/kEsOhWbvdHc/w-d-xo.html

  • @calvinisfunny4228
    @calvinisfunny4228 ปีที่แล้ว +1

    How do I do the “repeat for all instances” condition?

    • @GDevelopApp
      @GDevelopApp  ปีที่แล้ว +1

      Right click on an event and in the drop down menu there's an option to create a few different kinds of events. 👍
      There's a video here on the channel that goes over events and how they work, it's short like all of our videos. 👍
      -Wesley

    • @calvinisfunny4228
      @calvinisfunny4228 ปีที่แล้ว +1

      Thanks Gdevelop!

  • @mrperson9877
    @mrperson9877 2 ปีที่แล้ว +1

    I tried to do the patrolling enemies, and when I add the platformer behavior, it made the enemy move when the character moved. Am I doing something wrong?

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +1

      Sorry, I didn't mention it in the video, but you need to disable the default controls in the behavior for the enemy. Just a check box in the behavior when you open up the object. 👍
      -Wesley

    • @mrperson9877
      @mrperson9877 2 ปีที่แล้ว +1

      @@GDevelopApp Thanks!

  • @vkazukiv
    @vkazukiv 2 ปีที่แล้ว +1

    hey, I think it would be cool to explain the topic of spatial sound

  • @dhishoomdhishoom8574
    @dhishoomdhishoom8574 ปีที่แล้ว +1

    not able to work out patroling eneies

  • @adi1161
    @adi1161 ปีที่แล้ว +1

    is it possible to have the ability to send back bullets with melee attack, like attacking at the right time and it goes back to the enemy who shot it at you?

    • @GDevelopApp
      @GDevelopApp  ปีที่แล้ว

      It would be pretty straight forward to reflect them away from the play, do the melee collision trick from the melee video and then stop forces and apply a new force to the bullet based on the angle between the bullet and the player.
      To reflect a bullet back at the specific enemy that shot it would take more work. You'd probably have to use the "link" action to link the bullet to the enemy that fired it, and then when you reflect the bullet, use the "take into account linked objects" condition so you can can pick the original enemy that fired that bullet and use that to get the position to reflect the bullet toward.
      Definitely possible, just a little tricky. Hope that helps. 👍
      -Wesley

    • @adi1161
      @adi1161 ปีที่แล้ว

      @@GDevelopApp there is a problem i end up facing, if the enemy shoots one more arrow, the forces also get applied to it

    • @adi1161
      @adi1161 ปีที่แล้ว

      i tried using pick the nearest and for now it works perfectly but sometimes i can see the bugs

    • @GDevelopApp
      @GDevelopApp  ปีที่แล้ว

      @@adi1161 I would try changing the order the linked object condition is in among that events conditions. 🤔
      But for some extra security, you could try changing the "state" of the object. Either changing it's animation or a variable inside the object and use that state in the conditions to make sure the melee attack only picks objects that just had their state changed.
      Hope that helps. 👍
      -Wesley

    • @adi1161
      @adi1161 ปีที่แล้ว +1

      @@GDevelopApp I love how the community tries helping everyone like this is a problem not everyone would face, but the creator still decided to take their time to help, the best community istg. so much love to 4ian and the other creators along with obviously helperwesley. also i managed to make it work, today i'll post about it on the reddit

  • @keithb8329
    @keithb8329 ปีที่แล้ว

    How do i learn the g develop software. I need a complete guid on all the events and what they do and mean

  • @AdamEssa-m7n
    @AdamEssa-m7n 8 หลายเดือนก่อน

    I can't find Rectangular Movement Extension

  • @carrimccarthy9984
    @carrimccarthy9984 ปีที่แล้ว

    Hi, can you help me get my enemy2 to shoot in the Space Shooter Tutorial. I am missing something from the tutorial and it is making me crazy! We have followed the tutorial and not sure why we have no shooting.

  • @101touchapps
    @101touchapps ปีที่แล้ว

    hello Wesley. Is there a debug mode to visually show the raycast?

  • @Sectoidzor
    @Sectoidzor หลายเดือนก่อน

    If I want the enemy to wait a while between shots when I am in range, how can I set that up using this code? Cause now it toggles between attack and idle really fast.

    • @GDevelopApp
      @GDevelopApp  หลายเดือนก่อน

      In the case with the walking stumps, I used the walk animation as one of the conditions for shooting, and the walk animation only plays when the idle animation is finished. So while the enemy is idle, it shouldn't try to shoot at the player.
      If everything is set up right, you can increase the length of your idle animation to make the time between attacks longer.
      Hope that helps.
      -Wesley

  • @animefanorlover1304
    @animefanorlover1304 2 ปีที่แล้ว

    Why does my trunk just slide instead of instantly turning

  • @mrallexkhan6137
    @mrallexkhan6137 หลายเดือนก่อน +1

    My back and forth movement is not very smooth like you

  • @zen-flakez
    @zen-flakez 6 หลายเดือนก่อน

    what behavior do you need to simulate the rigjt/left press for the tree trunk?

    • @GDevelopApp
      @GDevelopApp  6 หลายเดือนก่อน

      The platformer behavior. Just be sure to uncheck the "default controls" toggle in the behavior for the enemy, so the player isn't controlling them with the arrow keys. 👍
      -Wesley

  • @SHEHAN1217
    @SHEHAN1217 2 ปีที่แล้ว +1

    Great video 💙

  • @InstazomeASMR
    @InstazomeASMR ปีที่แล้ว

    how did you get the " repeat for each instance of trunk"?

  • @TrueMelonLord
    @TrueMelonLord ปีที่แล้ว

    what are the red arrows near some of the code

  • @anassanbati-t3f
    @anassanbati-t3f หลายเดือนก่อน

    Can you make a video explaining how to make a chain? Rope

  • @prisma3dofficial
    @prisma3dofficial ปีที่แล้ว +1

    I am facing problem when I add Platformer behavior in my enemy it moves with my character please help me.

    • @dustboii
      @dustboii ปีที่แล้ว

      Uncheck default controls I think

    • @prisma3dofficial
      @prisma3dofficial ปีที่แล้ว

      How to do that?@@dustboii

    • @dustboii
      @dustboii ปีที่แล้ว

      @@prisma3dofficial Double click your character go the behaviors tab. Towards the top uncheck default controls.
      done easy peasy.

  • @esdeepee6238
    @esdeepee6238 ปีที่แล้ว

    Can you tell me how to do that orb thing following player? I understand that its boid movements, but mine doesn't work like yours. it alwas goes to the center

  • @TrueMelonLord
    @TrueMelonLord ปีที่แล้ว +1

    what is the game called

  • @spider-hog6938
    @spider-hog6938 3 หลายเดือนก่อน +1

    Hello I hace a problem and idk if you can help me well the problem is that i created an enemy and all the code (also I used the melee combat code ) buuuut when i want to add more enemys like in the video something bad happend it is like all the enemy's are trying to copy the first enemy and it is not the idea and idk how to repair it can someone help me

    • @MrSnakexxxx
      @MrSnakexxxx หลายเดือนก่อน

      I had a similar issue with projectiles. I think it's because they all listen to the same code basically. Did you fix it?

    • @spider-hog6938
      @spider-hog6938 หลายเดือนก่อน

      @@MrSnakexxxx actually no. Ten Only way that I find is copying all the code and Duplicating the Object.

  • @theNaKT
    @theNaKT 2 ปีที่แล้ว +1

    Great video!
    Where did you get the cute trunks enemies btw?
    I love them

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +1

      Link to the artist's itchio page is in the bottom of the description! 👍
      Pixel Frog. Some of their art is already in engine, but they have another pack with enemies that haven't been uploaded yet.
      -Wesley

  • @Wali69
    @Wali69 2 ปีที่แล้ว +1

    Hey Wesley! the enemy is shooting but it does not stop (Like in Idle). I think it is because of idle animation can you tell me how to setup idle animation please ? Thanks
    ( In Short My Question is how to make the enemy stop when he is shooting ? )

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว

      Try watching the changing animations video on this channel, but if you're still having trouble, open the game example "conviction of gundude". It's enemies use a similar system, so you can open that up and see how they work compared to yours. 👍
      -Wesley

    • @graphicnostalgiastudios
      @graphicnostalgiastudios ปีที่แล้ว

      @@GDevelopApp the example mentioned is for a top down game and some of the code does not match the the example in the video. I have followed your instruction exactly and my enemy AI does not want to move out of idle or shoot at all. One more thing that you forgot to mention in your tutorial, that the wall collision should be a point detection collision in the condition. I apricate the tutorial and it has helped me with my game but if you could help me out with my problem. Big fan Wesley keep up the awesome work.

  • @heinrichsmit2
    @heinrichsmit2 ปีที่แล้ว

    Is there any way to make some randomness in what the enemy does?

  • @BadDynaPro
    @BadDynaPro ปีที่แล้ว

    Great tutorial! But how do you make that blue orb follow you?

    • @danlap5697
      @danlap5697 ปีที่แล้ว

      it might be with the shadow clone extension

  • @erhan1
    @erhan1 ปีที่แล้ว

    Why no one makes videos about websockets and database such as mongodb or sqlite

  • @ThatGuyCream
    @ThatGuyCream 2 ปีที่แล้ว

    Games that I save in the GDevelop Folder randomly disappears and my work will be gone. This has happened two times and the second time I had a copy of it in another folder. Phew! My assets will still be stored tho.
    Other than that GDevelop is amazing and have been a really great tool for me!

  • @MarioCola
    @MarioCola ปีที่แล้ว

    There is a behaviour that links sprite flipping etc with the platform character behaviour so you don't have to use points or other events

  • @FGLxrdsznz
    @FGLxrdsznz 3 หลายเดือนก่อน

    hello i cant get the thwomp to drop down my coe looks the same as yours

  • @jacknours1
    @jacknours1 ปีที่แล้ว

    but how add life bar to the enemy and die in the bullet

  • @Smash551
    @Smash551 ปีที่แล้ว +1

    Great Video! But.... I Am Having A Problem . As For The Player I Have set The Default Controls On and Thus It Is Interfering With The Patrolling Enemies Default Controls. Can Someone Help Me?

    • @GDevelopApp
      @GDevelopApp  ปีที่แล้ว +1

      If you open the enemy object, and go to their platformer behavior, you can uncheck the check box for their default controls. That'll stop them from being controlled by your arrow inputs. 👍
      -Wesley

    • @Smash551
      @Smash551 ปีที่แล้ว

      @@GDevelopApp Thank You :)

    • @Smash551
      @Smash551 ปีที่แล้ว +1

      It Worked 🥳

  • @Kyogre4X
    @Kyogre4X ปีที่แล้ว

    What about enemies that don't move? like piranha plants

    • @potato.09804
      @potato.09804 7 หลายเดือนก่อน

      just make player die when touched

  • @Heskyo_15
    @Heskyo_15 2 ปีที่แล้ว +1

    good video 👍, but could you make a tutorial on how object collisions work, how in the platform object, or the behavior of physics 2, I've been having this problem for months, that the cube does not tilt with the triangle as I need, if you can help me I would be very grateful

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +1

      To create custom collision masks for a physics object, you need to do it from the physics behavior.
      th-cam.com/video/cPwUh1669Gs/w-d-xo.html
      -Wesley

  • @Amalgart
    @Amalgart 11 หลายเดือนก่อน

    My code is exactly the same as seen in the video, but I have 2 issues : Passive patrolling works until the enemy detects the player it does the attack animation but no projectile is seen and the enemy just gets stuck in idle position and doesn"t move anymore

    • @FGLxrdsznz
      @FGLxrdsznz 3 หลายเดือนก่อน

      im having the same issue you ever get it to work

  • @JimmyMitchell-i3v
    @JimmyMitchell-i3v 9 หลายเดือนก่อน

    hi, I'm trying to make a patrolling enemy from this tutorial but its not working, for some reason my enemy is not moving has anyone else had any similar issues and if so how did they fix it?

  • @timepasstale
    @timepasstale 6 หลายเดือนก่อน

    Can someone tell me how he set behavior because my char is moving only in clock wise

  • @DaHobosSon
    @DaHobosSon 3 หลายเดือนก่อน

    My walking enemies turn at the same time is there a way to fix

    • @GDevelopApp
      @GDevelopApp  3 หลายเดือนก่อน

      The "for each object" event type, so it checks each enemy object individually instead of just checking if the condition is true. 👍
      -Wesley

  • @PlantVsZiebom
    @PlantVsZiebom 6 หลายเดือนก่อน

    Could anyone tell me please, Why the Bee Attacking is not work?

  • @funkotex2882
    @funkotex2882 2 ปีที่แล้ว

    Uhh I Can't Find The Simulate pressing Right thing

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว

      Does your object have the platformer behavior?
      If it does, then try searching using the word "platformer" instead of "simulate".
      -Wesley

  • @tuhinbiswas98
    @tuhinbiswas98 ปีที่แล้ว

    1 rock working then 2 not how to fix it ???

  • @jakedilbeck7107
    @jakedilbeck7107 2 ปีที่แล้ว

    I don’t get it at all, im so confused, all I want is to flip the enemy using that point thing but I don’t know what things to use to do that

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +1

      Have you watched the in depth sprite object video?
      And watching the 2 expressions videos on the channel should help with knowing how to use the x/y of a point. 👍
      -Wesley

    • @jakedilbeck7107
      @jakedilbeck7107 2 ปีที่แล้ว

      @@GDevelopApp ok I’ll give them a watch thanks man

    • @jakedilbeck7107
      @jakedilbeck7107 2 ปีที่แล้ว

      @@GDevelopApp I do have one question if you don’t mind, what behavior allows for simulate pressing.😅

  • @tuhinbiswas98
    @tuhinbiswas98 ปีที่แล้ว

    can you give me GDevelop file for this??? i cant see full code i cant make my Flying Enemies attack

  • @CyberTechGames.
    @CyberTechGames. 2 ปีที่แล้ว +1

    Thx

  • @octo_dev
    @octo_dev 2 ปีที่แล้ว +2

    Pls gdevelop can you make a tutorial how to make a the binding of isaac like game.

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว

      What part of the binding of isaac do you think would be most useful to know? Since the game is huge, there's of course too much to cover in a single video. 😅
      -Wesley

  • @TrueMelonLord
    @TrueMelonLord ปีที่แล้ว

    what is the repeat for each intance of bee at 6:03

    • @GDevelopApp
      @GDevelopApp  ปีที่แล้ว

      It's one of the event types, be sure to watch the events video in the intro tutorial playlist on this channel. 👍
      -Wesley

  • @CrayonQueen
    @CrayonQueen 2 ปีที่แล้ว

    Wonderful tutorial! Strange though, I practically copy/pasted the bee coding into my own game (I also had a bee enemy so it seemed to fit!) Everything besides the attacking animation. And for some reason, as the Player gets far enough away to turn the Bee idle again, it teleports around the screen somehow? Very strange, I can't figure it out!
    I suspect I might have to go into the forums for this one.

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว

      It teleports when you get beyond it's range? 😕
      That's definitely strange, I can't think of a reason that would happen off the top of my head. Hopefully when you share your events on the forums someone will see why. 🤔
      -Wesley

    • @CrayonQueen
      @CrayonQueen 2 ปีที่แล้ว +1

      @@GDevelopApp Right?? I thought it was super weird too! I've been working this program for a good 1 1/2 years now, and feel like I have at least a strong (If not fairly basic) understanding of it. Once I get my current request finished on the 'How To' part of the forums, I'll start a new thread and ask for help for my next bit.

    • @CrayonQueen
      @CrayonQueen 2 ปีที่แล้ว

      @@GDevelopApp Mini update in case you're interested! It looks like what's going on, is when I get far enough to restart the 'Idle' animation, it teleports back to it's 'starting point' on the map, and goes back to doing ellipses. For the life of me I have no clue why that would happen, but at least I have an idea of what is happening at the very least.

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว

      @@CrayonQueen Oh wait, is it the old version of the ellipsis behavior?
      The new version that is coming out soon works with other movements, like forces, the old one might not be able to. 🤔
      github.com/GDevelopApp/GDevelop-extensions/pull/591
      Try using the rectangular movement extension in place of the ellipsis, the new version of that extension(With tweens) has been released already and works with other movements.
      -Wesley

    • @CrayonQueen
      @CrayonQueen 2 ปีที่แล้ว +1

      @@GDevelopApp Ooooh, I had assumed the new version of ellipsis was already out, yes I must be using the old one currently. I'm excited when the new version is completely out, but yes, maybe until then I'll just use the rectangular movement! Thanks for chatting with me, I *knew* it couldn't have been something I programmed, it felt too off!

  • @lawrenceorolobo
    @lawrenceorolobo 2 ปีที่แล้ว

    Looks complicated, please could gdevelop team just turn them into behaviors...all of the properties.

  • @TL4546b
    @TL4546b 5 หลายเดือนก่อน

    2:51 I need help making that bit

  • @bhushanahire2737
    @bhushanahire2737 2 ปีที่แล้ว

    make a video for top down RPG

  • @некого-г8ъ
    @некого-г8ъ 2 ปีที่แล้ว

    the enemy in patrolling enemy doesn`t walk .

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +1

      What do you mean?
      -Wesley

    • @некого-г8ъ
      @некого-г8ъ 2 ปีที่แล้ว

      Actually I don't know which kind of behavior used, cos I tried top-down, rectangular, and platform. It's didn't worked with me.

    • @GDevelopApp
      @GDevelopApp  2 ปีที่แล้ว +1

      @@некого-г8ъ The platformer behavior is the one you need. 👍
      -Wesley

  • @pnvgordinho
    @pnvgordinho ปีที่แล้ว +1

    WOW.

  • @ALTAÏR3-z4e
    @ALTAÏR3-z4e ปีที่แล้ว

    Slammer not work