Slider in App Lab on Code.org

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 3

  • @cyancat8633
    @cyancat8633 2 роки тому +2

    Okay this is off topic but can you show me i video or something about a enemy damaging a player. All of your videos are great 👍.

    • @computerscienceandcoding7741
      @computerscienceandcoding7741  2 роки тому

      It would be the same as a player damaging an enemy. You’ll probably have an if that says:
      If enemy is touching player
      Then health = health -1.
      Inside the if, and before you subtract from health, you’ll want to move the enemy to a new location so they don’t keep touching over and over again. Hope that helps

    • @cyancat8633
      @cyancat8633 2 роки тому

      @@computerscienceandcoding7741 thanks it helps but I'm talking about a enemy in a side scrolling platform. But this still helps. Another off topic question what is web site lab? Like brutal mayhem in one of the game lab tabs