How to Create Excellent PLATFORMER ENEMIES in Godot 4

Поділитися
Вставка
  • Опубліковано 25 вер 2024

КОМЕНТАРІ • 39

  • @planktime
    @planktime 4 місяці тому +5

    Hello! I once dated a girl who was a "Toxic Frog". Keep up the good work friend.

    • @dev-worm
      @dev-worm  4 місяці тому +1

      oh my! thanks!

  • @Fallenbear
    @Fallenbear 3 місяці тому +1

    How would I go about making the random movement in a top down 2d game? The left and right work but I don't know how to add on the up and down movement.

  • @ernielpilapil
    @ernielpilapil 14 днів тому

    you can also do await anim_sprite.animation_finish() on 17:45

  • @brandonjacksoon
    @brandonjacksoon 4 місяці тому +1

    Really good explain tutorial series! Thanks!

    • @dev-worm
      @dev-worm  4 місяці тому

      thank you, glad it helped!

  • @sato2500
    @sato2500 4 місяці тому +1

    Hi, thank you for your tutorials, they are really helpful!!
    Can I ask to make a platformer advanced ai tutorial(enemy jump from heights)? I cant find anything for godot 4
    Thank you again❤💕

    • @dev-worm
      @dev-worm  4 місяці тому

      i will look into it!! thanks!

  • @Memose2
    @Memose2 4 місяці тому +1

    Looks like new series is going on ❤ 😮

  • @sharnamshah6610
    @sharnamshah6610 2 місяці тому

    in this after taking damage it isn't ever turned back to false after turning it true, so how does the frog come back to you? as shouldn't it always move back as taking damage
    would always be triggered?

  • @crazy-zai3613
    @crazy-zai3613 3 місяці тому +1

    my damage continous but animation stops in the frog

  • @preacce1464
    @preacce1464 19 днів тому

    Hey great videos!! but I have a problem, for some reason my enemy collision is not working as intented, the enemy follows the player as expect it, it goes right and touchs the player but when it goes left to follow him, it stops before touching him, it like it detects the player before touching it I dont know why.. Please help!

    • @dev-worm
      @dev-worm  17 днів тому

      it sounds like the enemies hitboxs may be adjusted wrong, but im not sure sense I cant see your project!! are you getting any sort of message in the debugger?

    • @preacce1464
      @preacce1464 17 днів тому

      @@dev-worm theres no problem with the hit box :c, I think is some calcularon in the frog chase code 😭

  • @brandonjacksoon
    @brandonjacksoon 4 місяці тому +1

    Thanks DevWorm!

    • @dev-worm
      @dev-worm  4 місяці тому

      thank you! of course!

  • @foorman2837
    @foorman2837 4 місяці тому

    Right on time with those pesky animation handles😂 doing a continuous swing with animatedsprite 2d proved to be nigh impossible for me😅

  • @Derfaverse
    @Derfaverse Місяць тому

    Great video. Thank you

    • @dev-worm
      @dev-worm  Місяць тому

      thank you so much!! glad it helped!!

  • @Cryptobird_channel
    @Cryptobird_channel 4 місяці тому +1

    Thanks🌹

    • @dev-worm
      @dev-worm  4 місяці тому

      thanks!! of course!

  • @buzzbuzz20xx
    @buzzbuzz20xx 4 місяці тому

    nice job as always !!!

    • @dev-worm
      @dev-worm  4 місяці тому

      thank you so much!

  • @panpan6014
    @panpan6014 3 місяці тому

    Hey everyone ! nice tutorial ! thanks a lot for this new serie !! But, i'm kinda stuck with the randomize movement, when i launch the game, my enemy is not moving at all ! any idea ?

    • @panpan6014
      @panpan6014 3 місяці тому +1

      Problem solve ! just didn't turn on the "autostart" on timer, and forgot an "f" on shuffle... so silly...

    • @dev-worm
      @dev-worm  3 місяці тому

      haha those little mistakes are so annoying!! glad you got it all figured out!! goodwork!

    • @dev-worm
      @dev-worm  3 місяці тому

      haha so happy to hear that!

    • @preacce1464
      @preacce1464 20 днів тому

      @@panpan6014 Dude u saved me!!!

  • @dacianwalker2820
    @dacianwalker2820 4 місяці тому

    Hey amazing video as always! I love watching how you explain things, helps me a lot. Could you possibly make a follow up on the inventory UI, and how to access those items? Thanks!

    • @dev-worm
      @dev-worm  4 місяці тому

      thank you so much!! Ill will look into it now!

  • @lutiyoffnik8661
    @lutiyoffnik8661 4 місяці тому

    bro, can you do rts?

  • @ruuben816
    @ruuben816 3 місяці тому

    Love the tutorials:) , but I had one problem, I did a print(dir) and it gives only (0, 0). So my randomized movement does not work at all. Does anyone know if I could be doing something wrong?
    My choose func and stuff is -
    func _on_direction_timer_timeout():
    $DirectionTimer.wait_time = choose([1.5,2.0,2.5])
    if !is_chasing:
    dir = choose([Vector2.RIGHT, Vector2.LEFT])
    velocity.x = 0
    func choose(array):
    array.shuffle()
    return array.front()
    but it doesn't work for some reason (?).
    My Godot vers is 4.2.2
    EDIT: I did it again and now it works, idk xd

    • @dev-worm
      @dev-worm  3 місяці тому

      glad to hear the edited line!! was it just a bug or something??

    • @lakshayanand2711
      @lakshayanand2711 3 місяці тому

      i am also facing same problem

  • @jasonwilliams8730
    @jasonwilliams8730 4 місяці тому

    👍

  • @foorman2837
    @foorman2837 4 місяці тому

    I guess third?😂

  • @rhezaalemo
    @rhezaalemo 4 місяці тому

    First

  • @KSVAQ
    @KSVAQ 3 місяці тому

    I had a problem with player chase chapter it says file not found for global Help!! Anyone

    • @dev-worm
      @dev-worm  2 місяці тому +1

      have you created a global script?? we created one earlier in this series!! but basically just create a script and call it "global.gd" then go into project settings > autoloads and autoload that script!!