Learn JavaScript Interactively by Coding an RPG Game - Tutorial

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024
  • Learn JavaScript in this tutorial by coding an RPG game line-by-line. I'll guide you every step of the way and you don't need to have any JavaScript experience to follow along.
    ⭐️ Code ⭐️
    JavaScript RPG Starter: replit.com/@Be...
    JavaScript RPG Complete: replit.com/@Be...

Комментарии • 24

  • @BeauCarnes
    @BeauCarnes  Год назад +3

    Now learn Python on my other channel: ruclips.net/video/aryte85bt_M/видео.html

  • @stoyanatanasov3749
    @stoyanatanasov3749 7 дней назад

    Pls redo the audio from 8:20 till 9:10. For a person that learns the concept for a first time, it feels like waterboarding. All an all a very nice Tutorial thanks for putting the work and having the good approach and the idea of a RPG game, it is a such a natural way for gamers to understand.

  • @user-qt1ne5hf1c
    @user-qt1ne5hf1c Год назад +2

    Great tutorial on several JavaScript fundamentals. Mechanics will need some tweaking though. With the current hit calculation, high XP vs. low level monsters will earn you negative damage and add to your health lol. I understand this is about learning/practicing JS and not game mechanics but it's still pretty funny to see it happen :)

  • @g.fweber
    @g.fweber Год назад +3

    Hey! This was great. I had to make a project for the course I'm taking and this helped tremendously.
    Big thanks!

  • @badwombat
    @badwombat Год назад +1

    Well done!!

  • @royfrias4379
    @royfrias4379 6 месяцев назад +1

    Hey Beau! Could you had used the addEventListener instead of the onclick? like for example
    button.addEventListener('click', () =>{}). ??

  • @rickythomas8504
    @rickythomas8504 6 месяцев назад +1

    followed the tutorial meticulously even going over the completed game code and cant seem to figure out why my buttons arent redirecting me to the different locations. does anyone have any insight?

    • @BeauCarnes
      @BeauCarnes  6 месяцев назад

      I may be able to help you if you send your code. beau@hey.com

  • @DharTVGameVideos
    @DharTVGameVideos 7 месяцев назад

    Can You Do a Tutorial of Shop System For RPG

  • @henzelquitaneg170
    @henzelquitaneg170 Год назад

    Hi there is a confusion between monster damage and your damage
    if (monsterHit()) {
    health -= getMonsterAttackValue(monsters[fighting].level);
    } else {
    text.innerText += "
    You miss.";
    }
    are you referring that you will miss or the monster will miss?

  • @qorrri
    @qorrri 7 месяцев назад

    Hello i completed this on freecodecamp course,is it possible to add 2d graphics visuals,or to use this later on for an rpg game with graphics etc,it is my first ever code course so apologies if i don’t make sense

  • @LandersWorkshop
    @LandersWorkshop 7 месяцев назад

    Can this work with a turn-based Javascript game?

  • @CharaYela
    @CharaYela Год назад

    I am real interested, how is the program called?
    Because i doubt the program is "Java script"

  • @liban2
    @liban2 Год назад

    Hi! just completed the python course for beginners on freeCodeCamp. What is the next step? how can i further improve my python after doing this course??

    • @visoredw7656
      @visoredw7656 Год назад

      Learn to make your own code with it revisit it and slowly move to intermediate topics

  • @rouilliew
    @rouilliew 8 месяцев назад

    I can't seem to figure out step 58. Even Chatgpt's answer isn't accepted! Can't find anybody online who has the answer though I'm still looking.

    • @noctisocculta4820
      @noctisocculta4820 8 месяцев назад

      What time is that in the video, and what are you trying to do?

    • @qorrri
      @qorrri 7 месяцев назад

      ruclips.net/video/PQk1SG1TZXo/видео.htmlsi=oJT8PpcHpWOk1nqw

  • @Ceszilla
    @Ceszilla 10 месяцев назад

    Why is this dude always in the some random place lol

  • @alunenutz6480
    @alunenutz6480 Год назад +1

    // I have a problem, my innerText doesnt change everywhere
    function goStore () {
    button1.innerText ="this button text changes when I run it";
    text.innerText ="But this text doesn't change the one from index.html";
    }

    • @alunenutz6480
      @alunenutz6480 Год назад

      Also function goTown desn't work either 🤷‍♂️

    • @Atebitbacon
      @Atebitbacon Год назад +1

      ​@@alunenutz6480
      check to see if your goTown function is above the goStore function. it wont work if its at the bottom.
      function goTown(){
      update(locations[0]);
      }
      function goStore(){
      update(locations[1]);
      }
      function goCave() {
      update(locations[2]);
      }
      My Go to cave button isnt working because it cant read some property that is undefined. i have no clue what i left undefined though.