Smarter Enemies

Поділитися
Вставка
  • Опубліковано 18 січ 2022
  • A more advanced way to make your enemies follow your sprite in Makecode Arcade, in the hopes of making them just a little bit scarier.
    Extension:
    jwunderl/arcade-tilemap-a-star

КОМЕНТАРІ • 10

  • @s돌멩이
    @s돌멩이 3 місяці тому

    감사합니다❤

  • @aprex24
    @aprex24 Рік тому

    helped a lot thanks!

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

    Thanks my game is due tmr

  • @DoinGoodFreak
    @DoinGoodFreak 11 місяців тому

    thanks i will sub this helped me so much!

  • @vitinhogames3207
    @vitinhogames3207 Рік тому +1

    Thx

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

    what if i need them to jump?

  • @Lilvince3389
    @Lilvince3389 9 місяців тому

    Is there a way to make it so the AI only works if it's single player?

    • @ashburtonlibrary
      @ashburtonlibrary  9 місяців тому

      HI there! If you would like the enemy to stop moving when another player joins:
      Make a new variable called "multiplayer"
      Place an "if (multiplayer) is true" around your enemy following code.
      From the "controller" tab, get "on player 2 connected"
      place a "set multiplayer to true" inside that
      place a "set multiplayer to false" in the "on start" block
      You can then use the same code to turn it back on with the "on player 2 disconnected" block.
      Hope this helps!

    • @Lilvince3389
      @Lilvince3389 9 місяців тому

      @ashburtonlibrary don't worry I figured it out awhile ago but thanks for trying