Simple top down game in Godot in 10 minutes | Tutorial

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

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

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

    the goat with a tutorial

  • @Jackson-dl8rt
    @Jackson-dl8rt หลายเดือนก่อน +1

    Nice tutorial as always!

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

    How to make the enemies avoid the player

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

      To get the enemy to move away from the player, when we set the enemy’s velocity, just change it to “* -SPEED”. Changing it to negative reverses the direction.
      Then you’ll want to do something that stops them from running off screen instantly. One way to do this is to check the distance to the player in the enemy script. If the player is far away, set velocity to zero. It might even be fun to have them move slowly towards the player.

  • @Jackson-dl8rt
    @Jackson-dl8rt หลายเดือนก่อน +1

    Nice tutorial as always!